objective c

Updating NSUserDefaults from Settings.bundle

Trying to access parameters from Root.plist in your Settings.bundle using NSUserDefaults?  Luckily NSUserDefaults will sync those values for you ... after the user opens the Settings preferences for your app first.  As pointed out here, among a few other spots, that certainly seems like a bug, or at least yet another expectation gap.  I know the first thing I do when I download an app is run over to the Settings to see what goodness I can configure....

Asymmetric Encryption with the iPhone SDK and Security.framework

As a complement to my post on symmetric encryption, here's an example of asymmetric encryption using the RSA algorithm.  As before, it's based on the limited sample code I could find, but fleshed out to actually work.  Check here for a little more background info. Any and all comments and criticisms are welcome. It's been a long time since I've worked in C (and even then I didn't enjoy it!).

Symmetric Encryption with the iPhone SDK and Security.framework

As discussed here, this is a working example of using Security.framework and symmetric encryption.  It uses AES128 since some of the docs suggest that the iPhone has optimized hardware for this algorithm and key size. This one is mostly based on the examples from Apple's documentation and samples. Any and all comments and criticisms are welcome. It's been a long time since I've worked in C (and even then I didn't enjoy it!). So if I could be doing anything better, let me know!

Encryption with the iPhone SDK and Security.framework

With all the great info out there about building for the iPhone, the documentation for using encryption is pretty woeful.  The developer site talks about using the Security.framework, but when it gets down to actual code, there's not much there.  And it's still a leap to go from what's provided in the simplistic examples to real world stuff.

Syndicate content