deviceID from ICDevice in Cocoa
How can I retrieve the deviceID from the ICDevice just like it's output by NSLog. The name can easily be retrieved with addedDevice.name, but addedDevice.deviceID doesn't work. - (void)deviceBrowser:(ICDeviceBrowser*)browser didAddDevice:(ICDevice*)addedDevice moreComing:(BOOL)moreComing { NSLog(@deviceBrowser:didAddDevice:\n%@\nmoreComing: %d\n, addedDevice, moreComing); } ICCameraDevice 0x8ab910: deviceRef : 0x0003 connectionID : 0xeafc51b8 deviceID : 0x4003 proxy : NO name : D200 locationDescription : ICDeviceLocationDescriptionUSB iconPath : /System/Library/Image Capture/Support/Icons/GenericCamera.icns modulePath: /System/Library/Image Capture/Devices/PTPCamera.app moduleVersion : 0.0 moduleExecutableArchitecture : 16777223 type : 0x0101 UUIDString: ---0030-303030303030 autolaunchApplicationPath : capabilities : ICCameraDeviceCanSyncClock ICCameraDeviceCanTakePictureUsingShutterReleaseOnCamera ICCameraDeviceCanTakePicture ICCameraDeviceCanDeleteOneFile ICCameraDeviceCanAcceptPTPCommands remote: NO shared: NO clients : transportType : ICTransportTypeUSB usbLocationID : 0x2410 usbProductID: 0x0410 usbVendorID : 0x04b0 usbIntefaceClass: 0x00 usbInterfaceSubClass: 0x00 usbInterfaceProtocol: 0x00 timeOffset: -3599.00 hasConfigurableWiFiInterface : NO isAccessRestrictedAppleDevice : NO ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: textfield problem
When I got a similar problem, I had by mistake covered the text field with the other view. It was just my case, though. norio On 2012/03/03, at 5:35, H. Miersch hmier...@me.com wrote: hello. i have a problem with a text field that won't accept any input. the textfield is one of three on a panel that appears only when the input is needed. I activate the panel with this line:[app beginSheet:Sheet modalForWindow:mainWindow modalDelegate:self didEndSelector:NULL contextInfo:nil]; in IB, behavior is set to editable, state is enabled. i've tried deleting the textfield and replacing it with a new one, i've tried [textfield setEditable:YES], but no joy. the textfield stubbornly refuses to accept any input. when i click it, nothing happens. when i double-click it, any existing characters are highlighted in grey instead of blue, and if i type anything, that input goes to whatever was active before the double-click. i'm obviously doing something wrong, but i have no idea what. can anyone point me in the right direction? ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/notty.ota%40gmail.com This email sent to notty@gmail.com ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Using NSNotificationCenter passing an object or value?
Many thanks. I didn't know object could be nil yet still pass it along when populated On Aug 3, 2010, at 4:15 PM, Quincey Morris quinceymor...@earthlink.net wrote: On Aug 3, 2010, at 13:00, Eric E. Dolecki wrote: WHen you say it takes an NSNotification object as a parameter, you mean to say that it's missing, correct? Yes, as in: - (id)initWithFrame:(CGRect)frame { if ((self = [super initWithFrame:frame])) { mydata = [[NSArray alloc] init]; menuItems = [[NSMutableArray alloc] initWithCapacity:40]; [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(buttonClicked:) name:@ButtonClicked object:nil]; // note the colon in the selector now } return self; } -(void) buttonClicked: (NSNotification*) notification { UIButton* button = notification.object; NSUInteger tag = button.tag; } ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/edolecki%40gmail.com This email sent to edole...@gmail.com ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Error 134100 - Core Data models incompatible
Well said. Sent from my iPad On May 20, 2010, at 6:54 PM, Fritz Anderson fri...@manoverboard.org wrote: On 20 May 2010, at 4:13 PM, Brad Gibbs wrote: Mac OS X 10.6.2, iPhone OS 4.0 beta 2 (although the iPad client started life before the first OS 4 beta was released). And here is why you won't get any answers. The NDA you agreed to in order to get the 4.0 SDK forbids you, and anyone who knows the answer, to discuss it in public. The penalties can be draconian. If you have access to prerelease software, you have access to the Apple Developer Forums behind your login at developer.apple.com/iphone. Try there. — F ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/edolecki%40gmail.com This email sent to edole...@gmail.com ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Webview and dynamic content
I know, but I'm gonna have different json files and also the webpage with a few images, and due to javascript limitations, they have to be on the same root folder, that is it can be in webfolder/something but not in webfolder/../something On Sat, Feb 27, 2010 at 5:52 PM, Jens Alfke j...@mooseyard.com wrote: On Feb 27, 2010, at 2:39 AM, Jere Gmail wrote: What's the better way to implement it. I've think two options: save the json files in the app resources folder, same way iPhoto stores the files. Or save them in the app support directory. There's no reason to copy the files to the app support directory, since they're not going to be modified. On Feb 27, 2010, at 4:52 AM, Steven Degutis wrote: Related, if you want my 2¢, try as often as you can to avoid using a WebView. If you can replace its functionality with native Cocoa (and Touch) controls then that is the recommended development path. True, but there are a lot of UIs that are really difficult to do natively, such as ones with complex text-based layouts, that work really well with a WebView. (iChat-style chat views are one example.) —Jens -- Infinity is only the beginning π ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Webview and dynamic content
Hi there, I'm developing an app that relies on a webpage. This page has to load local files (json or xml) that i save on the hard drive. What's the better way to implement it. I've think two options: save the json files in the app resources folder, same way iPhoto stores the files. Or save them in the app support directory. The second way round I have to move the web to this folder in order to let javascript load the local files. Which one is better as I plan to port the app to OSX and iPhone. -- Infinity is only the beginning π ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Tutorial on writing a Cocoa/Mac app.
Thats excellent, thank you. On 14 Jan 2010, at 1:22 PM, lbland wrote: hi- We placed a manual with 4 tutorials in it at: http://www.peervisual.com/manuals/VvidgetCode Including one showing how to build a Cocoa/Mac app from scratch. It might be useful to those that want a description of Cocoa programming from ground zero to full deployment. thanks!- -lance ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/c.mcgorian %40gmail.com This email sent to c.mcgor...@gmail.com ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: language based scaning
what I'm trying to do is sort of Twitter client, in which the tweets can be English or Arabic so in case of Arabic the alignment should be from right to left, i hope I made it clear this time cheers On Oct 13, 2009, at 2:26 PM, Ricky Sharp rsh...@mac.com wrote: You probably do not want to approach things this way. Arabic is bidirectional and you may have situations where you have a mixture of languages. What you should look at instead is to just localize your app to Arabic. In the Arabic version of your nibs, make the necessary adjustments. Sent from my iPhone On Oct 13, 2009, at 6:16 AM, Nz Gmail nassers...@gmail.com wrote: Hi, Is there is a way to figure out the occurance of Arabic chars so the label's alignment would be set accordingly (right to left)? ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/rsharp%40mac.com This email sent to rsh...@mac.com ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Language based scanning
Hi, Is there is a way to figure out the occurance of Arabic chars so the label's alignment would be set accordingly (right to left)? ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
IB instantiating objects
I'm working on developing a Pascal Objective-C bridge like RubyObjc and have run across a problem I can't seem to work around with IB. I very new to Cocoa btw, so I hope this makes sense. Maybe I'm asking in the wrong place also. ;) I have noticed that when a nib is loaded it must allocate an instance of the class that I added to the nib and when actions are sent to their target (by dragging connections to that class), THAT instance is used as the self parameter (the first) in the Pascal function (this parameter is hidden in Objective-C code). That means I have no opportunity to set an instance variable that contains a reference to the Pascal object, and thus access it's instance variables and methods. Is there anyone who is aware how this was accomplished by the other bridges or if I can force IB to not instantiate the classes, or maybe replace the instance with my own? It seems like I need a way to access the instances of those classes inside the nib but I don't think that can be done. Any ideas are greatly appreciated. Thank you. Regards, Josef ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: IB instantiating objects
NO, it supports subclassing. Do you know what method I could override (and return my instance) before the NIB is loaded so I can control it's isntance variables? I think maybe a low-level protocol like init could perhaps work. Thanks. On Mar 24, 2009, at 12:15 AM, Bill Bumgarner wrote: On Mar 22, 2009, at 6:26 PM, Gmail wrote: Is there anyone who is aware how this was accomplished by the other bridges or if I can force IB to not instantiate the classes, or maybe replace the instance with my own? It seems like I need a way to access the instances of those classes inside the nib but I don't think that can be done. Any ideas are greatly appreciated. Thank you. RubyCocoa and PyObjC work by creating the class before the NIB is loaded.From your description, it sounds like your bridge doesn't support subclassing. If so, that'll make your bridge considerably more difficult to integrate with Cocoa. b.bum Regards, Josef ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: IB instantiating objects
Thanks! I think that document explains everything I need to know to take control over IB. This is more Objective-C related by maybe you have a quick tip. My first tests suggest that my method for overriding is not correct because overriding init is getting invoked from all sorts of other classes (like NSFileManager to name a few) when the NIB is loading. I use class_getInstanceMethod (with the instance of the custom class I registered with the objective-c runtime) to get the method then replace the implementation with my function pointer. This method worked before for overriding drawRect: in NSView so I'm not sure what is different now. Any ideas? On Mar 24, 2009, at 8:02 AM, Jonathan Hess wrote: Hey Josef - When IB instantiates an object in a NIB file that has the custom class set, it will instantiate it with either init, initWithFrame:, or initWithCoder: depending on the type of object. Here's a link tot he relevant documentation: http://developer.apple.com/documentation/Cocoa/Conceptual/LoadingResources/CocoaNibs/CocoaNibs.html#/ /apple_ref/doc/uid/1051i-CH4-SW19 Jon Hess On Mar 23, 2009, at 5:36 PM, Gmail wrote: NO, it supports subclassing. Do you know what method I could override (and return my instance) before the NIB is loaded so I can control it's isntance variables? I think maybe a low-level protocol like init could perhaps work. Thanks. On Mar 24, 2009, at 12:15 AM, Bill Bumgarner wrote: On Mar 22, 2009, at 6:26 PM, Gmail wrote: Is there anyone who is aware how this was accomplished by the other bridges or if I can force IB to not instantiate the classes, or maybe replace the instance with my own? It seems like I need a way to access the instances of those classes inside the nib but I don't think that can be done. Any ideas are greatly appreciated. Thank you. RubyCocoa and PyObjC work by creating the class before the NIB is loaded.From your description, it sounds like your bridge doesn't support subclassing. If so, that'll make your bridge considerably more difficult to integrate with Cocoa. b.bum Regards, Josef ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/jhess%40apple.com This email sent to jh...@apple.com Regards, Josef ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: IB instantiating objects
On Mar 24, 2009, at 10:01 AM, Ashley Clark wrote: On Mar 23, 2009, at 9:30 PM, Gmail wrote: Thanks! I think that document explains everything I need to know to take control over IB. This is more Objective-C related by maybe you have a quick tip. My first tests suggest that my method for overriding is not correct because overriding init is getting invoked from all sorts of other classes (like NSFileManager to name a few) when the NIB is loading. I use class_getInstanceMethod (with the instance of the custom class I registered with the objective-c runtime) to get the method then replace the implementation with my function pointer. This method worked before for overriding drawRect: in NSView so I'm not sure what is different now. Any ideas? class_getInstanceMethod searches the entire class hierarchy. So, if the class you're working with didn't override that implementation you'll be replacing the superclass' implementation. If you call class_addMethod on self with the result of class_getMethodImplemenation you'll be adding it to the subclass if it's not already overridden. After that calling method_exchangeImplementations will only affect that class. Hmmm, I overrode the superclasses implementation, i.e. NSObject, which sounds about right considering the results. So, I need to be using class_addMethod for init because my new class has no implementation for that method. I think the previous attempt to override NSView worked because drawRect: DID have an implementation for that selector already added to the runtime, which is not the case with my new class. Thank you Ashley I think you are correct. Is there anyway way to determine if a class has an implementation for a method so I can decide to add a new method or override an existing? As it stands I don't know in code when I should add or exchange implementations. Ashley On Mar 24, 2009, at 8:02 AM, Jonathan Hess wrote: Hey Josef - When IB instantiates an object in a NIB file that has the custom class set, it will instantiate it with either init, initWithFrame:, or initWithCoder: depending on the type of object. Here's a link tot he relevant documentation: http://developer.apple.com/documentation/Cocoa/Conceptual/LoadingResources/CocoaNibs/CocoaNibs.html#/ /apple_ref/doc/uid/1051i-CH4-SW19 Jon Hess On Mar 23, 2009, at 5:36 PM, Gmail wrote: NO, it supports subclassing. Do you know what method I could override (and return my instance) before the NIB is loaded so I can control it's isntance variables? I think maybe a low-level protocol like init could perhaps work. Thanks. On Mar 24, 2009, at 12:15 AM, Bill Bumgarner wrote: On Mar 22, 2009, at 6:26 PM, Gmail wrote: Is there anyone who is aware how this was accomplished by the other bridges or if I can force IB to not instantiate the classes, or maybe replace the instance with my own? It seems like I need a way to access the instances of those classes inside the nib but I don't think that can be done. Any ideas are greatly appreciated. Thank you. RubyCocoa and PyObjC work by creating the class before the NIB is loaded.From your description, it sounds like your bridge doesn't support subclassing. If so, that'll make your bridge considerably more difficult to integrate with Cocoa. b.bum Regards, Josef Regards, Josef ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: IB instantiating objects
Great, thanks. I almost have this working but with one little problem. 1) I add the init method to my class 2) When init is invoked from the NIB I call objc_msgSend with the selector init which returns the new instance of the class (retrieved from objc_getClass) I previously registered with the runtime and added instance variables. 3) I call class_getInstanceVariable to get the instance variable I need to assign the reference to the wrapper class. Here class_getInstanceVariable returns nil which it never did before. I'm using the 1.0 runtime for now btw, but I get the class of the instance by using the isa field of the structure and give that class as the parameter to class_getInstanceVariable. This worked with other objects so I think I may have created the instance wrong. Is simply sending init to the class not enough? I tried calling alloc also but it entered into an infinite loop. Also, do I need to being the self parameter in this process that is the first parameter in the method? I find it strange I have another instance of this object I'm trying to replace, what should I do with it? Is it leaking memory? Thanks for helping with this I appreciate it. On Mar 24, 2009, at 11:22 AM, Ashley Clark wrote: You could call class_copyMethodList and iterate through that to find only methods defined directly on a class, but there's no harm in just calling class_addMethod. It will add an override of a superclass' implementation but will not replace an existing implementation if one was already defined on the class. So, there's no need to decide between add or exchange. Do both! eg. (typed in Mail, YMMV) Class klass = ... SEL selector = ... Method originalMethod = class_getInstanceMethod(klass, selector); class_addMethod(klass, selector, class_getMethodImplementation(klass, selector), method_getTypeEncoding(originalMethod)); class_replaceMethod(...); You'll get the right behavior every time, assuming right means you only want to replace the method on the class and not its' superclasses. Regards, Josef ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: IB instantiating objects
I'm sorry! The light bulb just went off as soon as I sent that last message. I'm NOT supposed to init a NEW instance, but use that instance and simply modify it, which works perfectly. Please ignore that last message, this issue is solved and thank you very much for helping. Pascal users on Mac thank you also. On Mar 24, 2009, at 11:22 AM, Ashley Clark wrote: On Mar 23, 2009, at 10:31 PM, Gmail wrote: On Mar 24, 2009, at 10:01 AM, Ashley Clark wrote: On Mar 23, 2009, at 9:30 PM, Gmail wrote: Thanks! I think that document explains everything I need to know to take control over IB. This is more Objective-C related by maybe you have a quick tip. My first tests suggest that my method for overriding is not correct because overriding init is getting invoked from all sorts of other classes (like NSFileManager to name a few) when the NIB is loading. I use class_getInstanceMethod (with the instance of the custom class I registered with the objective-c runtime) to get the method then replace the implementation with my function pointer. This method worked before for overriding drawRect: in NSView so I'm not sure what is different now. Any ideas? class_getInstanceMethod searches the entire class hierarchy. So, if the class you're working with didn't override that implementation you'll be replacing the superclass' implementation. If you call class_addMethod on self with the result of class_getMethodImplemenation you'll be adding it to the subclass if it's not already overridden. After that calling method_exchangeImplementations will only affect that class. Hmmm, I overrode the superclasses implementation, i.e. NSObject, which sounds about right considering the results. So, I need to be using class_addMethod for init because my new class has no implementation for that method. I think the previous attempt to override NSView worked because drawRect: DID have an implementation for that selector already added to the runtime, which is not the case with my new class. Thank you Ashley I think you are correct. Is there anyway way to determine if a class has an implementation for a method so I can decide to add a new method or override an existing? As it stands I don't know in code when I should add or exchange implementations. You could call class_copyMethodList and iterate through that to find only methods defined directly on a class, but there's no harm in just calling class_addMethod. It will add an override of a superclass' implementation but will not replace an existing implementation if one was already defined on the class. So, there's no need to decide between add or exchange. Do both! eg. (typed in Mail, YMMV) Class klass = ... SEL selector = ... Method originalMethod = class_getInstanceMethod(klass, selector); class_addMethod(klass, selector, class_getMethodImplementation(klass, selector), method_getTypeEncoding(originalMethod)); class_replaceMethod(...); You'll get the right behavior every time, assuming right means you only want to replace the method on the class and not its' superclasses. Ashley Regards, Josef ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: NSView Text Paint inversed
Hi, I finally solved the issue. I was using the CGContextShowTextAtPoint and CGAffineTransformMakeRotation to draw it correctly. Due to some problem (I created :P ) the previous state of the context was stored and then the rotations where concatenated, so the text was fliping in each redraw. Now it's solved. Thanks. On Wed, May 21, 2008 at 1:34 AM, Graham Cox [EMAIL PROTECTED] wrote: Post your drawing code. Inverted text isn't too uncommon, as text expects to be drawn into a flipped context. For a view, it should work whether you are flipped or not, but if you are drawing in some unusual way you might be confusing it. G. On 21 May 2008, at 1:40 am, Jere Gmail wrote: Hi. I have an NSView where I paint some text and paths. The paths are drawn ok, but when I resize the window, sometimes the text is written upside down. Anyone knows why? Thanks. -- http://zon7blog.wordpress.com/ And again we fall. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/graham.cox%40bigpond.com This email sent to [EMAIL PROTECTED] -- http://zon7blog.wordpress.com/ And again we fall. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]
NSView Text Paint inversed
Hi. I have an NSView where I paint some text and paths. The paths are drawn ok, but when I resize the window, sometimes the text is written upside down. Anyone knows why? Thanks. -- http://zon7blog.wordpress.com/ And again we fall. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]
Re: Sleep Display
Hi. I've tryed this code and it works. The problem is that with some machines it causes a kernel panic. They are PPC machines. Isn't this code compatible? On Sun, Nov 4, 2007 at 8:45 AM, Andrew James [EMAIL PROTECTED] wrote: Hi, How far back is this compatible? is it only 10.5? On 11/4/07, Andrew Farmer [EMAIL PROTECTED] wrote: On 30 Oct 07, at 15:33, Andrew James wrote: I noticed steve added the nice feature to sleep the display via a hot corner, but is there a way for us devs to hook into it? I am currently using a pmset hack which i would prefer to use a cleaner method Undocumented, use at your own risk, etc. It ends up involving more IOKit than Cocoa, as it turns out. #include CoreFoundation/CoreFoundation.h #include IOKit/IOKitLib.h int dimDisplayNow(void) { io_registry_entry_t r = IORegistryEntryFromPath(kIOMasterPortDefault, IOService:/IOResources/ IODisplayWrangler); if(!r) return 1; int err = IORegistryEntrySetCFProperty(r, CFSTR(IORequestIdle), kCFBooleanTrue); IOObjectRelease(r); return err; } ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/zon7mail%40gmail.com This email sent to [EMAIL PROTECTED] -- http://zon7blog.wordpress.com/ And again we fall. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]
Re: An Example NSStatusItem with a menu
it is easy. Just set the properties of the NSStatusItem. Then don't state setMenu. Instead call setAction with a method. [status_menu setAction:@selector(menuClick:)]; In that method you can add all the items you want. At the end of the method you have to call the popUpStatusItemMenu method to display the method. This way you can enable or disable items depending on app variables - (IBAction)menuClick:(id)sender { NSMenu *menu=[[[NSMenu alloc] initWithTitle:@] autorelease]; [menu setAutoenablesItems:false]; NSMenuItem *it=[[[NSMenuItem alloc] initWithTitle:@Prefs action:@selector(showPrefs:) keyEquivalent:@] autorelease]; if([win_preferences isVisible]) [it setEnabled:false]; [it setTarget:self]; [menu addItem:it]; it=[[[NSMenuItem alloc] initWithTitle:@Quit action:@selector(closeApplication:) keyEquivalent:@] autorelease]; [it setTarget:self]; [menu addItem:it]; [status_menu popUpStatusItemMenu:menu]; } Hope it helps -- http://zonsoftware.wordpress.com/ And again we fall. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]
Re: List Running apps and windows
Well, finally solved. No need for AXIsProcessTrusted. The problem is that the data stored in the NSArray was comming from an CFArray and was not printed with NSLog. But it was there. I want to use the info to do something like witch. Thanks a lot for your tips. I'll post some code latter if someone ask for it. There are lots of info to make and application accesible but no info to make an assistive app. On Mon, May 5, 2008 at 1:24 AM, Adam Leonard [EMAIL PROTECTED] wrote: On May 4, 2008, at 2:28 AM, Jere Gmail wrote: I have implemented this code: if(!AXAPIEnabled ()) { NSLog(@API not enabled); return; } if(!AXIsProcessTrusted ()) { NSLog(@PROCESS not trusted); } And it enters the second if, so my app is not trusted. I have tried using AXMakeProcessTrusted((CFStringRef)path); But it wont do anything, no matter if I relaunch or not. Guesses? You need to be running as root to call AXMakeProcessTrusted(). I wrote a post on my blog with some code to do that: http://caffeinatedcocoa.com/blog/?p=12 (look towards the bottom) Adam Leonard ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/zon7mail%40gmail.com This email sent to [EMAIL PROTECTED] -- http://zon7blog.wordpress.com/ And again we fall. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]
Re: List Running apps and windows
PD: I have tried the UIElementInspector code and it also says that the App is not trusted, but it succeeds in geting other apps info. Instead when I run AXUIElementRef ref=AXUIElementCreateApplication(pid); AXUIElementCopyAttributeNames(ref, (CFArrayRef *)theNames); theNames is empty. Why is this happening? On Sun, May 4, 2008 at 11:28 AM, Jere Gmail [EMAIL PROTECTED] wrote: I have implemented this code: if(!AXAPIEnabled ()) { NSLog(@API not enabled); return; } if(!AXIsProcessTrusted ()) { NSLog(@PROCESS not trusted); } And it enters the second if, so my app is not trusted. I have tried using AXMakeProcessTrusted((CFStringRef)path); But it wont do anything, no matter if I relaunch or not. Guesses? On Sun, May 4, 2008 at 1:17 AM, Jean-Daniel Dupas [EMAIL PROTECTED] wrote: Le 4 mai 08 à 01:09, Steve Christensen a écrit : On May 3, 2008, at 3:52 PM, Jere Gmail wrote: I want to list all the running apps and their windows. Running apps is easy with [ws launchedApplications] but I cant find a way for listing their windows. I have tried NSWindowList(win_count,arr_win) but then [[NSApplication sharedApplication] windowWithWindowNumber:arr_win[i]] in a bucle will give me no info on windows from other apps. Can anyone help? Thanks Each application has its own private address space, so including another app's windows in your app's window list doesn't make sense. The only way to find out about other app's windows is to have the user enable accessibility in System Preferences. This has already been discussed in detail here and on other lists. You might try doing a search to see what's already been said. In fact, this is no longer true on Leopard. Window are always in there own space, but you can list all windows and even create image for each window on screen. http://developer.apple.com/samplecode/SonOfGrab/ And it make sense to inlude other app window in an a list, else tools like the GrabFS would not exists. -- http://zon7blog.wordpress.com/ And again we fall. -- http://zon7blog.wordpress.com/ And again we fall. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]
Re: List Running apps and windows
I have implemented this code: if(!AXAPIEnabled ()) { NSLog(@API not enabled); return; } if(!AXIsProcessTrusted ()) { NSLog(@PROCESS not trusted); } And it enters the second if, so my app is not trusted. I have tried using AXMakeProcessTrusted((CFStringRef)path); But it wont do anything, no matter if I relaunch or not. Guesses? On Sun, May 4, 2008 at 1:17 AM, Jean-Daniel Dupas [EMAIL PROTECTED] wrote: Le 4 mai 08 à 01:09, Steve Christensen a écrit : On May 3, 2008, at 3:52 PM, Jere Gmail wrote: I want to list all the running apps and their windows. Running apps is easy with [ws launchedApplications] but I cant find a way for listing their windows. I have tried NSWindowList(win_count,arr_win) but then [[NSApplication sharedApplication] windowWithWindowNumber:arr_win[i]] in a bucle will give me no info on windows from other apps. Can anyone help? Thanks Each application has its own private address space, so including another app's windows in your app's window list doesn't make sense. The only way to find out about other app's windows is to have the user enable accessibility in System Preferences. This has already been discussed in detail here and on other lists. You might try doing a search to see what's already been said. In fact, this is no longer true on Leopard. Window are always in there own space, but you can list all windows and even create image for each window on screen. http://developer.apple.com/samplecode/SonOfGrab/ And it make sense to inlude other app window in an a list, else tools like the GrabFS would not exists. -- http://zon7blog.wordpress.com/ And again we fall. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]
Update NSMenuItem while displaying
I have a NSMenuItem int a NSStatusBarItem that displays the remaining time of a timer. It is only updated when I'm not viewing the menu. When I click in the menu, I can see in the debug console that no there are no calls to the timer loop function. How can I solve it? -- http://zon7blog.wordpress.com/ And again we fall. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]
List Running apps and windows
I want to list all the running apps and their windows. Running apps is easy with [ws launchedApplications] but I cant find a way for listing their windows. I have tried NSWindowList(win_count,arr_win) but then [[NSApplication sharedApplication] windowWithWindowNumber:arr_win[i]] in a bucle will give me no info on windows from other apps. Can anyone help? Thanks -- http://zon7blog.wordpress.com/ And again we fall. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]
Disabling screen turning off
Hi. I know I can stop the machine from going to sleep through calling the function UpdateSystemActivity ( UInt8 activity ); But I also want to stop it from turning off the screen, as quicktime or vlc do. How can I do this? -- http://zon7blog.wordpress.com/ And again we fall. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]
Not showing window at Document-Based application
I have created Document-Based application. The problem is that every time I run the application an empty document is created. I don't want this to happen. I want the user to have to open a new one. How can I disable this behaviour? -- http://zon7blog.wordpress.com/ And again we fall. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]
Re: Not showing window at Document-Based application
Thanks. It worked. On Sat, Apr 26, 2008 at 1:34 PM, Jean-Daniel Dupas [EMAIL PROTECTED] wrote: Le 26 avr. 08 à 11:57, Jere Gmail a écrit : I have created Document-Based application. The problem is that every time I run the application an empty document is created. I don't want this to happen. I want the user to have to open a new one. How can I disable this behaviour? Implements this method in your NSApplication delegate to return NO: - (BOOL)applicationShouldOpenUntitledFile:(NSApplication *)sender -- http://zon7blog.wordpress.com/ And again we fall. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]
Problem with Memory Leaks
I've an image loaded into memory and I want to flip it. The problem is that when I do it some memory is leaked. I've searched and sliced the code but can't find where it is. Maybe someone can help. The function I call is flip. If I call flip_v or needsDisplay only no leak happens, but when both are called there is something wrong. Thanks. -(void)flip { [self flip_v]; [self setNeedsDisplay:TRUE]; } - (void)drawRect:(NSRect)rect { CIContext *context = [[NSGraphicsContext currentContext] CIContext]; CGRect cg = CGRectMake(NSMinX(rect), NSMinY(rect), NSWidth(rect), NSHeight(rect)); if(context != nil) [context drawImage:m_image atPoint:cg.origin fromRect: cg]; } -(void)flip_v { CIImage *im=[[m_image copy] autorelease]; [m_image release]; CIFilter* filter = [CIFilter filterWithName: @CIAffineTransform]; [filter setValue: im forKey:@inputImage]; NSAffineTransform* transform = [NSAffineTransform transform]; [transform translateXBy:[im extent].size.width yBy: 0 ]; [transform scaleXBy: -1 yBy: 1]; [filter setValue:transform forKey:@inputTransform]; m_image=[filter valueForKey:@outputImage]; [m_image retain]; } ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]
Re: Problem with Memory Leaks
The call is done with click on a toolbar item, so it's not in a thread. With the copying and releasing m_image thing you are right. Your way is better. Thanks Btw. I found someone with the same problem here, but there must be another answer. http://lists.apple.com/archives/Quartz-dev/2006/Dec/msg00035.html On Sat, Apr 26, 2008 at 11:52 PM, Michael Vannorsdel [EMAIL PROTECTED] wrote: How do you know there's a leak and do you know what type of object is being leaked? I don't see any obvious leaks in your code snippet. If flip_v is done in a secondary thread and you're not creating an autorelease pool and draining it, then you could have a leak. That's my best guess without more info. Also, I'm curious why you're copying m_image and tossing the original. It seems to make more sense to autorelease m_image and use it as the input, not using a copy. Same result with less time and memory. On Apr 26, 2008, at 2:32 PM, Jere Gmail wrote: I've an image loaded into memory and I want to flip it. The problem is that when I do it some memory is leaked. I've searched and sliced the code but can't find where it is. Maybe someone can help. The function I call is flip. If I call flip_v or needsDisplay only no leak happens, but when both are called there is something wrong. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/zon7mail%40gmail.com This email sent to [EMAIL PROTECTED] -- http://zon7blog.wordpress.com/ And again we fall. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]
Re: Problem with Memory Leaks
Well, It seems to be a known bug. To solve it just replaced the call to CIContext *context = [[NSGraphicsContext currentContext] CIContext]; with CIContext *context=[CIContext contextWithCGContext: [[NSGraphicsContext currentContext] graphicsPort] options: nil]; On Sun, Apr 27, 2008 at 12:07 AM, Jere Gmail [EMAIL PROTECTED] wrote: The call is done with click on a toolbar item, so it's not in a thread. With the copying and releasing m_image thing you are right. Your way is better. Thanks Btw. I found someone with the same problem here, but there must be another answer. http://lists.apple.com/archives/Quartz-dev/2006/Dec/msg00035.html On Sat, Apr 26, 2008 at 11:52 PM, Michael Vannorsdel [EMAIL PROTECTED] wrote: How do you know there's a leak and do you know what type of object is being leaked? I don't see any obvious leaks in your code snippet. If flip_v is done in a secondary thread and you're not creating an autorelease pool and draining it, then you could have a leak. That's my best guess without more info. Also, I'm curious why you're copying m_image and tossing the original. It seems to make more sense to autorelease m_image and use it as the input, not using a copy. Same result with less time and memory. On Apr 26, 2008, at 2:32 PM, Jere Gmail wrote: I've an image loaded into memory and I want to flip it. The problem is that when I do it some memory is leaked. I've searched and sliced the code but can't find where it is. Maybe someone can help. The function I call is flip. If I call flip_v or needsDisplay only no leak happens, but when both are called there is something wrong. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/zon7mail%40gmail.com This email sent to [EMAIL PROTECTED] -- http://zon7blog.wordpress.com/ And again we fall. -- http://zon7blog.wordpress.com/ And again we fall. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]
Hide application from dock
I know I can hide my app from dock simply changing the value NSUIElement in the Info.plist But I want to do it from inside the application. Is there an easy way to modify this file? -- http://zon7blog.wordpress.com/ And again we fall. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]
Re: Hide application from dock
I know taht with nsbundle I can obtain the path. But as it is a xml file, I didn't want to mess with it and I was guessing some class could handle it easily. btw, I know I have to restart the application in order to apply the changes :P On Wed, Apr 9, 2008 at 11:25 PM, Randall Meadows [EMAIL PROTECTED] wrote: On Apr 9, 2008, at 3:10 PM, Jere Gmail wrote: I know I can hide my app from dock simply changing the value NSUIElement in the Info.plist But I want to do it from inside the application. Is there an easy way to modify this file? NSBundle -pathForResource... will get you the path to the file, which you can then open and modify. You'll have to restart the app in order for that change to be seen by the system. -- http://zon7blog.wordpress.com/ And again we fall. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]
NSString format parameter order
I'm looking for a way to switch parameters order in order to use the same parameters for different languages. something like NSString string1=@you NSString string1=@hello NSString str=[NSString stringWithFormat:@%2 %1, string1,string2]; will make str value hello you. I have been working with CString over in windows and it is possible but i don't find any alternatives -- http://zon7blog.wordpress.com/ And again we fall. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]
Re: NSString format parameter order
Well, I have found a good solution using stringByReplacingOccurrencesOfString:withString:options:range: The only problem is that one of the parameters is a float, and if I want to display it with more or less precision I would have to make a preprocess of the parameter format into the string. Now it works with: [str stringByReplacingOccurrencesOfString:@%1 withString:string1] On Tue, Apr 8, 2008 at 11:55 AM, Michael Vannorsdel [EMAIL PROTECTED] wrote: You could load the strings into an NSArray and then use the proper indexes to print out the string you want. On Apr 8, 2008, at 3:48 AM, Jere Gmail wrote: Well, it's not a language thing at this moment but it started this way. Right now I have a txt file with one string with the places where the fields should be. I use it as a template to generate an HTML from some fields obtained from and XML. This way I can change the page displayed without having to recompile the application. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/zon7mail%40gmail.com This email sent to [EMAIL PROTECTED] -- http://zon7blog.wordpress.com/ And again we fall. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]
Menu on system bar
I know I can place a menu on the system bar to make my application accesible when on background, but right now I can't find it. I did it last year but totally forgot. Anyone can help? -- http://zon7blog.wordpress.com/ And again we fall. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]