Showing posts with label Mac. Show all posts
Showing posts with label Mac. Show all posts

Monday, 4 January 2010

Cocoa Framework Summary

A summary by James Bedford.

Cocoa is a framework of tools used for software development written in Objective-C, featuring modular, object-oriented and visual design. It was originally called NextSTEP and was developed by the company NeXT. When NeXT merged with Apple in 1996, the framework NextSTEP was renamed Cocoa. However, it still remains that all objects within this framework begin with the prefix "NS", which helps to distinguished them and prevent accident errors.


This summary is work-in-progress (which will be periodically updated) and may contain mistakes. Please let me know if there are any issues, or if anything needs clarifying.

Monday, 7 December 2009

Objective-C Programming Language Summary

A summary by James Bedford.

Objective-C is an extension to the C programming language developed in the early 1980s. It is used in all Apple products including Mac and iPhone software development. Originally referred to as "C with messaging", the primary aim of Objective-C is to introduce object oriented programming to C, and achieves this using a different approach to C++ or C#.


I’ve got no time for messing about, so here’s s summary of the entire language, assuming you already understand object oriented programming (OOP) concepts and a thorough understanding of C (because I’m not going to explain anything that’s the same as C). Example code (as infrequent as it may be) is written between quotation marks. This may get a little confusing at times, so try and stick with it (maybe copying and pasting the inside of quotes may help). The example code will always be a single line of the program.

This page is also going to be updated as I continue to summarize the language. Please let me know if anything needs clarifying, or if there are any problems with the notes.