5 Replies - 1512 Views - Last Post: 14 January 2011 - 01:08 PM

#1 EmployeeOfTheWeek  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 28
  • Joined: 13-March 08

Tutorial that doesn't use Interface Builder

Posted 01 December 2010 - 10:43 AM

Can anyone point me to a tutorial or starting point for Objective-C and xcode that doesn't use interface builder as the basis of learning. i want to learn how to add buttons, labels, text and all the rest to the interface simply through code so i can have full control.

Any help will be much appreciated dudes

This post has been edited by EmployeeOfTheWeek: 01 December 2010 - 10:50 AM

Is This A Good Question/Topic? 0
  • +

Replies To: Tutorial that doesn't use Interface Builder

#2 macosxnerd101  Icon User is online

  • Self-Trained Economist
  • member icon




Reputation: 10437
  • View blog
  • Posts: 38,651
  • Joined: 27-December 08

Re: Tutorial that doesn't use Interface Builder

Posted 01 December 2010 - 10:46 AM

For what language? Java ME, Android, Windows Mobile, etc.?
Was This Post Helpful? 0
  • +
  • -

#3 EmployeeOfTheWeek  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 28
  • Joined: 13-March 08

Re: Tutorial that doesn't use Interface Builder

Posted 01 December 2010 - 10:48 AM

Sorry i should of made that a bit more clear.. for Objective-C and xcode..

ket me edit my first comment
Was This Post Helpful? 0
  • +
  • -

#4 garfinkle  Icon User is offline

  • D.I.C Head
  • member icon

Reputation: 27
  • View blog
  • Posts: 87
  • Joined: 08-September 09

Re: Tutorial that doesn't use Interface Builder

Posted 01 January 2011 - 08:17 PM

Not sure of any tutorials that can get you started but searching on google for adding buttons programatically always brings up good results on creating objects outside of interface builder.

I've started doing more and more stuff outside of interface builder especially for dynamic objects.

A couple of things to note when creating User Interfaces programatically:

All UI elements (such a buttons etc.) all extent the UIView class. This means you can add any element via the addSubview function.
You also have access to the view.frame property which allows you to set the size and position of any element (in most cases)

I will try to create a full tutorial and post it on here when I get a bit of time.

If you have any specific questions regarding adding objects programatically, feel free to ask.
Was This Post Helpful? 0
  • +
  • -

#5 nathanpc  Icon User is offline

  • SCIENCE!
  • member icon

Reputation: 112
  • View blog
  • Posts: 1,171
  • Joined: 31-July 09

Re: Tutorial that doesn't use Interface Builder

Posted 14 January 2011 - 07:24 AM

Objective-C is difficult within the Interface Builder, without it will be very very difficult to design the stuff using hardcoding :/
Was This Post Helpful? 0
  • +
  • -

#6 EmployeeOfTheWeek  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 28
  • Joined: 13-March 08

Re: Tutorial that doesn't use Interface Builder

Posted 14 January 2011 - 01:08 PM

Thanks guys,

i've actually made a lot of progress with my knowledge of Objective-C since posting this.
Creating buttons, labels, ect is hardly a problem now.
I'm now in the progress of learning Cocos2D :D
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1