Re: UITableView lazy instantiation question
Re: UITableView lazy instantiation question
- Subject: Re: UITableView lazy instantiation question
- From: Alex Zavatone <email@hidden>
- Date: Fri, 23 Mar 2012 11:49:43 -0400
On Mar 23, 2012, at 11:33 AM, Fritz Anderson wrote:
> On 23 Mar 2012, at 10:02 AM, Alex Zavatone wrote:
>
>> I'm expecting that I should look for a UITableView alloc somewhere, but well, that's obviously not the case. Though the TVC is being created in the AppDelegate, I'm expecting to see a visible declaration of the UITableView, and am not clear how that's happening through lazy instantiation (in Hegarty's example) or in some of the sample files that Apple provides that don't use xibs or storyboards.
>
> If you're using UITableViewController, it creates its own UITableView, filling the view-controller's space (i.e., net of navigation and tab views), and connects its data-source and delegate outlets.
Yeah, this is odd. It didn't until I alloced the UITableView myself. Made for a very long night last night trying to figure out why that was the case.
- Alex Zavatone
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden