Re: Quickie about constraints

2014-08-18 Thread Ben Kennedy
Thank you Charles and Roland for pointing out that section of documentation, and correcting in detail my mis-advice in the first reply. Going back to what Kyle replied to me originally: Can't you simply set translatesAutoresizingMaskIntoConstraints = NO on the views in question? Then you

Re: Quickie about constraints

2014-08-17 Thread Graham Cox
On 16 Aug 2014, at 4:10 pm, Kyle Sluder k...@ksluder.com wrote: Not sure if you’ve got this backwards, or are unaware of a certain frameworks bug. Views whose translatesAutoresizingMaskIntoConstraints property is set to YES can be positioned via -setFrame:. Views whose property is set to

Re: Quickie about constraints

2014-08-17 Thread Roland King
On 18 Aug 2014, at 7:18 am, Graham Cox graham@bigpond.com wrote: On 16 Aug 2014, at 4:10 pm, Kyle Sluder k...@ksluder.com wrote: Not sure if you’ve got this backwards, or are unaware of a certain frameworks bug. Views whose translatesAutoresizingMaskIntoConstraints property is

Re: Quickie about constraints

2014-08-17 Thread Roland King
.. and I finally found the one piece of the autolayout adoption guide which made me think back in the day I could use setFrame: and it would all work nicely.

Re: Quickie about constraints

2014-08-17 Thread Charles Srstka
On Aug 17, 2014, at 7:13 PM, Roland King r...@rols.org wrote: .. and I finally found the one piece of the autolayout adoption guide which made me think back in the day I could use setFrame: and it would all work nicely.

Re: Quickie about constraints

2014-08-17 Thread Roland King
On 18 Aug 2014, at 9:10 am, Charles Srstka cocoa...@charlessoft.com wrote: On Aug 17, 2014, at 7:13 PM, Roland King r...@rols.org mailto:r...@rols.org wrote: .. and I finally found the one piece of the autolayout adoption guide which made me think back in the day I could use setFrame:

Re: Quickie about constraints

2014-08-17 Thread Charles Srstka
On Aug 17, 2014, at 8:39 PM, Roland King r...@rols.org wrote: On 18 Aug 2014, at 9:10 am, Charles Srstka cocoa...@charlessoft.com wrote: On Aug 17, 2014, at 7:13 PM, Roland King r...@rols.org wrote: .. and I finally found the one piece of the autolayout adoption guide which made me

Re: Quickie about constraints

2014-08-16 Thread Kyle Sluder
On Aug 15, 2014, at 8:44 PM, Ben Kennedy b...@zygoat.ca wrote: On 15 Aug 2014, at 8:17 pm, Graham Cox graham@bigpond.com wrote: What I really want is that part of my view hierarchy to be free to use -setFrame:, but other parts use the autolayout constraints normally. Can't you

Re: Quickie about constraints

2014-08-16 Thread Charles Srstka
On Aug 16, 2014, at 1:10 AM, Kyle Sluder k...@ksluder.com wrote: On Aug 15, 2014, at 8:44 PM, Ben Kennedy b...@zygoat.ca wrote: On 15 Aug 2014, at 8:17 pm, Graham Cox graham@bigpond.com wrote: What I really want is that part of my view hierarchy to be free to use -setFrame:, but

Re: Quickie about constraints

2014-08-15 Thread Jonathan Mitchell
On 15 Aug 2014, at 04:55, Graham Cox graham@bigpond.com wrote: I ask because I'm having trouble getting part of my interface working with autolayout, though other parts work fine. Since the part that doesn't work works just fine with struts-and-springs, and has done for a long time, I'm

Re: Quickie about constraints

2014-08-15 Thread Graham Cox
On 15 Aug 2014, at 7:39 pm, Jonathan Mitchell jonat...@mugginsoft.com wrote: On 15 Aug 2014, at 04:55, Graham Cox graham@bigpond.com wrote: I ask because I'm having trouble getting part of my interface working with autolayout, though other parts work fine. Since the part that doesn't

Re: Quickie about constraints

2014-08-15 Thread Ben Kennedy
On 15 Aug 2014, at 8:17 pm, Graham Cox graham@bigpond.com wrote: What I really want is that part of my view hierarchy to be free to use -setFrame:, but other parts use the autolayout constraints normally. Can't you simply set translatesAutoresizingMaskIntoConstraints = NO on the views

Quickie about constraints

2014-08-14 Thread Graham Cox
What level are constraints implemented at? Are they per window, or more fine-grained? I ask because I'm having trouble getting part of my interface working with autolayout, though other parts work fine. Since the part that doesn't work works just fine with struts-and-springs, and has done for