Re: layout method not getting called on Content View

2015-04-16 Thread Quincey Morris
On Apr 16, 2015, at 13:54 , Dave 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 the top of your meth

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 > wrote: > > On Apr 16, 2015, at 12:21 , Dave 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 w

Re: layout method not getting called on Content View

2015-04-16 Thread Quincey Morris
On Apr 16, 2015, at 12:21 , Dave 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 school” on the Mac. > I

Re: layout method not getting called on Content View

2015-04-16 Thread Dave
> On 16 Apr 2015, at 17:49, Quincey Morris > wrote: > > On Apr 16, 2015, at 08:41 , Dave > 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 >

Re: layout method not getting called on Content View

2015-04-16 Thread Quincey Morris
On Apr 16, 2015, at 08:41 , Dave 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 > demo and work on im

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 wrote: > > > >> > >> On 16 Apr 2015, at 13:41, Roland King wrote: > >> > >> > >>> > >>> 5. Run > >>> > >>> iPhone- tapping on "Do & Back" prints: > >>> 2015-04-16 12:16:52.799 Dum

Re: Master - Detail: How to get back?

2015-04-16 Thread Gerriet M. Denkmann
> On 16 Apr 2015, at 21:42, Kyle Sluder wrote: > > On Apr 15, 2015, at 10:49 PM, Gerriet M. Denkmann > wrote: >> >> >> >> >> 3.Run >> >> Run on iPhone: >> Back Button is called "Master" >> >> Run on iPad: >> Back Button is called "Master iPad" >> >> Strange, but not very important.

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. 2n

Re: Master - Detail: How to get back?

2015-04-16 Thread Roland King
> On 16 Apr 2015, at 22:20, Gerriet M. Denkmann wrote: > >> >> On 16 Apr 2015, at 13:41, Roland King wrote: >> >> >>> >>> 5. Run >>> >>> iPhone - tapping on "Do & Back" prints: >>> 2015-04-16 12:16:52.799 Dummi[28069:20737983] -[MasterViewController >>> doSomethingAndBackToMaster:]

Re: Master - Detail: How to get back?

2015-04-16 Thread Kyle Sluder
On Apr 15, 2015, at 10:49 PM, Gerriet M. Denkmann 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 way the

Re: Master - Detail: How to get back?

2015-04-16 Thread Gerriet M. Denkmann
> On 16 Apr 2015, at 13:41, Roland King 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: [ perform]

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 wrote: > > >> On 15 Apr 2015, at 22:17, David Duncan wrote: >> >> On Apr 15, 2015, at 2:06 PM, Dave wrote: I recommend you switch to Auto Layout. >>> >>> AFAICT, Auto-Layout won’t let me do what I want to do. >>>

Re: layout method not getting called on Content View

2015-04-16 Thread Dave
> On 15 Apr 2015, at 22:17, David Duncan wrote: > > >> On Apr 15, 2015, at 2:06 PM, Dave 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 window controller. The >> wi