Re: Master - Detail: How to get back?

2015-04-16 Thread Roland King
5. Run iPhone- tapping on Do Back prints: 2015-04-16 12:16:52.799 Dummi[28069:20737983] -[MasterViewController doSomethingAndBackToMaster:] did something with 2015-04-16 05:16:49 +, will do: [UIStoryboardSegue: 0x79f386e0 perform] iPad - tapping on Do Back prints:

Re: layout method not getting called on Content View

2015-04-16 Thread dangerwillrobinsondanger
Sent from my iPhone On 2015/04/16, at 19:47, Dave d...@looktowindward.com wrote: On 15 Apr 2015, at 22:17, David Duncan david.dun...@apple.com wrote: On Apr 15, 2015, at 2:06 PM, Dave d...@looktowindward.com wrote: I recommend you switch to Auto Layout. AFAICT, Auto-Layout

Re: layout method not getting called on Content View

2015-04-16 Thread Dave
On 15 Apr 2015, at 22:17, David Duncan david.dun...@apple.com wrote: On Apr 15, 2015, at 2:06 PM, Dave d...@looktowindward.com wrote: I recommend you switch to Auto Layout. AFAICT, Auto-Layout won’t let me do what I want to do. This is so simple. The NIB file is owned by the

Re: Master - Detail: How to get back?

2015-04-16 Thread Kyle Sluder
On Apr 15, 2015, at 10:49 PM, Gerriet M. Denkmann gerr...@mdenkmann.de wrote: Can this be done? Or is there a better way to make my button work both for iPhone and iPad? Well, my first question is: can you just put your work in the implementation of the unwind selector? That is the

Re: Master - Detail: How to get back?

2015-04-16 Thread Roland King
On 16 Apr 2015, at 22:20, Gerriet M. Denkmann gerr...@mdenkmann.de wrote: On 16 Apr 2015, at 13:41, Roland King r...@rols.org wrote: 5. Run iPhone - tapping on Do Back prints: 2015-04-16 12:16:52.799 Dummi[28069:20737983] -[MasterViewController

Re: layout method not getting called on Content View

2015-04-16 Thread Dave
__ The right thing to do is to sit down and learn auto layout. You'll be glad you did. It's not going away and it's not that hard once you get over the hump. The best coverage are the short books by Erica Sadun. 1st edition is really Mac OS despite the title. 2nd

Re: Master - Detail: How to get back?

2015-04-16 Thread Gerriet M. Denkmann
On 16 Apr 2015, at 21:42, Kyle Sluder k...@ksluder.com wrote: On Apr 15, 2015, at 10:49 PM, Gerriet M. Denkmann gerr...@mdenkmann.de wrote: 3.Run Run on iPhone: Back Button is called Master Run on iPad: Back Button is called Master iPad Strange, but not very

Re: Master - Detail: How to get back?

2015-04-16 Thread Kyle Sluder
On Thu, Apr 16, 2015, at 09:46 AM, Roland King wrote: On 16 Apr 2015, at 22:20, Gerriet M. Denkmann gerr...@mdenkmann.de wrote: On 16 Apr 2015, at 13:41, Roland King r...@rols.org wrote: 5. Run iPhone- tapping on Do Back prints: 2015-04-16 12:16:52.799

Re: layout method not getting called on Content View

2015-04-16 Thread Quincey Morris
On Apr 16, 2015, at 08:41 , Dave d...@looktowindward.com wrote: Any advice on how to quickly achieve this would greatly appreciated, but it if means spending days reading documentation and experimenting just to set the frame of a view, then I may as well forget including this part in the

Re: Master - Detail: How to get back?

2015-04-16 Thread Gerriet M. Denkmann
On 16 Apr 2015, at 13:41, Roland King r...@rols.org wrote: 5. Run iPhone - tapping on Do Back prints: 2015-04-16 12:16:52.799 Dummi[28069:20737983] -[MasterViewController doSomethingAndBackToMaster:] did something with 2015-04-16 05:16:49 +, will do:

Re: layout method not getting called on Content View

2015-04-16 Thread Dave
On 16 Apr 2015, at 17:49, Quincey Morris quinceymor...@rivergatesoftware.com wrote: On Apr 16, 2015, at 08:41 , Dave d...@looktowindward.com mailto:d...@looktowindward.com wrote: Any advice on how to quickly achieve this would greatly appreciated, but it if means spending days

Re: layout method not getting called on Content View

2015-04-16 Thread Dave
Hi Quincey, On 16 Apr 2015, at 20:42, Quincey Morris quinceymor...@rivergatesoftware.com wrote: On Apr 16, 2015, at 12:21 , Dave d...@looktowindward.com wrote: On iOS, there is a method called “layoutSubviews” that I’ve used to do this sort of thing in the past, so it was deemed the

Re: layout method not getting called on Content View

2015-04-16 Thread Quincey Morris
On Apr 16, 2015, at 12:21 , Dave d...@looktowindward.com wrote: On iOS, there is a method called “layoutSubviews” that I’ve used to do this sort of thing in the past, so it was deemed the correct place to do this in iOS, I assumed it would be the same or similar for Mac. No, it’s “old

Re: layout method not getting called on Content View

2015-04-16 Thread Quincey Morris
On Apr 16, 2015, at 13:54 , Dave d...@looktowindward.com wrote: I’m wondering if the call to super should happen before I mess with the Content View? From the NSWindowController documentation: The default implementation does nothing.” However, it’s probably better practice to put it at