How to remove NSUserNotification from NotificationCenter

2013-07-03 Thread anni saini
I am using NSUserNotificationCenter to display scheduled Notifications. I have notifications of my app in the right side notification panel so whenever I click on the notification it'll launch the app but it won't remove notification from the panel. 1. When app is not running and I clicked on

Re: How to get all the path of an application present on the disk

2013-03-21 Thread anni saini
idden,     kMDItemFSIsStationery,     kMDItemFSLabel ~Anni From: Tim Schröder To: anni saini Cc: "cocoa-dev@lists.apple.com" Sent: Wednesday, 20 March 2013 4:39 PM Subject: Re: How to get all the path of an application present on the disk I don't have the c

How to get all the path of an application present on the disk

2013-03-20 Thread anni saini
Hi, I'm tried to find out all the locations where my app is present on the disk. Is there any Cocoa API which returns an array of path of an application. For example: my app identifier is "abc.xyz" and name is "ABCXYZ". I have four copies of app on the disk so I want to find out all the paths.

Re: Issue with makeKeyAndOrderFront

2013-03-12 Thread anni saini
Thanks Ken. That works but this property doesn't make it active window.   Regards, Anni From: Ken Thomases To: anni saini Cc: "cocoa-dev@lists.apple.com" Sent: Monday, 11 March 2013 7:31 PM Subject: Re: Issue with makeKeyAndOrderFront On Mar

Issue with makeKeyAndOrderFront

2013-03-11 Thread anni saini
Hi, My app is just having NSStatusBar menu such as Adium. On right click context menu, I'm calling some window to open. //Calling method myWindow = [[MyWindowViewController alloc]init]; myWindow.data = @"abc"; [myWindow show:self]; //Called method - (void)show:(NSWindow*)parentWindow {    [myPa

Re: Issue of NSStatusBar

2013-02-27 Thread anni saini
rom a list or giving them some unique property so that you can distinguish them." is the proper one. Thanks. From: Ken Thomases To: anni saini Cc: "cocoa-dev@lists.apple.com" Sent: Wednesday, 27 February 2013 12:04 PM Subject: Re: Issue of NSSt

Re: Issue of NSStatusBar

2013-02-26 Thread anni saini
I got the solution, just need to check for NSStatusBarWindow className as follows: if([awindow isVisible] && ![aWindow aboutWin] && ![aWindow loginWindow] &&  ![[aWindow className] isEqual:@"NSStatusBarWindow"]) Thanks. From: Kyle Sluder To: Anil Saini Cc:

Pointer was being free was not allocated

2013-02-13 Thread anni saini
Hi, Can anybody know how to resolve the issue of  "Pointer was being free was not allocated" I was facing this issue with my project on 10.7 and 10.8 however the code works perfectly fine on 10.6. Any idea what is causing this? Thanks. ___ Cocoa-de

Cross platform open source third party library for webservices

2011-07-13 Thread anni saini
Hi, I'm looking for cross platform open source third party library for web services which support c++. I have generated c++ files using WSMakeStubs utility but it uses Core Foundation data types. I want a library which provide web service call through c++ so that I can use it on Windows and Ma