Thursday, August 16, 2012

Objective-C




I. Description

  •  Object-oriented programming language
  •  Strict Superset of C:
    • C with some new additional constructs
    • C code compiles as Objective-C code
    • C libraries can be linked and used natively from Objective-c
  • Adds Objected-oriented features to C
    • Defining classes
    • Implementing methods
    • Instantiating classes and objects
    • Ivoking class and object methods
    • Protocols, categories, selectors, forwarding

II. History

         
         Objective-C is a general-purpose, high-level, object oriented language which lies on top of the C language that adds Smalltalk-style messaging. Its primary use in modern computing is on Mac OS X as a desktop language and also on iPhone OS. It was originally the main language for NeXTSTEP OS, also known as the operating system Apple bought and descended Mac OS X from, which explains why its primary home today lays on Apple's operating systems.

         Objective-C was created primarily by Brad Cox and Tom Love in the early 1980s at their company Stepstone. Both had been introduced to Smalltalk while at ITT Corporation's Programming Technology Center in 1981. The earliest work on Objective-C traces back to around that time.
Because Objective-C is a strict superset of C, we are free to use C in an Objective-C file and it will compile fine. Because any compiler of Objective-C will also compile any straight C code passed into it, we have all the power of C along with the power of objects provided by Objective-C.


III. Syntax


Sample Program in Objective-C




IV. Insights

"Shedding Light on Objective-C and Cocoa"
Jon Manning and Paris Buttfield-Addison share their insight on Objective-C
"Advantages of Using Objective-C over C++"
People talk about how great Objective-C is over C++
 Sir Duldulao on Objective-C via Facebook




V. Project

Building Calculator Using Objective-C Tutorial
Coding of calculator app with GUI(Graphical User Interface) Using GNUStep GORM



VI. Group Members

CMSC 124 T-7L
Paul Elessar Caceres (2009-10232)
John Carlos Gambol (2009-26302)
Berlyn Motel (2009-18986)
Mary Grace Primavera (2009-32348)
Graycel Santos (2009-32132)


VI. References

www.gnustep.org
www.slideshare.net
en.wikipedia.org/wiki/Objective-c
mobile.tutsplus.com
www.otierney.net
www.gnustep.org/experience/Gorm.html
cocoadevcentral.com
developer.apple.com
www.dailymotion.com

No comments:

Post a Comment