Re: creating a UITableView on an "Utility application" project
Re: creating a UITableView on an "Utility application" project
- Subject: Re: creating a UITableView on an "Utility application" project
- From: Fritz Anderson <email@hidden>
- Date: Sun, 16 May 2010 22:04:52 -0500
On 16 May 2010, at 5:06 PM, Alejandro Aragón wrote:
> In the interface builder, I assigned the DetailViewController class to the
> view. Now, in the FlipsideViewController class, I added the function that is
> supposed to handle the action when the user clicks on a row:
You should have set the class of _File's Owner_ to DetailViewController, not the view, and linked the controller's "view" outlet to the view.
> When I run the application, nothing happens when the user clicks on the row
> of a table view. Can someone tell me what I am missing here?
(A minor annoyance: Users of iPhone OS applications can't click: They don't have mice. They touch or tap.)
What do you see as you step from your debugger breakpoints at tableView:didSelectRowAtIndexPath: and -[DetailViewController initWithNibName:bundle:]? Did any messages appear on the Debugger Console that might indicate that UIKit found an error? Are all the pointers you are assuming are not nil, in fact not nil?
— F
_______________________________________________
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