Points vs Pixels in iOS

From iOS 4, dimensions are measured in “points” instead of pixels. All coordinate values and distances are specified using points, which are floating-point values. The measurable size of a point varies from device to device and is largely irrelevant. The […]

Quick Objective-C Tutorial

If you don’t know what Objective-C is, it’s the programming language used by Apple and Apple Developers to create iPhone, iPad, and Mac Apps. It’s an extension of C Programming language. To know more about the background of Objective-C check […]

How to Add a UIButton View in Code – Objective C iOS

Use the following code to add a Button to your view: Place the following code in “viewDidLoad” method of your view controller – 12345UIButton *button = [UIButton buttonWithType:UIButtonTypeRoundedRect]; button.frame = CGRectMake(0, 0, 40, 50); [button setTitle:@"1" forState:(UIControlState)UIControlStateNormal]; [button addTarget:self action:@selector(goToFun) […]