Monthly Archives: March 2014

Formatter in Cocoa

Formatter in Cocoa Formatters play a key role in creating a great Cocoa, iOS Application. Foundation framework provides three highly useful class “NSFormatter, NSDateFormatter, NSNumberFormatter” which helps achieve almost any formatting requirement. Mostly there are convenience methods available in these

Posted in Cocoa, Objective C Tagged with: , , , ,

Source List in Cocoa

Basic Cocoa Source List In this post we will implement a simple source list similar to iTunes, Mail etc. Bindings has NOT been used in this approach The final output Image 2: (The Group 1 is hidden using the Group

Posted in Cocoa, Objective C Tagged with: , , ,

SpriteKit – Background Infinite Scroll

SpriteKit – Background Infinite Scroll In the below sample code we will create two background image and play it in a infinite loop. For a much more realistic view, developers can have a stack of background images that plays in

Posted in Cocoa, iOS, iOS Games, Objective C Tagged with: , , , , , ,

SpriteKit – Parallax Effect

Parallax Effect in Spritekit In this example we will build a simple application that has a static background and 4 clouds moving at different speeds to depict a parallax effect. Spritekit framework has been used in this sample. Play the

Posted in Cocoa, iOS, iOS Games, Objective C Tagged with: , , , ,

NSTableView – Handling Tab and Return Keys

NSTableView – Handling Tab and Return Keys In this article, we have implemented the following behavior in a NSTableView. 1. Handling Tab text movements in NSTableView to navigate from the last column of the table to the first column of

Posted in Cocoa, Objective C Tagged with: , , , ,

Objective-C Memory Management

What is Memory Management in Objective – C Memory management is the process of allocating memory, using it and freeing it once it is no longer used Objective of effecting memory management is to use as little memory as possible

Posted in Cocoa, Generic, iOS, Objective C Tagged with: , , , , , ,

NSAlert – Alerts in Cocoa, Objective-C

Alerts in Cocoa, Objective C Alerts are key to any application. Some of the usages of an application alerts are as follows To display an informative message To take confirmation from user before continuing with a transaction As a success

Posted in Cocoa, Objective C Tagged with: , , , , , ,

Recent Posts


Hit Counter provided by technology news