Re: Share and store RSA - public key in java server and vice versa

2014-05-19 Thread Devarshi Kulshreshtha
This is what I am trying to achieve from some days now: Approach #1: ~ Android End ~ 1. Generated public and private key at an android device (using an openssl wrapper) 2. Got modulus and exponent from the generated public key ~ iOS End ~ 3. Generated public key from modulus and exponent, at ios

History of iTunes Store music previews

2014-05-19 Thread Madhavi Gundeti
Hi, Is there any way to save iTunes Store music/video preview history on my Macintosh Music Library? I am developing one Mac application to save the history of played music/video by user(including music/video previews). But I observed iTunes Store is not saving music/video preview history of Ano

'nuther dumb question

2014-05-19 Thread William Squires
Why doesn't NSData have a +[NSData dataWithString:(NSString *)] or -[NSData initWithString:(NSString *)] method? i.e. how do I convert the contents of an NSString object into an NSData object? Why? Because -[NSFileHandle writeData:(NSData *)] takes an NSData object, not an NSString object. Ar

Re: NSSharingService with Animated GIFs?

2014-05-19 Thread Ken Thomases
On May 16, 2014, at 10:26 AM, Charles Carver wrote: >> I'm pretty new to Objective-C, but have been mostly understanding everything >> so far. I am stuck, however, on trying to share an animated GIF through >> NSSharingService. >> >> I am attaching the image like so, where “image" is a string c

Re: Share and store RSA - public key in java server and vice versa

2014-05-19 Thread Jens Alfke
On May 19, 2014, at 3:06 AM, Devarshi Kulshreshtha wrote: > 5. Used - wrapSymmetricKey:keyRef: method defined in SecKeyWrapper > class (CryptoExercise example) for encryption, and passed key obtained > from step 3 and data to encrypt obtained from step 4 to it I think you’re misusing wrapSymme

Re: Not getting mouseDown: called when control-clicking in view in menu item

2014-05-19 Thread Lee Ann Rucker
NSView handles rightMouseDown: differently - it calls calls menuForEvent: Documentation says in 10.7+ it should pass it up the responder chain, so you ought to get it. I'd put a symbolic break on -[NSView rightMouseDown:] and see if it's being called; that might shed some light on where it's go

Re: get & set firewall status

2014-05-19 Thread Jens Alfke
On May 16, 2014, at 6:56 PM, 2551 <2551p...@gmail.com> wrote: > Is there a Cocoa way to get get and set the status of the built-in OS X > Firewall? It’s ipfw under the hood; a web-search for that might turn up some info. Also, I suggest asking on the darwin-userlevel list, which is a more appr

Re: mavericks style tabs

2014-05-19 Thread Lee Ann Rucker
On May 18, 2014, at 3:30 PM, SevenBits wrote: > On May 18, 2014, at 6:22 PM, Uli Kusterer > wrote: > >> On 18 May 2014, at 23:06, Luther Baker wrote: >>> Trying my hand at some Cocoa development ... is there an SDK around the >>> tabs used in Finder or Safari? >>> >>> If not, is there a popu

Re: get & set firewall status

2014-05-19 Thread Marco S Hyman
On May 19, 2014, at 12:02 PM, Jens Alfke wrote: > It’s ipfw under the hood; a web-search for that might turn up some info. > Also, I suggest asking on the darwin-userlevel list, which is a more > appropriate forum for this question since it isn’t about Cocoa. ipfw is deprecated. pf -- see pf

Re: get & set firewall status

2014-05-19 Thread Alex Zavatone
Out of curiosity, in which version of the OS is pf taking over for ipfw? On May 19, 2014, at 3:26 PM, Marco S Hyman wrote: > > On May 19, 2014, at 12:02 PM, Jens Alfke wrote: > >> It’s ipfw under the hood; a web-search for that might turn up some info. >> Also, I suggest asking on the darwin-

NSAlert - Default Cancel also respond to Escape?

2014-05-19 Thread Seth Willits
Any ideas on how to get a Cancel button which is both the default button and responds to escape? Both require setting the button's key equivalent and there can only be one. -- Seth Willits -- Seth Willits ___ Cocoa-dev mailing list (Cocoa-

Re: get & set firewall status

2014-05-19 Thread Marco S Hyman
On May 19, 2014, at 1:03 PM, Alex Zavatone wrote: > Out of curiosity, in which version of the OS is pf taking over for ipfw? The switch started in Lion. I don't know if ipfw has been completely replaced. I seem to remember that some things were still being done in ipfw. Or maybe I'm thinking

Re: NSAlert - Default Cancel also respond to Escape?

2014-05-19 Thread Jerry Krinock
On 2014 May 19, at 13:30, Seth Willits wrote: > Any ideas on how to get a Cancel button which is both the default button and > responds to escape? Both require setting the button's key equivalent and > there can only be one. Maybe override -keyDown: somewhere. __