Re: Thoughts on autolayout

2016-04-21 Thread Roland King
> On 22 Apr 2016, at 03:34, Hunter Hillegas wrote: > > Nope, I’m a huge fan, especially with newer tools like UIStackView and the > layout guide stuff. > >> On Apr 21, 2016, at 12:19 PM, Charles Srstka >> wrote: >> >> Am I the only one who

Mail share activity resizes my view controller

2016-04-21 Thread Rick Mann
In our app, we have a details view that presents as a modal view controller. There's a view that covers the screen and dims it, and then the actual UI is displayed inset from that. When I bring up the UIActivityViewController, and choose Mail, then cancel, the mail controller hides away, and

Re: Thoughts on autolayout

2016-04-21 Thread Stevo Brock
I agree wholeheartedly. My process is very similar. It’s taken a bit of doing to get comfortable/efficient with autolayout, but I would *never* go back. I also try very hard to do all my layouts entirely in IB so I have a single place to look for maintenance/enhancements. In addition to what

Re: Thoughts on autolayout

2016-04-21 Thread Charles Srstka
> On Apr 21, 2016, at 2:49 PM, Bill Cheeseman wrote: > >> On Apr 21, 2016, at 3:19 PM, Charles Srstka > > wrote: >> >> Am I the only one who likes autolayout? > > > No, I like it, too. I developed an approach

Re: Thoughts on autolayout

2016-04-21 Thread Alex Kac
I’ve come to really like autolayout. I follow a similar set of steps that you do, but I’ve begun to use the Preview assistant to help me get my constraints right. It lets me test them in every language including the pseudo double length. Its fantastic. > On Apr 21, 2016, at 1:49 PM, Bill

Re: Thoughts on autolayout

2016-04-21 Thread Bill Cheeseman
> On Apr 21, 2016, at 3:19 PM, Charles Srstka wrote: > > Am I the only one who likes autolayout? No, I like it, too. I developed an approach that I'm comfortable with, and if I stick to it I can get the job done quickly. Of course, trying to accomplish something I

Re: Thoughts on autolayout

2016-04-21 Thread Hunter Hillegas
Nope, I’m a huge fan, especially with newer tools like UIStackView and the layout guide stuff. > On Apr 21, 2016, at 12:19 PM, Charles Srstka wrote: > > Am I the only one who likes autolayout? ___ Cocoa-dev mailing list

Re: Thoughts on autolayout

2016-04-21 Thread Charles Srstka
> On Apr 21, 2016, at 10:41 AM, Alex Zavatone wrote: > > > On Apr 21, 2016, at 4:50 AM, Jonathan Mitchell wrote: > >> The biggest single issue I have with AL is that it is a development time >> hog. > > A massive time hog. Am I the only one who likes autolayout? Sure, it’s

Re: Thoughts on autolayout

2016-04-21 Thread Ben Kennedy
> On 21 Apr 2016, at 10:47 am, Ben Kennedy wrote: > > One is then left to hunt around in the damn list on the right in order to > find it and then delete it *again* from there in order to actually eviscerate > it. Oops; I meant the list on the left (the hierarchal inspector

Re: Text field alignment

2016-04-21 Thread Quincey Morris
On Apr 20, 2016, at 21:43 , Roland King wrote: > > I’m fairly sure the NSTextField doesn’t properly take account of the border > when aligning baselines. Turning off the border fixes half of the problem — the baseline alignment. I agree the borderless text field doesn’t look

Re: Thoughts on autolayout

2016-04-21 Thread Ben Kennedy
> On 21 Apr 2016, at 12:12 am, Quincey Morris > wrote: > 1. Part of the problem is branding. “Autolayout” actually refers to the > runtime layout engine, and what happens automatically is the runtime > relocation of UI elements according to constraints.

Re: Correct way to specify anchors with NSURL?

2016-04-21 Thread Jens Alfke
> On Apr 20, 2016, at 10:16 PM, Graham Cox wrote: > > Annoying that the ‘fragment’ property of NSURL is read-only, that looks like > an obvious way to do it, if the API was sane. The API is sane. NSURLs are immutable, just like NSStrings and many other Foundation

Re: Thoughts on autolayout

2016-04-21 Thread Alex Zavatone
On Apr 21, 2016, at 4:50 AM, Jonathan Mitchell wrote: > The biggest single issue I have with AL is that it is a development time hog. A massive time hog. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or

Re: Thoughts on autolayout

2016-04-21 Thread Stephane Sudre
Thanks for the reference. Unfortunately, according to the documentation, it's only available on OS X 10.11 or later. On Thu, Apr 21, 2016 at 12:55 PM, Jonathan Mitchell wrote: > >> On 21 Apr 2016, at 11:48, Stephane Sudre wrote: >> >> >> - you still

Re: Thoughts on autolayout

2016-04-21 Thread Sandor Szatmari
Jonathan, Can you use NSLayoutGuide in IB? Does using it preclude one's app from deploying on anything but 10.11 or later? Sandor > On Apr 21, 2016, at 06:55, Jonathan Mitchell wrote: > > >> On 21 Apr 2016, at 11:48, Stephane Sudre wrote: >> >>

Re: Thoughts on autolayout

2016-04-21 Thread Jonathan Mitchell
> On 21 Apr 2016, at 11:48, Stephane Sudre wrote: > > > - you still have to use intermediary subviews to deal with complex cases. NSLayoutGuide can help out here

Re: Thoughts on autolayout

2016-04-21 Thread Stephane Sudre
On Thu, Apr 21, 2016 at 10:36 AM, Kristof Van Landschoot wrote: > All of these points sound more like "Thoughts on Interface Builder to me". > Using autolayout without Interface Builder is a better experience (although > not perfect, surely). Not using autolayout is an even

Re: Thoughts on autolayout

2016-04-21 Thread Jonathan Mitchell
> On 21 Apr 2016, at 08:12, Quincey Morris > wrote: > > I think I’d much rather have a scheme where you can’t drag or resize UI > elements at all, but you would essentially drag on the constraints (or on > attributes that uniquely represent constraints

Re: Thoughts on autolayout

2016-04-21 Thread Kristof Van Landschoot
All of these points sound more like "Thoughts on Interface Builder to me". Using autolayout without Interface Builder is a better experience (although not perfect, surely). On Thu, Apr 21, 2016 at 9:12 AM, Quincey Morris < quinceymor...@rivergatesoftware.com> wrote: > After spending all of the

Re: Correct way to specify anchors with NSURL?

2016-04-21 Thread Mike Abdullah
> On 21 Apr 2016, at 09:09, Graham Cox wrote: > > >> On 21 Apr 2016, at 3:22 PM, Quincey Morris >> wrote: >> >> On Apr 20, 2016, at 22:16 , Graham Cox wrote: >>> >>> But it’s 10.9+ only. I really need a

Re: Correct way to specify anchors with NSURL?

2016-04-21 Thread Quincey Morris
On Apr 21, 2016, at 00:09 , Graham Cox wrote: > > It strikes me that it’s a bug that URLByAppendingPathComponent: doesn’t parse > for a fragment just as -initWithString: does though, the anchor/fragment is a > perfectly reasonable part of a path and what other possible

Thoughts on autolayout

2016-04-21 Thread Quincey Morris
After spending all of the last 3 days on designing autolayout-based layouts in IB, I’m going to submit some bug reports. First, I want to try to clarify my thoughts about “what’s wrong with autolayout”, and see if I need to revise my thinking: 1. Part of the problem is branding. “Autolayout”

Re: Correct way to specify anchors with NSURL?

2016-04-21 Thread Graham Cox
> On 21 Apr 2016, at 3:22 PM, Quincey Morris > wrote: > > On Apr 20, 2016, at 22:16 , Graham Cox wrote: >> >> But it’s 10.9+ only. I really need a solution that will work back to 10.7 >> (or 10.8 at the latest). > > Then I’d