Re: Still can't get autolayout to work the way I want

2013-09-20 Thread Gerriet M. Denkmann
On 20 Sep 2013, at 12:12, Kyle Sluder k...@ksluder.com wrote: On Sep 19, 2013, at 4:23 PM, Brad O'Hearne br...@bighillsoftware.com wrote: Anyway, you get the point. I have found myself actually devoting time to trying to reverse-think how some of these auto-generated constraints appear,

Re: Still can't get autolayout to work the way I want

2013-09-20 Thread Dave
You are free to drop anything you want wherever you want on the canvas, and no blue tentacles will emerge from your views. These should be called the Blue Tentacles of Chaos - goes nicely with the Swirling Technicolor Pizza of Death. Friday Houmour

Re: Still can't get autolayout to work the way I want

2013-09-20 Thread Fritz Anderson
On 19 Sep 2013, at 7:37 PM, Rick Mann rm...@latencyzero.com wrote: On Sep 19, 2013, at 17:36 , Kyle Sluder k...@ksluder.com wrote: Is IB changing the *values*, or the *numbers* that appear on the constraints? If a view’s frame is out of whack with its constraints, the constraints in

Still can't get autolayout to work the way I want

2013-09-19 Thread Rick Mann
Xc5, iOS 7, simulator. I have a popover that comes up fine. But when I click on a cell, and it segues to the next scene, it then grows the popover in width to fill the iPad screen. The target scene is a static table view. It has two custom cells with labels in one group, and a cell used as a

Re: Still can't get autolayout to work the way I want

2013-09-19 Thread Rick Mann
On Sep 19, 2013, at 15:22 , Hunter Hillegas li...@lastonepicked.com wrote: If you haven’t seen it, Apple did expand the AutoLayout Programming Guide about a week ago to be more expansive. Also, it’s probably been said a million times but doing AutoLayout w/ Xcode 4 was terrible and with

Re: Still can't get autolayout to work the way I want

2013-09-19 Thread Hunter Hillegas
That’s too bad. My experience has been quite good but of course, each project is different and some things are more complex than others. On Sep 19, 2013, at 3:24 PM, Rick Mann rm...@latencyzero.com wrote: I'm having HUGE problems in Xc5. My comments just now are wrt Xc5 and iOS 7. You

Re: Still can't get autolayout to work the way I want

2013-09-19 Thread Brad O'Hearne
On Sep 19, 2013, at 2:45 PM, Rick Mann rm...@latencyzero.com wrote: I am never able to get this shit right 100% of the time, and I don't know if it's because I'm doing something wrong, or iOS is broken and I need to do something else. As a second to Rick's request, auto-layout has given me

Re: Still can't get autolayout to work the way I want

2013-09-19 Thread Rick Mann
On Sep 19, 2013, at 15:26 , Hunter Hillegas li...@lastonepicked.com wrote: That’s too bad. My experience has been quite good but of course, each project is different and some things are more complex than others. It's complex to describe the issues I'm seeing. I've made a half-dozen screen

Re: Still can't get autolayout to work the way I want

2013-09-19 Thread Kevin Muldoon
I love the power of auto-layout, but I'll be damned if I can make it behave when working on the GUI .xib file. I've taken to using auto-layout without .xib, building the UI elements in the viewController.m and attaching NSLayoutContraints manually. It's a bit of a pain, but if the layout is

Re: Still can't get autolayout to work the way I want

2013-09-19 Thread Rick Mann
On Sep 19, 2013, at 15:29 , Kevin Muldoon caoimgh...@gmail.com wrote: I love the power of auto-layout, but I'll be damned if I can make it behave when working on the GUI .xib file. I've taken to using auto-layout without .xib, building the UI elements in the viewController.m and attaching

Re: Still can't get autolayout to work the way I want

2013-09-19 Thread Kevin Muldoon
Yes, IB does automagically pop in constraints and for simple layouts, it works. But, with more complicated layouts, moving a single element around will rearrange one or more other constraints, generally breaking everything. I'm not familiar with the clear constraints command in IB, but like I

Re: Still can't get autolayout to work the way I want

2013-09-19 Thread Hunter Hillegas
If you haven’t seen it, Apple did expand the AutoLayout Programming Guide about a week ago to be more expansive. Also, it’s probably been said a million times but doing AutoLayout w/ Xcode 4 was terrible and with Xcode 5, it works a ton better. On Sep 19, 2013, at 3:18 PM, Brad O'Hearne

Re: Still can't get autolayout to work the way I want

2013-09-19 Thread Brad O'Hearne
On Sep 19, 2013, at 3:50 PM, Kevin Muldoon caoimgh...@gmail.com wrote: Yes, IB does automagically pop in constraints and for simple layouts, it works. But, with more complicated layouts, moving a single element around will rearrange one or more other constraints, generally breaking

Re: Still can't get autolayout to work the way I want

2013-09-19 Thread Kyle Sluder
On Sep 19, 2013, at 4:23 PM, Brad O'Hearne br...@bighillsoftware.com wrote: Anyway, you get the point. I have found myself actually devoting time to trying to reverse-think how some of these auto-generated constraints appear, because some of them are so wacky I find myself wondering that it

Re: Still can't get autolayout to work the way I want

2013-09-19 Thread Rick Mann
On Sep 19, 2013, at 17:29 , Kyle Sluder k...@ksluder.com wrote: Xcode 5 doesn't insert any constraints for you at design time. You are free to drop anything you want wherever you want on the canvas, and no blue tentacles will emerge from your views. This is not the behavior I'm

Re: Still can't get autolayout to work the way I want

2013-09-19 Thread Kyle Sluder
On Sep 19, 2013, at 5:30 PM, Rick Mann rm...@latencyzero.com wrote: This is not the behavior I'm experiencing. Well, I guess it is, but IB keeps changing the values of my constraints all the time, even when I'm editing unrelated scenes. Is IB changing the *values*, or the *numbers*

Re: Still can't get autolayout to work the way I want

2013-09-19 Thread Rick Mann
On Sep 19, 2013, at 17:36 , Kyle Sluder k...@ksluder.com wrote: Is IB changing the *values*, or the *numbers* that appear on the constraints? If a view’s frame is out of whack with its constraints, the constraints in conflict will be drawn in orange, with a number badge atop them. This

Re: Still can't get autolayout to work the way I want

2013-09-19 Thread Kevin Cathey
To get the new Xcode 5.0 auto layout workflows, check to make sure that you don't have your development target for the nib set to 4.6. You can check this by selecting the document, opening the file inspector, and under Interface Builder Document make sure Opens In is set to Default (5.0) or

Re: Still can't get autolayout to work the way I want

2013-09-19 Thread Kevin Cathey
On 19 Sep 2013, at 17:37, Rick Mann rm...@latencyzero.com wrote: On Sep 19, 2013, at 17:36 , Kyle Sluder k...@ksluder.com wrote: Is IB changing the *values*, or the *numbers* that appear on the constraints? If a view’s frame is out of whack with its constraints, the constraints in

Re: Still can't get autolayout to work the way I want

2013-09-19 Thread Rick Mann
That might be. It's hard for me to tell at a glance what's going in (might help to add the constants to the geometry tab list of constraints in the inspector. Sent from my iPhone On Sep 19, 2013, at 18:17, Kevin Cathey cat...@apple.com wrote: On 19 Sep 2013, at 17:37, Rick Mann

Re: Still can't get autolayout to work the way I want

2013-09-19 Thread Charles Srstka
On Sep 19, 2013, at 5:50 PM, Kevin Muldoon caoimgh...@gmail.com wrote: Yes, IB does automagically pop in constraints and for simple layouts, it works. But, with more complicated layouts, moving a single element around will rearrange one or more other constraints, generally breaking