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

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

2013-03-21 Thread anni saini
,     kMDItemFSIsStationery,     kMDItemFSLabel ~Anni From: Tim Schröder t...@timschroeder.net To: anni saini anni_sa...@yahoo.com Cc: cocoa-dev@lists.apple.com cocoa-dev@lists.apple.com Sent: Wednesday, 20 March 2013 4:39 PM Subject: Re: How to get all the path

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 k...@codeweavers.com To: anni saini anni_sa...@yahoo.com Cc: cocoa-dev@lists.apple.com cocoa-dev@lists.apple.com Sent: Monday, 11 March 2013 7:31 PM

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 {    

Re: Issue of NSStatusBar

2013-02-27 Thread anni saini
or giving them some unique property so that you can distinguish them. is the proper one. Thanks. From: Ken Thomases k...@codeweavers.com To: anni saini anni_sa...@yahoo.com Cc: cocoa-dev@lists.apple.com cocoa-dev@lists.apple.com Sent: Wednesday, 27 February 2013

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 k...@ksluder.com To: Anil

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-dev

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