Reputation: 2227
I have a MAster/Detail Application and everything is fine.
Now when loaded, we have the Button Named "Master" That will slide over the original Master View Controller.
I want to change it's behavior ,so instead of popping over the original MasterViewController..
i need it to popOver another SplitViewController with the option of going back to the original one.
Any ideas how to create this? I dunno where to start.
Any ideas will be highly appreciated
Please Check This Edit
Edit 1 :
To be more precise...i have a dictionary application that first loads all the elements in the master view controller on the left...once i click on any element, it will open up in details view controller as it should.
Once in the Details view controller..if i click on Add to Favorites button...and click on the button Show Favorites...i need it to show me in the MasterViewControlle all the selected favorites instead of all the dictionary elements...how can i do it?
Upvotes: 0
Views: 702
Reputation: 4789
check this Question already asked in stackoverflow if you want to use protocol objectiveC protocol issue Detail -> Master communication.
You can use KVO as well.Check this Link : http://2pi.dk/tech/cocoa/kvo_dispatch.html
Upvotes: 0
Reputation: 1886
Seeing your question i feel you want to have UISplitViewController like below.
I never worked on it but try out this tutorial and try to integrate this feature in your project.
Raywenderlich tutorial link Click here
UISplitViewController class reference Click here
Upvotes: 1