Re: Understanding the declaration of instance variables in the interface is deprecated warning.

2015-06-03 Thread Bernard Desgraupes
What about the @property declarations in the new scheme ? Le 3 juin 2015 à 17:15, Mark Wright blue.bucon...@virgin.net a écrit : Sorry, yes, I misread the initial paragraph that mentions the @implementation block. I actually meant implementation *file* since that’s typically where the

Re: Understanding the declaration of instance variables in the interface is deprecated warning.

2015-06-03 Thread Bernard Desgraupes
My question was unclear. I was asking about _where_ they should be declared. I guess they remain in the @interface. Le 3 juin 2015 à 18:11, Mark+Vron mark.v...@virgin.net a écrit : On 03 Jun 2015, at 16:27, Bernard Desgraupes bdesgrau...@orange.fr wrote: What about the @property

Menu Title Icon in Cocoa

2011-06-28 Thread Bernard Desgraupes
Hi, I'd like to know if there is a way of inserting an icon instead of a menu title in the menu bar. I'm not speaking of the system status bar, but simply of my application's menus. In Carbon, I used to use SetMenuTitleIcon(): so the question is is there an equivalent of SetMenuTitleIcon

Re: Detect shift key down

2011-06-26 Thread Bernard Desgraupes
Le 26 juin 11 à 07:22, Richard Somers a écrit : On Jun 24, 2011, at 1:19 AM, Bernard Desgraupes wrote: I need to detect if the shift key is pressed by the user during the startup of my app. How would I do that in Cocoa (targetting 10.5 and greater) ? Try this. http

Detect shift key down

2011-06-25 Thread Bernard Desgraupes
Hi, I need to detect if the shift key is pressed by the user during the startup of my app. How would I do that in Cocoa (targetting 10.5 and greater) ? The following QA seems inspiring http://developer.apple.com/library/mac/#qa/qa1519/_index.html but I don't know where to install this