|Jul 15, 2011, 02:05 AM||#1|
Obj-C for Beginners book question
I started to read the the Objc-C for Absolute Beginners again and can to the first iPhone programming part. It was designed for Xcode 3 and I am trying to implement it for 4. It says to type in the instance variables and the 2 methods. Then open up IB. I jumped to IB first and built the buttons because I know I can just click drag the IBOutlets and IBActions.
The book told me to to call the project 'RandomNumber' and to write out the methods in the 'RandomNumberViewController.m' where we would link them. But when I drag buttons to the window in the RNVC .xib in the interface builder they fill the whole window area, weird thing happen? the Label snaps all the way to the left too? The program also created the RandomNumberAppDelegate.h and .m files and I can see the standard window in the .xib file.
Is the book out dated? Should I be using the AppDelegate instead of the custom class I created 'RandomNumberViewControler' to link all the labels and buttons, or does it matter?
Last edited by larswik; Jul 15, 2011 at 02:26 PM.
|Thread Tools||Search this Thread|
|thread||Thread Starter||Forum||Replies||Last Post|
|Blender for beginner book?||bpl323||Design and Graphics||5||Aug 29, 2010 11:53 PM|
|Photo book for beginner, should be easy and include material on digital photography||OreoCookie||Digital Photography||4||Apr 25, 2008 09:05 AM|
|Help!! (Xcode/C++ Book for Beginners?)||cwill111||Mac Programming||3||Sep 20, 2007 05:00 PM|
|Digital Photography Books for Beginners?||yojitani||Digital Photography||14||Jan 18, 2007 10:16 PM|
|Suggestion for good beginners book for OS X Tiger.||prostuff1||Buying Tips and Advice||6||Dec 6, 2005 04:46 PM|
All times are GMT -5. The time now is 03:12 PM.