Follow us on...
Follow us on Twitter Follow us on Facebook
Register
Results 1 to 2 of 2
  1. #1
    SimplePT is offline Registered User
    Join Date
    Oct 2011
    Posts
    1
    Thanks
    1
    Thanked 0 Times in 0 Posts

    What does it all mean?

    I am just starting out trying to design iOS apps on XCode 4.2

    I have used C before, but only at a basic(ish) level; basically I can look at some code and tell you what is going on with about 90% of it - but when it comes to writing it I am terrible.

    But I haven't used Objective-C before, so even writing my "Hello World!" program is proving to be a little difficult.


    Can anybody help me with what the following does within the code:

    - (IBaction)
    - (id)
    - sender
    - @ (<< used before "Hello World!")


    Thanks,
    Chris

  2. #2
    ElDiabloConCaca's Avatar
    ElDiabloConCaca is offline U.S.D.A. Prime
    Join Date
    Aug 2001
    Location
    San Antonio, Texas
    Posts
    14,492
    Thanks
    10
    Thanked 650 Times in 612 Posts
    This is a great outline and explains all the code snippets you've asked about:

    http://www.codeproject.com/KB/iPhone...Started00.aspx

    It assumes a base-level knowledge of some kind of C or C++ language, which, in my opinion, is paramount to understanding Objective-C.
    2009 Mac mini 2.0GHz 2010 MacBook Air 11" 2010 MacBook Pro 13" LED 24" Cinema Display
    PowerMac G4 MDD dual 1.25GHz PowerMac G4 Yikes! iPad 2 32GB 2 x iPhone 4 16GB iPod Touch 8GB iPod nano 1GB iPod shuffle 1GB AirPort Extreme dual-band AppleTV
    http://www.jeffhoppe.com

  3. The Following User Says Thank You to ElDiabloConCaca For This Useful Post:

    SimplePT (November 1st, 2011)

 

 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •