Re: Getting Segue from TableView
Re: Getting Segue from TableView
- Subject: Re: Getting Segue from TableView
- From: "Gerriet M. Denkmann" <email@hidden>
- Date: Fri, 08 Aug 2014 09:55:01 +0700
On 8 Aug 2014, at 04:03, Mike Abdullah <email@hidden> wrote:
>
> On 7 Aug 2014, at 15:06, Gerriet M. Denkmann <email@hidden> wrote:
>
>> iOS app, Master - Detail.
>> Master has TableView, when one tabs a table row, a segue to the Detail View is performed.
>>
>> The problem:
>> Sometimes when the app starts, there is only one item in the TableView. In this case I want to segue to the DetailView programatically, because there is nothing to choose for the user.
[...]
>
> -[UIViewController performSegueWithIdentifier:sender:] is how you programatically trigger a segue.
Thanks. This is exactly what I needed.
I really should have found this myself - it is so obvious. But sometimes I seem to be blind.
Again, thanks a lot!
Kind regards,
Gerriet.
_______________________________________________
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