Select Annotation and Center MKMapView Around
When adding annotations to MKMapView it is nice to center the map around a particular selected annotation. I have found many people on the net wishing to do that and having great difficulties. After struggling for a day I found…
Resizing UITextView based on its content
Just a quick piece of code illustrating how to resize height and width of a UITextView based on its content. It’s important to add approximately 30 pixels to the final height and 15 pixels to the final width because sizeWithFont…
Two straightforward actions: Rotate and Animate UIViews
When adding subviews to a superview doing addSubview and then bringSubviewToFront, I have found that subviews do not autorotate accordingly, therefore I needed to do it programmatically. The next piece of code does a landscape rotation of a UIView to the left…
How fun is learning Objective-C?
As a general rule, learning a programming language is not such a big deal for an experienced programmer. It’s just a matter of being the language syntax reference on hand and understanding the language philosophy, such as, object oriented, procedural,…