Any success with SMLoginItemSetEnabled?

2011-11-05 Thread Manfred Schwind
Hi, has anybody successfully used SMLoginItemSetEnabled? It always returns false for me, whatever I try. When googling, I do not find much about SMLoginItemSetEnabled, but a working alternative using LSSharedFileList calls. Is it OK to use these LSSharedFileList calls instead of SMLoginItemSetE

Re: Why does ARC retain method arguments even with full optimization?

2011-11-05 Thread Charles Srstka
On Nov 5, 2011, at 1:18 PM, Wade Tregaskis wrote: >>> Note that (so far as Mac OS X is concerned - I don't know about iOS) this >>> only happens with the 64-bit runtime on Intel, on Lion. Previous runtimes >>> don't even have this optimisation, and there's somewhat surprisingly no >>> 32-bit i

Re: Why does ARC retain method arguments even with full optimization?

2011-11-05 Thread Wade Tregaskis
>> Note that (so far as Mac OS X is concerned - I don't know about iOS) this >> only happens with the 64-bit runtime on Intel, on Lion. Previous runtimes >> don't even have this optimisation, and there's somewhat surprisingly no >> 32-bit implementation of the critical callerAcceptsFastAutorele

Re: Why does ARC retain method arguments even with full optimization?

2011-11-05 Thread Charles Srstka
On Nov 5, 2011, at 12:50 PM, Wade Tregaskis wrote: > Note that (so far as Mac OS X is concerned - I don't know about iOS) this > only happens with the 64-bit runtime on Intel, on Lion. Previous runtimes > don't even have this optimisation, and there's somewhat surprisingly no > 32-bit implemen

Re: Why does ARC retain method arguments even with full optimization?

2011-11-05 Thread Wade Tregaskis
> The way I understand it with ARC, though, is that it can peek at the stack to > see what will happen to a pointer after it’s returned, and cut out some of > the unnecessary message sends, so while it’s actually generating something > like this: > > - (Foo *)foo { > return objc_retainAut

Re: NSNumberFormatter erases invalid values on Lion with 10.6 SDK

2011-11-05 Thread Fritz Anderson
On 2 Nov 2011, at 11:40 PM, George Nachman wrote: > I just moved to XCode 4, from the Mac OS 10.5 SDK to the 10.6 SDK, and > from Snow Leopard to Lion. A behavior that changed is that entering > invalid text into an NSTextField with an NSNumberFormatter causes the > entire field's contents to be e

Re: automaticallyNotifiesObserversOf

2011-11-05 Thread Roland King
Thank you as usual Quincey, I didn't think of the header file. Document bug filed. On Nov 5, 2011, at 2:48 PM, Quincey Morris wrote: > On Nov 4, 2011, at 22:51 , Roland King wrote: > >> Then I went and looked in the documentation, couldn't find a reference to it >> anywhere in iOS, eventually

UIViewController containment and storyboarding

2011-11-05 Thread Roland King
Is there any support for UIViewController containment with storyboarding? I've been trying to implement a custom segue between two view controllers which really requires having both of them available and performing animations on both the outgoing and incoming view controller, fading most of the