Re: Weird crash in -[NSSearchField setRecentSearches:]

2014-11-10 Thread Lee Ann Rucker
Do you implement any of the delegate methods corresponding to the notifications? Cocoa will add notifications for you instead of bothering with "respondsToSelector:" all the time. On Nov 9, 2014, at 5:02 AM, Jerry Krinock wrote: > >> On 2014 Nov 07, at 16:02, Greg Parker wrote: >> >> You m

Re: Weird crash in -[NSSearchField setRecentSearches:]

2014-11-10 Thread Jerry Krinock
> On 2014 Nov 10, at 15:37, Lee Ann Rucker wrote: > > Do you implement any of the delegate methods corresponding to the > notifications? Cocoa will add notifications for you instead of bothering with > "respondsToSelector:" all the time. Thank you, Lee Ann. No, I can’t find any corresponding

Re: Add target-action to AVPlayerViewController Done or subclass instead?

2014-11-10 Thread Mazzaroth M.
The solution was to simply subclass AVPlayerViewController and implement the orientation methods. On Sun, Nov 9, 2014 at 11:02 PM, Mazzaroth M. wrote: > I have an ios8 portrait-only iphone app, but when presenting a > AVPlayerViewController, I'd like to have it show in landscape. I got this > wo

Re: How to obtain paths of laid-out text

2014-11-10 Thread Graham Cox
Anyone? Surely there's a supported way to do this? Sample code? --Graham > On 8 Nov 2014, at 9:40 am, Graham Cox wrote: > > In the past, I've obtained bezier paths from laid out text using a subclass > of NSLayoutManager that overrode the deprecated -showPackedGlyphs:length:... > method. Thi