Re: Clarification on MMM rules for init?

2017-01-21 Thread Ken Thomases
On Jan 21, 2017, at 10:43 AM, Dave wrote: > > I’m looking at some old code and have found what I think is a long standing > bug. This is a class that has an initWithXXX method which may fail, in this > case it calls [self autorelease] and returns nil. However, I have found a > case whereby doe

last, getutxent & friends

2017-01-21 Thread 2551phil
Apologies in advance as this is only indirectly a Cocoa question (in that I’m trying to incorporate this data into my Cocoa app). Suggestions for a more suitable home for this question are welcome. My app needs to display the login and logout times of all users on the mac (for macos 10.10 onwar

Clarification on MMM rules for init?

2017-01-21 Thread Dave
HI, This is for a Mac based App. I’m looking at some old code and have found what I think is a long standing bug. This is a class that has an initWithXXX method which may fail, in this case it calls [self autorelease] and returns nil. However, I have found a case whereby does a [self autorele

Re: Merging scrolling/clipping with NSStackView

2017-01-21 Thread Daryle Walker
> On Jan 19, 2017, at 1:25 PM, Quincey Morris > wrote: > > On Jan 19, 2017, at 06:39 , Daryle Walker > wrote: >> >> The inner views should be as tall as they need to be. > > I don’t understand this part. How tall is that? > > I assume you mean that you want the text