Re: WTF is happening?

2014-12-14 Thread Clark S. Cox III
> On Dec 13, 2014, at 11:57, Maxthon Chan wrote: > > NSProxy checking actually work, but throwing those classes that derive from > Object class (note I used capitalised O here, the old Object class from early > NeXT times, also used heavily in OS X kernel, GCD and Mach ports) What makes you t

Apple Events not being handled during UI tracking

2014-12-14 Thread David M. Cotter
In Mavericks and earlier, AppleEvents would dispatch as they came in, even during control-tracking (eg: the menu bar) however, in Yosemite, AEs are blocked. what’s the deal there? anyone know why? a workaround is to install an idle timer and manually pull events, but that’s so 90’s. shouldn

Re: NSUserDefaults and home folder on different drive

2014-12-14 Thread Rick C.
Makes sense, but I would have a much bigger problem if it would be every non-admin account I think. But yeah I need to fix my code and go from there. I’ll let you guys know if I have problems after that thanks! rc > On Dec 13, 2014, at 6:31 AM, Seth Willits wrote: > >> On Dec 11, 2014, at

Window Controller 'Presentation' in IB

2014-12-14 Thread Roland King
Looking at the storyboard for the OSX project I’m currently working on (a non-document, currently single window app), the one window controller has two pieces of information in the attributes inspector panel. One is ‘Is Initial Controller’, I know what that one does. Under that is an entry named

Why use NSCustomImageRep for drawing in code in NSImage?

2014-12-14 Thread Jerry Krinock
I’m modernizing the old images on some buttons in an OS X app, replacing their .png resources with simple line art, drawn in code. In so doing I stumbled across Daniel Jalkut’s old LittleYellowGuy demo [1], in which the drawing code is in the delegate of a NSCustomImageRep, which is added to an

Re: Using AV Foundation to record m3u8 stream to disk

2014-12-14 Thread Graham Cox
Just an update on this, since I've made some useful progress, but I'm a bit stuck again. I am able to download the video streams and write them to a .ts file which plays fine in apps such as VLC (Quicktime Player not so much). So far this is all done with NSURLSession, breaking apart the m3u8

Re: Why use NSCustomImageRep for drawing in code in NSImage?

2014-12-14 Thread Ken Thomases
On Dec 14, 2014, at 8:53 PM, Jerry Krinock wrote: > I’m modernizing the old images on some buttons in an OS X app, replacing > their .png resources with simple line art, drawn in code. In so doing I > stumbled across Daniel Jalkut’s old LittleYellowGuy demo [1], in which the > drawing code is

Re: Why use NSCustomImageRep for drawing in code in NSImage?

2014-12-14 Thread Jerry Krinock
Thank you for the exact link to that section of Apple documentation, Ken. I’d noticed those new block-based drawing methods, but not the warning that "If you use the lock focus methods for drawing, you can get unexpected results…” Well, I’m long overdue on pulling the plug on users of 10.7 and

Re: WTF is happening?

2014-12-14 Thread Maxthon Chan
My class scanning returned several OS* classes that does not conform to NSObject protocol. > On Dec 15, 2014, at 00:29, Clark S. Cox III wrote: > >> >> On Dec 13, 2014, at 11:57, Maxthon Chan > > wrote: >> >> NSProxy checking actually work, but throwing those classes