Installing MDM profile via Safari View Controller

2016-03-08 Thread Arjun SM
Hi all, I have a requirement to install an MDM profile with-in the App for which I was trying to use Safari View Controller. But in the POC i tried, Safari VC fails to installs the Profiles. No error logs are printed on console as well to understand what failed. The same works perfectly fine when

Fwd: XPC service crash

2015-04-27 Thread Arjun SM
Hi all, My XPC service is crashing on Mavericks 10.9.5 and on Mountain Lion 10.8.x and I am not able to figure out the problem. I have pasted the logs below. The same code works perfectly fine on latest *10.10 Yosemite*. I am not sure what changes to be done in my code to make it work on Maverick

NSUserDefault crash issue

2014-01-10 Thread Arjun SM
Hi all, I am having a crash issue when i am trying to set the dictionary for persistent domain. *Scenario* When user logs in to my application, my app receives a few settings from a server which is updated to NSMutableDictionary. After updating the dictionary , I set the the values for the domai

iTunes Parental Preferences doesn't change on editing plist file on Mavericks OS X

2013-11-27 Thread Arjun SM
Hi all, I have an application which monitors the iTunes plist file to control the Parental tab settings and I am running to an issue on Mavericks 10.9. On Mountain Lion 10.8.x and Lion OS X 10.7.x , I would monitor and update the plist file present at path ~/Library/Preferences/com.apple.iTunes.

Localization issue with ES-MX

2012-08-02 Thread Arjun SM
Hi all, I am having some trouble supporting ES-MX language as language falls back to Spanish when I boot my machine in "Espanol Latinoamerica", any help is appreciated. *Details *: I have made provisions for both the language's by creating separate ES-MX.lproj and Spanish.lproj. Although I h

cocoa API to get List of hard disk Partitions

2010-02-18 Thread Arjun SM
Hi, Can any one help me out on How I can get the List of all hard disk partions mounted on the the System along with the Icon, just like Disk Utility application does. (Image below.) [image: ?ui=2&view=att&th=126df98c109f6b52&attid=0.1&disp=attd&realattid=ii_126df98c109f6b52&zw] I have used

*** -[NSBundle Load] : Error loading code

2009-06-23 Thread Arjun SM
Hi all, I am get the following error every time i run my application on Tiger 10.4.11 *** -[NSBundle Load] : Error loading code /Library/Application Support/appName.bundle/Contents/MacOS/appName for bundle /Library/Application Support/appName.bundle/Contents/MacOS/appName, error code 2 (link edit

Re: problems with scripting

2009-06-12 Thread Arjun SM
>>My application has opened documents, but script returns "can't get name of document 1". i think you should change your Applescript. tell application "MyApp" end tell is the one that you have mentioned in the .Sdef file . In your Xcode when you click on the Sdef file , check

Re: Drop dowm status menubar item while hovering cursor over it

2009-06-10 Thread Arjun SM
Pardon me for i din't understand (still a novice). I did try adding a tooltip for the menu item, but when i clicked on the menu bar and hovered the mouse over my Menulet drop down didn't appear even though menuitem of Time Machine, Bluetooth and other applications did drop down. any help is much ap

- windowDidLoad not getting called !

2009-06-08 Thread Arjun SM
Hi all, I have written an application for which in the about box there is a link to a website. Below is the code for it NSMutableAttributedString *tempCompanyURLString = [[NSMutableAttributedString alloc] initWithString:@"www.mycompany.com"]; // assume string exists NSRange selectedRange = N

Re: stopping an application

2009-04-12 Thread Arjun SM
Use the 'do shell script' command do shell script kill -9 PID That should work. On Mon, Apr 13, 2009 at 10:08 AM, James W. Walker wrote: > > On Apr 12, 2009, at 8:55 PM, Greg Guerin wrote: > > Bill Janssen wrote: >> >> I was afraid of that... Is there an easy way to do that from the >>> comm

'NSInternalInconsistencyException', reason: 'Error (1002) creating CGSWindow'

2009-01-20 Thread Arjun SM
Hi all, I have created a custom Menulet which i have made it as a launchAgent . The problem i am facing is when i try to install it. I want my Menulet to be launched for all the Users who have logged in on the machine. I works fine for all the Users, but if i install my Menulet as root .. my ap

Having issues using NSAttribute strings with link Attribute ..

2009-01-19 Thread Arjun SM
Hi all, i am novice in cocoa so please bear with me .. I have created an URL link in one my custom applications About box as described below NSMutableAttributedString *string = [[NSMutableAttributedString alloc] initWithString:@"Cocoa Inc"]; NSRange selectedRange = NSMakeRange(0, 10); NSURL *li

Require help with Mouse click event on Status Item

2008-12-12 Thread Arjun SM
Hi, I am a novice in Cocoa and require some help. I have developed a Menulet/StatusItem in Cocoa wherein i have few functionality on Menu drop down. I wanted to improvise on it. For instance clicking on the Menulet/StatusItemStatus Item, the Menu drop down populates. How can i capture the Mouse

How to create blunt Edges for a NSWindow

2008-12-12 Thread Arjun SM
Hi, I am a novice in cocoa and i have created a simple app which has only one window. I wanted to display a bottom bar that has blunt edges at the corners of the window. (Ex Finder windows bottom bar) Thanks in advance Arjun ___ Cocoa-dev mailing list (