Telstra has revealed the addition of almost one million new mobile services in the six months to December 2011, but Sensis revenues plummeted 24 percent in 12 months.
read more
David M Williams
Wednesday, 09 July 2008 18:25
One I like is the utility application template; this provides the starting point for a utility with both a main view and a flipside view. You might use this for a program that, say, lets you plan out a dinner party. On one screen you specify the meals you want to cook. Flip the screen and see a list of all the combined raw ingredients for your shopping plans. Or, perhaps you may have a single screen utility but the “About” button flips around to show your smiling face as the program author.
It’s not all work; the OpenGL ES Application template gives you a kick start for writing games. This time the pre-created code provides a screen for you to work with and a timer. You’re expected to draw the screen and then refresh it every time the timer counts down to zero, thus providing animation.
Of course, you can forget what Apple give you. Another template is not really a template at all; it allows you to construct a totally blank application so you can begin from scratch.
For the moment, lets pick the Utility Application. Click on it and press the Choose button. You’ll be prompted for the name of the app and where to save its files. Xcode then goes ahead and creates a bunch of source code files. There are quite a few, but you’ll find they are organised in the left-hand pane into meaningful groups. The user interface layouts are down the bottom (with .xib file extensions.) Double-click on one and the Xcode interface builder opens up, allowing you to make up a screen.
The first thing you ought to do here is click the Tools/Library window. This displays the available controls and components you can drag and drop onto the screen you are making. It is very easy to get the hang of this; just click on a search box, for instance, or a tab control or an on/off switch and drag it over onto the screen.
What’s more complex are the program code files. Let me tell you, then we'll actually fire up an iPhone replica!
CONTINUED

|
Microsoft Office 365Try an easy-to-use set of web-enabled tools for business-class productivity services. Office 365 provides anywhere-access to email, important documents, contacts, and calendars on almost any device. |