29 December 2012

Defining constants in Objective-C

There are a few available options for defining constants in Objective-C. I will describe the easiest and most convenient way.

28 December 2012

Hide keyboard on 'return' key programmaticaly

Added a new UITextField in your iOS app. Everything works perfectly apart from the fact that keyboard DOES NOT DISAPPEAR when you hit the 'return' button. What's the simplest solution to this?

25 December 2012

Adding 'Done' button to UIDatePicker with UIActionSheet

In one of my recent projects, I was dealing with the development of an iOS app which required the addition of a 'Done' button within a UIDatePicker. Finding a correct and functional solution was a real pain, so I decided to post my solution in case it helps anyone out there. This solution uses UIActionSheet(declared as  pickerAction)

Test

Hello World