[Xcode] – Introduction to Auto Layout

Editor’s note: If you’ve downloaded the Xcode 6 beta and played around with it, one thing you may notice is the change of Interface Builder. The default view controller is now wider and doesn’t look like an iPhone 5. When you position a button in the center of the view and run the app, it doesn’t look good. The button is not centered properly.

Read More

 

[Objc] How to get SecKeyRef from base64 coded string

This quick iOS Application Development tip will show you How to get SecKeyRefM from base64 coded string, which for iOS 7 utilises: So, let’s assume that you have a base64 coded public key, like:

MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC3gn+tJ1+PbP0GHa6hmM35WsVyibpypWAwRuBYY4MGfh3VWoXgiyiLo5HJTW1eR9BUFq3z+yOG1rwzSabZ8I4zneWm0kH7xErSjNrMbmjirbL7e6TQNa1ujP/x4x9XVbqf3vIsNVs19kn/qSX/HGzd5Ct3TGAo0AT0T4JwkCfciwIDAQAB

Read More

 

[Objc] Calcolo codice fiscale

Il codice fiscale in Italia è un codice alfanumerico a lunghezza fissa di 16 caratteri, ispirato dall’uso biblioteconomico, che serve a identificare in modo univoco ai fini fiscali e amministrativi i cittadini, le associazioni non riconosciute, i contribuenti e gli stranieri nati e domiciliati nel territorio italiano.

http://it.wikipedia.org/wiki/Codice_fiscale

Nota: questo post è in Italiano, visto che il codice fiscale… è italiano!

Read More