7. Cocoa
- The framework that powers
Mac OS X desktop apps
Thursday, October 20, 11
8. Cocoa Touch
- The framework that powers iOS apps
- A feature-set to support the mobile OS
Thursday, October 20, 11
9. Objective-C
- The programming language
powering the Apple frameworks.
- It's a superset of C, so it’s easy to mix
C and C++ into Cocoa applications.
Thursday, October 20, 11
18. JavaScript
console.log(“The value of x is: ” + x);
PHP
echo “The value of x is: ”.$x;
Objective-C
NSLog(@”The value of x is %d”, x);
Thursday, October 20, 11
19. JavaScript
var car = new Car();
PHP
$car = new Car();
Objective-C
Car *car = [[Car alloc] init];
Thursday, October 20, 11