Re: How to speak Chinese on 10.9.2

2014-05-14 Thread Gerriet M. Denkmann
On 15 May 2014, at 08:41, Jens Alfke wrote: > On May 14, 2014, at 6:24 PM, Gerriet M. Denkmann wrote: > >> But the only thing in 10.9.2 I found was NSSpeechSynthesizer, which has 24 >> voices (which is nice) but all 24 have VoiceLanguage = VoiceLocaleIdentifier >> = en_US (which seems rather

Client certificate extraction out of SSL/TLS Connection on server side

2014-05-14 Thread Bastian Hafer
Hey Developers, I am currently writing an client and a server that are communicating via SSL/TLS. Both of them have self signed certificates. The connection works fine and as far as I checked the traffic is encrypted. Now I want to extract the certificates from the working stream that are resp

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

2014-05-14 Thread Roland King
On 15 May, 2014, at 7:25 am, Jens Alfke wrote: > > On May 14, 2014, at 3:48 PM, Roland King wrote: > >> I'm just pointing out the advice which is constantly and consistently given >> by Apple (particularly Quinn) on the developer forum that getting the bits >> of a private key on iOS is uns

Re: Obtain an NSDate object from any casually entered user string

2014-05-14 Thread Gerriet M. Denkmann
On 15 May 2014, at 02:00, Ken Thomases wrote: > > On May 14, 2014, at 8:41 AM, Jonathan Mitchell wrote: > >> Is there a way to obtain an NSDate object from a casually entered user >> string, say: 1 1 2015 or 25 jul 15? >> >> I have looked at the various NSDateFormatter and NSDate API and can

Re: How to speak Chinese on 10.9.2

2014-05-14 Thread Jens Alfke
On May 14, 2014, at 6:24 PM, Gerriet M. Denkmann wrote: > But the only thing in 10.9.2 I found was NSSpeechSynthesizer, which has 24 > voices (which is nice) but all 24 have VoiceLanguage = VoiceLocaleIdentifier > = en_US (which seems rather odd). The non-English voices are optional downloads

How to speak Chinese on 10.9.2

2014-05-14 Thread Gerriet M. Denkmann
My iPhone can speak in 36 languages, from German, to Thai and Chinese, using AVSpeechSynthesisVoice. But the only thing in 10.9.2 I found was NSSpeechSynthesizer, which has 24 voices (which is nice) but all 24 have VoiceLanguage = VoiceLocaleIdentifier = en_US (which seems rather odd). What am

Re: DTS: how long for response?

2014-05-14 Thread David Duncan
On May 14, 2014, at 4:21 PM, Trygve Inda wrote: > I used a DTS incident and have not heard back in 24 hours. Does anyone know > about how long it normally takes these days (Mac OS X)? DTS typically responds within 3 business days. > > It's been several years since I have used one. > > Thanks,

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

2014-05-14 Thread Jens Alfke
On May 14, 2014, at 3:48 PM, Roland King wrote: > I'm just pointing out the advice which is constantly and consistently given > by Apple (particularly Quinn) on the developer forum that getting the bits of > a private key on iOS is unsupported and subject to change, and to do the job > on a s

DTS: how long for response?

2014-05-14 Thread Trygve Inda
I used a DTS incident and have not heard back in 24 hours. Does anyone know about how long it normally takes these days (Mac OS X)? It's been several years since I have used one. Thanks, Trygve ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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

2014-05-14 Thread Roland King
I'm just pointing out the advice which is constantly and consistently given by Apple (particularly Quinn) on the developer forum that getting the bits of a private key on iOS is unsupported and subject to change, and to do the job on a server which you trust and return the information. Here's on

NSSharingService with Animated GIFs?

2014-05-14 Thread Charles Carver
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 containing the URL of an animated GIF (http://i.imgur.com/V8w9fKt.gi

Bug with Airlocate

2014-05-14 Thread Jerry.li
Hi All, I want to calibrate my beacon with AirLocate(download from https://developer.apple.com/library/ios/samplecode/AirLocate/Introduction/Intro.html), If I set my beacon proximity UUID as B9407F30-F5F8-466E-AFF9-25556B57FE6D (my own Proximity UUID, generate by ‘uuidgen’), it doesn’t work, bu

Re: Subclassing and private methods

2014-05-14 Thread Michelangelo Chasseur
I would also consider forking the original project and modifying the pod. Then you would be able to include the pod in you Podfile by just specifying the URL of the forked git repo. Just my 2 cents. Mike -- Michelangelo Chasseur Il giorno mercoledì 7 maggio 2014, alle ore 21:38, Rick Aur

Re: ARC clean up?

2014-05-14 Thread Kyle Sluder
On May 14, 2014, at 9:12 AM, William Squires wrote: > > Okay, in non-ARC code, one would override dealloc to put clean-up code (to > release retained objects, close open streams/files, etc...). But where do we > put this in ARC code? You can still override -dealloc in ARC. You just can't relea

Re: ARC clean up?

2014-05-14 Thread Jeffrey Robert Kelley
You can still override -dealloc, just don’t call [super dealloc] anywhere in it. Jeff Kelley slauncha...@gmail.com | @SlaunchaMan | jeffkelley.org On May 14, 2014, at 12:12 PM, William Squires wrote: > Okay, in non-ARC code, one would override dealloc to put clean-up code (to > release retain

ARC clean up?

2014-05-14 Thread William Squires
Okay, in non-ARC code, one would override dealloc to put clean-up code (to release retained objects, close open streams/files, etc...). But where do we put this in ARC code? ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post a

Re: Obtain an NSDate object from any casually entered user string

2014-05-14 Thread Ken Thomases
On May 14, 2014, at 8:41 AM, Jonathan Mitchell wrote: > Is there a way to obtain an NSDate object from a casually entered user > string, say: 1 1 2015 or 25 jul 15? > > I have looked at the various NSDateFormatter and NSDate API and cannot spot > what I am after. You might try NSDataDetector w

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

2014-05-14 Thread Devarshi Kulshreshtha
I agree with Jens, that's why we opted for creating public-private key pair on device itself. On Wed, May 14, 2014 at 8:02 PM, Jens Alfke wrote: > > On May 14, 2014, at 7:15 AM, Roland King wrote: > >> If you ask a similar question to the original poster on any of the Apple >> Developer Forums

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

2014-05-14 Thread Jens Alfke
On May 14, 2014, at 7:15 AM, Roland King wrote: > If you ask a similar question to the original poster on any of the Apple > Developer Forums you'll be advised not to generate key pairs on a device but > to do it on a server (the advice will probably come from Quinn) That’s a weird idea. If t

Re: Cocoa-dev Digest, Vol 11, Issue 267

2014-05-14 Thread Jim McGowan
On 14 May, 2014, at 10:08:39 pm HKT, Jens Alfke > > On May 14, 2014, at 6:41 AM, Jonathan Mitchell > wrote: > >> Is there a way to obtain an NSDate object from a casually entered user >> string, say: 1 1 2015 or 25 jul 15? > > There’s no easy way. You can create a whole bunch of format stri

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

2014-05-14 Thread Roland King
On 14 May, 2014, at 9:55 pm, Jens Alfke wrote: > > On May 13, 2014, at 9:20 PM, Maxthon Chan wrote: > >> I am saying ignore the details of the format, treat certificates as binary >> blobs or plain strings or whatever that is opaque, and let crypto API parse >> it. > > And I am saying that

Re: Obtain an NSDate object from any casually entered user string

2014-05-14 Thread Jens Alfke
On May 14, 2014, at 6:41 AM, Jonathan Mitchell wrote: > Is there a way to obtain an NSDate object from a casually entered user > string, say: 1 1 2015 or 25 jul 15? There’s no easy way. You can create a whole bunch of format strings for every exact format you expect, and then try to parse the

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

2014-05-14 Thread Jens Alfke
On May 13, 2014, at 8:47 PM, Devarshi Kulshreshtha wrote: > if CryptoExample is out of date, then what is the other best other > option for me, I don’t know, actually; it doesn’t look like they replaced it with any newer iOS-compatible sample. :( > from the previous discussion I am unable t

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

2014-05-14 Thread Jens Alfke
On May 13, 2014, at 9:20 PM, Maxthon Chan wrote: > I am saying ignore the details of the format, treat certificates as binary > blobs or plain strings or whatever that is opaque, and let crypto API parse > it. And I am saying that’s naïve, at least where Apple’s crypto API is concerned. I’ve

Obtain an NSDate object from any casually entered user string

2014-05-14 Thread Jonathan Mitchell
Is there a way to obtain an NSDate object from a casually entered user string, say: 1 1 2015 or 25 jul 15? I have looked at the various NSDateFormatter and NSDate API and cannot spot what I am after. Jonathan ___ Cocoa-dev mailing list (