Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

GOA

macrumors newbie
Original poster
Jun 30, 2014
13
1
Hello friends,

Still fairly new to iOS development. My very first encounter with the keychain concept. Having read the Apple's documentation 'Keychain Services Programming Guide' https://developer.apple.com/library...hainServConcepts/iPhoneTasks/iPhoneTasks.html , towards the end, we can find:

"For an additional iPhone Keychain example, see the GenericKeychain sample code project".

I downloaded the sample code and ran it. It does exactly what I want, so apart from minor modifications such as the app name and few other things, there will be almost no modification necessary.

So, my questions are:

  1. Instead of rewriting the entire code, is it possible to branch out to this app (as if it is an external subroutine or method) in order to take care of Passwords and permissions before coming back to my own app to continue the work?
  2. If so, how?
  3. If not possible to branch out, what is the simplest way of integrating the keychain app into my own?
Thank you for your help.
 
Hello friends,

Still fairly new to iOS development. My very first encounter with the keychain concept. Having read the Apple's documentation 'Keychain Services Programming Guide' https://developer.apple.com/library...hainServConcepts/iPhoneTasks/iPhoneTasks.html , towards the end, we can find:

"For an additional iPhone Keychain example, see the GenericKeychain sample code project".

I downloaded the sample code and ran it. It does exactly what I want, so apart from minor modifications such as the app name and few other things, there will be almost no modification necessary.

So, my questions are:

  1. Instead of rewriting the entire code, is it possible to branch out to this app (as if it is an external subroutine or method) in order to take care of Passwords and permissions before coming back to my own app to continue the work?
  2. If so, how?
  3. If not possible to branch out, what is the simplest way of integrating the keychain app into my own?
Thank you for your help.
This sounds exactly like what iOS extensions can do. 1Password will support this in iOS 8:
https://github.com/AgileBits/onepassword-app-extension
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.