Thank you Fritz. That actually brought a lot of clarity to the subject. I was not looking for anything concrete just a proper way to view the necessary actions to take.
And thank you Luther I'll look over that link again. On Sat, Apr 17, 2010 at 2:02 PM, Fritz Anderson <fri...@manoverboard.org> wrote: > On 17 Apr 2010, at 12:35 PM, colo wrote: > >> I have been hacking at the code from the iphone cookbook trying to get >> a UIScrollView to fetch Core Data sql. >> I checked the archives first and did not find anything. I know that >> tableviews work hand in hand with Core Data. >> Every tutorial I can find verifies this. > > Could you explain precisely what user-visible behavior you're looking to > provide? Your question does not make sense at the level you state it. > > A UIScrollView allows you to scroll and zoom the UIViews it contains. It has > nothing to do with the data that might be presented in it. It knows nothing > about data; it's just a view. It can no more "fetch" data than a plastic > frame for photographs can take pictures. > > Perhaps you mean that you have data in a Core Data store — a model — that you > want to display in a UIView (or UIView subclass, or a UIView containing other > UIViews to display parts of the data) — a view. You will need an intermediary > object — a controller — that interprets the model and sets the view to > display it. If you think of it that way, using a UIScrollView will be a > minor, and probably obvious, detail. > > Review the "MVC" (model-view-controller) design pattern in the Apple > documentation and in the tutorials you're reading until you understand it > very well. You won't get anywhere just by following cookbooks. > > — F > > _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com