Quick Tips

Welcome readers!
In this section you can find useful quick tips, techniques and workarounds for various topics regarding the iOS programming! All links lead to my new personal website where you may continue reading!


Formatting dates using the NSDateFormatter class


One of the most commonly used programming classes when building iOS applications is the NSDate class, which (obviously) allows us to deal with dates. Handling a date is not that hard when it is used internally into a program, but what if we should show a date to the user? Even more, what if we should have the date formatted depending on the app or our needs? How can we be able to transform a date into an NSString and back again?





How to add photos to iPhone Simulator


It is a fact that during an app development a great ammount of testing time takes place on the iPhone Simulator (or the iPad simulator). The difficulties begin when the app has to deal with photos, and photos do not exist in the Simulator. What can we do then?