Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 11-22-2010, 09:50 AM   #1 (permalink)
Registered Member
 
Join Date: Oct 2010
Posts: 2
bigubosu is on a distinguished road
Default Storing a long number as a password..

I've been looking around a little but haven't found what I'm looking for. I'm after something that will save and retrieve a integer(14 characters long) with hypens(another 2 characters) with and be able to be used throughout the app as the user navigates through different views because each view does a url request with the number in the url. So it's possible the number can be used to get messages from the users account. In my case I'm just after the password side. What I'm storing is an API-Key with just numbers.

I've come across Apple's Keychain but many say it is confusing. then i came across SFHFKeychainUtils which was much simpler to use but it requires a username and password.

Is there something I can use that will just store an API-Key and can be called application wide. Or should I just use NSUserDefaults?
bigubosu is offline   Reply With Quote
Old 11-22-2010, 10:35 AM   #2 (permalink)
57Digital Ltd, Mobile Dev
iPhone Dev SDK Supporter
 
iPhoneConnection's Avatar
 
Join Date: Apr 2010
Location: Sheffield
Posts: 144
iPhoneConnection is on a distinguished road
Default

Quote:
Originally Posted by bigubosu View Post
I've been looking around a little but haven't found what I'm looking for. I'm after something that will save and retrieve a integer(14 characters long) with hypens(another 2 characters) with and be able to be used throughout the app as the user navigates through different views because each view does a url request with the number in the url. So it's possible the number can be used to get messages from the users account. In my case I'm just after the password side. What I'm storing is an API-Key with just numbers.

I've come across Apple's Keychain but many say it is confusing. then i came across SFHFKeychainUtils which was much simpler to use but it requires a username and password.

Is there something I can use that will just store an API-Key and can be called application wide. Or should I just use NSUserDefaults?
I'd be tempted to use NSUserDefaults, nice and easy.
iPhoneConnection is offline   Reply With Quote
Reply

Bookmarks

Tags
api-key, login, nsuserdefaults, password, storing

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 375
7 members and 368 guests
apatsufas, Kirkout, lzwasyc, MarkC, Sami Gh, SamorodovAlex, VinceYuan
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,664
Threads: 94,120
Posts: 402,898
Top Poster: BrianSlick (7,990)
Welcome to our newest member, Leslie80
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 02:45 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0