Getting key data out of the keychain

2015-12-31 Thread Andreas Mayer
I want to encrypt something inside my OS X application: So I thought I'd store the key inside the keychain. After a *lot* of reading and tinkering I finally managed to create a new AES key and get it back out again (as a SecKeyRef). Now I want to use it with CCCrypt() That expects raw key

Re: Custom UIViewController transitions with segues

2015-12-31 Thread Rick Mann
Yes, thank you; that seems to do the trick. Bit annoying, since it's harder to manage the UINavigationControllerDelegate, but this seems to work. Thanks! > On Dec 30, 2015, at 19:24 , Sixten Otto wrote: > > Are you maybe looking for the UINavigationControllerDelegate method

Collection view loses selection between segue and push

2015-12-31 Thread Rick Mann
I have a collection view in a navigation controller, and a custom animation for the push. When I click on a cell, the segue fires, and prepareForSegue uses the current collection view selection to determine what cell was tapped. Then the animation delegate method is called, and it does the same

Re: App refuses to launch after adding iCloud Drive support

2015-12-31 Thread Graham Cox
> On 1 Jan 2016, at 11:54 AM, Roland King wrote: > > Developer ID’ doesn’t sound right. Developer ID is for signing apps for > non-mac-store distribution, That’s exactly what I want to do. > If you want to distribute a test copy of the app you need to sign it with the > Mac

Re: App refuses to launch after adding iCloud Drive support

2015-12-31 Thread Quincey Morris
On Dec 31, 2015, at 17:05 , Graham Cox wrote: > > Perhaps iCloud Drive is simply unavailable to non App Store apps? Yes, I believe that was the case up to 10.10. For 10.11+, see this:

App refuses to launch after adding iCloud Drive support

2015-12-31 Thread Graham Cox
I’m working on adding iCloud Drive support to my app. When running from Xcode, it all seemed to be working, but when I archived the app, Exported a Developer ID signed copy, it refuses to launch: Crashed Thread:0 Exception Type:EXC_CRASH (Code Signature Invalid) Exception

Re: App refuses to launch after adding iCloud Drive support

2015-12-31 Thread Roland King
‘Developer ID’ doesn’t sound right. Developer ID is for signing apps for non-mac-store distribution, and I never worked out why there’s one for apps and one for installers. If you want to distribute a test copy of the app you need to sign it with the Mac developer certificate using a

Re: Collection view loses selection between segue and push

2015-12-31 Thread Rick Mann
Ah, nevermind. The delegate is getting set and not reset properly. > On Dec 31, 2015, at 15:56 , Rick Mann wrote: > > I have a collection view in a navigation controller, and a custom animation > for the push. When I click on a cell, the segue fires, and prepareForSegue

Re: App refuses to launch after adding iCloud Drive support

2015-12-31 Thread Roland King
> On 1 Jan 2016, at 09:05, Graham Cox wrote: > > >> On 1 Jan 2016, at 11:54 AM, Roland King wrote: >> >> Developer ID’ doesn’t sound right. Developer ID is for signing apps for >> non-mac-store distribution, > > > That’s exactly what I want to do. >

Re: App refuses to launch after adding iCloud Drive support

2015-12-31 Thread Graham Cox
Thank you Quincey! I was thinking that if Apple want this stuff adopted, they really ought to make it much easier. Turns out they did :) —Graham > On 1 Jan 2016, at 1:39 PM, Quincey Morris > wrote: > > > >