Tuesday, 15 November 2011

Designing for IOS devices

(http://www.hongkiat.com/blog/ios-development-guide-part1/)
(http://www.hongkiat.com/blog/ios-development-guide-part2-your-first-app/)

Developing Apps in Xcode

Below is a little bit about designing apps for development in Xcode which is the main apple development tool. I have experimented with this so that i no abit about the programme that i could potentially be producing my app in. This means that i have an understanding of what my ideas need to be like in order to work if developed with this software.

The developer tool for iOS and Mac OS X programming is named as Xcode. If you’re running OS X Lion you can find Xcode and all applicable packages for free in the Mac App Store.

After the installation is completed, launch the Xcode and its welcome screen should come up. From here you can load an older project or choose to make a new one. For now you need to click “Create a new Xcode project“, then the template window will come up with a few options. Under iOS > Application, click on “Single View Application” and hit “Next”. You can give the new app a name, such as Test (preferably no spaces), then on the Company Identifier, type in any word such as mycompany, and finally pick a directory and hit “Save”.
Xcode will build the file directory and send you into a new window for working. You should see a lot of file options listed, but the folder which is named after your application is the primary focus.
With the new Xcode 4.2 you have two options for designing front end elements. The classic xib/nib format is standard to Mac OS X and iOS apps, which requires you to design a new page view each time. However, as you are creating more views in a single app the amount of nib files can become far too overwhelming, so a new storyboard file holds all of your nib views in a single editor pane. From here you can remove and add UI elements and features with ease.
Additionally you’ll come across .h and .m files in the same folder group. These are short filenames for header and implementation code. These files are where you write all the Objective-C functions and variables required for your app to run. It may be a good idea to explain how Xcode works with MVC (Model, View, Controller), which is the reason that we need 2 files for each controller.

iOS and Wireframe Downloads
(http://www.hongkiat.com/blog/designing-for-mobile-devices/)

No comments:

Post a Comment