|Jul 15, 2011, 01: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 01:26 PM.
|Thread Tools||Search this Thread|
|thread||Thread Starter||Forum||Replies||Last Post|
|Beginners question: Different files||V-Appel||iPhone/iPad Programming||0||Jan 18, 2014 05:30 AM|
|My question is about Font Book.||macmithos||Mac Basics and Help||3||Oct 19, 2013 05:01 AM|
|Address Book Question||chattahoochee||MacBook||2||Mar 17, 2013 04:52 PM|
|Address Book Question||gravey92||OS X||3||Feb 20, 2013 10:45 AM|
|A beginners question about protocols.||ObjectiveV||iPhone/iPad Programming||1||Jul 12, 2012 10:23 PM|
All times are GMT -5. The time now is 03:58 AM.