Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > iPhone/iPad Programming

Thread Tools Search this Thread Display Modes
Old Jul 15, 2011, 01:05 AM   #1
macrumors 65816
Join Date: Sep 2006
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.
larswik is offline   0 Reply With Quote

MacRumors Forums > Apple Systems and Services > Programming > iPhone/iPad Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
thread Thread Starter Forum Replies Last Post
Blender for beginner book? bpl323 Design and Graphics 5 Aug 29, 2010 10:53 PM
Photo book for beginner, should be easy and include material on digital photography OreoCookie Digital Photography 4 Apr 25, 2008 08:05 AM
Help!! (Xcode/C++ Book for Beginners?) cwill111 Mac Programming 3 Sep 20, 2007 04:00 PM
Digital Photography Books for Beginners? yojitani Digital Photography 14 Jan 18, 2007 09:16 PM
Suggestion for good beginners book for OS X Tiger. prostuff1 Buying Tips and Advice 6 Dec 6, 2005 03:46 PM

All times are GMT -5. The time now is 10:20 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013,, LLC