Re: ARC and 10.6

2012-02-03 Thread Georg Seifert
On 03.02.2012, at 00:24, Greg Parker wrote: > On Feb 2, 2012, at 2:51 PM, Georg Seifert wrote: >> I try to convert my app to use xCode 4.2 and ARC. My app uses several custom >> frameworks and plugins. I used the migration tool to enable ARC for all of >> them. >> >> As I still want to support

Re: ARC and 10.6

2012-02-03 Thread Georg Seifert
Me again. I fixed it. I forgot to specify a Principle class for some of my plugins. This was no problem before, not with gcc (xCode 3) and not with clang in xCode 4. Thanks Georg On 03.02.2012, at 00:24, Greg Parker wrote: > On Feb 2, 2012, at 2:51 PM, Georg Seifert wrote: >> I try to conver

MPMoviePlayerController, full-screen, and rotation

2012-02-03 Thread Fritz Anderson
iOS 5 (iPad and Simulator), targeting iOS 5, Xcode 4.2.1. I find that rotating an iPad while a full-screen MPMoviePlayerController is playing disrupts the layout of the UISplitView behind it. I'm glad to add code to this thread, but I thought I'd see if a narrative triggered any thoughts right

Stop "developer tools access..." and "gdb-i386-apple-darwin..." alerts

2012-02-03 Thread Heath Borders
I recently upgraded to 10.7.3, and when I try to debug my iOS project in the simulator for the first time after logging in, I'm prompted with the following two alerts: Developer Tools Access needs to take control of another process for debugging to continue. Type your password to allow this. http:

Re: MPMoviePlayerController, full-screen, and rotation

2012-02-03 Thread Fritz Anderson
On 3 Feb 2012, at 11:21 AM, Fritz Anderson wrote: > Further, the bar button that split-view detail views must put up in portrait > orientation is shifted right (apparently proportionally to the number of > rotations). Opening the master-view popover in landscape orientation > blacks-out the ma

Re: MPMoviePlayerController, full-screen, and rotation

2012-02-03 Thread Fritz Anderson
Thanks for the suggestion. Following your lead, I called +attemptRotationToDeviceOrientation after installing, and again after removing, the movie-player controller. I made this my -shouldAutorotateToInterfaceOrientation: method: - (BOOL) shouldAutorotateToInterfaceOrientation: (UIInterfaceOrie

Re: How to show last name of user in text field whose first name is selected in popup button

2012-02-03 Thread Keary Suska
On Feb 2, 2012, at 10:50 PM, Devarshi Kulshreshtha wrote: > I have an array of dictionary which contains two keys- firstName > and lastName and their values, eg. > > firstName/ lastName > > Steve/ Jobs > Andre/ Agassi > Christiano/ Ronaldo > > User interface consists of a pop up button and a te

NSColorWell / NSColorPanel

2012-02-03 Thread koko
In a modal panel I have a NSColorWell. Clicking the NSColorWell display a NSColorPanel. The NSColorPanel docs say that the method -(void)changeColor:(id)sender is sent to the first responder and that you can override this method in any responder that needs to respond to a color change. I have

Loading Typeface from NSBundle

2012-02-03 Thread Pascal Harris
I'm trying to load a custom typeface from my application bundle (a TrueType font of my own design). Hunting around on the web reveals only methods which are deprecated to the extent of not working under OS X Lion (FMActivateFonts): #import --- NSString *fontsFolder = [[NS

Re: Loading Typeface from NSBundle

2012-02-03 Thread John Joyce
On Feb 3, 2012, at 6:13 PM, Pascal Harris wrote: > I'm trying to load a custom typeface from my application bundle (a TrueType > font of my own design). Hunting around on the web reveals only methods which > are deprecated to the extent of not working under OS X Lion (FMActivateFonts): > > #i

Re: Loading Typeface from NSBundle

2012-02-03 Thread Jens Alfke
On Feb 3, 2012, at 4:13 PM, Pascal Harris wrote: > My question is (I hope) simple. How does one load fonts from the Application > Bundle in Lion? IIRC you can just put the font file in Contents/Fonts in the app bundle. —Jens smime.p7s Description: S/MIME cryptographic signature _

Re: Loading Typeface from NSBundle

2012-02-03 Thread Jens Alfke
On Feb 3, 2012, at 7:05 PM, John Joyce wrote: > Does this work for you...? > http://stackoverflow.com/questions/2444717/embed-font-in-a-mac-bundle That’s a better answer than mine, since I’d forgotten about needing to set the ATSApplicationFontsPath key. Also, heed the reminder to make sure it

Re: NSColorWell / NSColorPanel

2012-02-03 Thread Graham Cox
On 04/02/2012, at 11:08 AM, koko wrote: > In a modal panel I have a NSColorWell. Clicking the NSColorWell display a > NSColorPanel. > > The NSColorPanel docs say that the method -(void)changeColor:(id)sender is > sent to the first responder and that you can override this method in any > resp