Sharing part 1 objective c-cocoa-x-code
-
Upload
joni-cong -
Category
Technology
-
view
246 -
download
0
Transcript of Sharing part 1 objective c-cocoa-x-code
![Page 1: Sharing part 1 objective c-cocoa-x-code](https://reader036.fdocuments.net/reader036/viewer/2022062320/55916a751a28ab34228b4698/html5/thumbnails/1.jpg)
S
Objective-C , Cocoa , dan iOS
Hal – hal yang perlu diketahui sebagai pemulaPart 1
Joni Cong – iOS Developerjonice@gramedia-
majalah.com
![Page 2: Sharing part 1 objective c-cocoa-x-code](https://reader036.fdocuments.net/reader036/viewer/2022062320/55916a751a28ab34228b4698/html5/thumbnails/2.jpg)
Ruang Lingkup
Sejarah Objective-C dan Cocoa Framework
Pengenalan pemrograman Objective-C
Pengenalan Cocoa (Framework)
Pengenalan Xcode 4.2
![Page 3: Sharing part 1 objective c-cocoa-x-code](https://reader036.fdocuments.net/reader036/viewer/2022062320/55916a751a28ab34228b4698/html5/thumbnails/3.jpg)
Sejarah Objective-C dan Cocoa
Framework
![Page 4: Sharing part 1 objective c-cocoa-x-code](https://reader036.fdocuments.net/reader036/viewer/2022062320/55916a751a28ab34228b4698/html5/thumbnails/4.jpg)
Sejarah Objective-C & Cocoa Touch
Lahir pada tahun
1980an
![Page 5: Sharing part 1 objective c-cocoa-x-code](https://reader036.fdocuments.net/reader036/viewer/2022062320/55916a751a28ab34228b4698/html5/thumbnails/5.jpg)
Sejarah Objective-C & Cocoa Touch
Bahasa C + Smalltalk
=
Objective-CBrad Cox
![Page 6: Sharing part 1 objective c-cocoa-x-code](https://reader036.fdocuments.net/reader036/viewer/2022062320/55916a751a28ab34228b4698/html5/thumbnails/6.jpg)
C Programming
![Page 7: Sharing part 1 objective c-cocoa-x-code](https://reader036.fdocuments.net/reader036/viewer/2022062320/55916a751a28ab34228b4698/html5/thumbnails/7.jpg)
Smalltalk
![Page 8: Sharing part 1 objective c-cocoa-x-code](https://reader036.fdocuments.net/reader036/viewer/2022062320/55916a751a28ab34228b4698/html5/thumbnails/8.jpg)
Objective-C
![Page 9: Sharing part 1 objective c-cocoa-x-code](https://reader036.fdocuments.net/reader036/viewer/2022062320/55916a751a28ab34228b4698/html5/thumbnails/9.jpg)
Sejarah Objective-C & Cocoa Touch
1985Steve Jobs mendirikan NeXT, Inc
![Page 10: Sharing part 1 objective c-cocoa-x-code](https://reader036.fdocuments.net/reader036/viewer/2022062320/55916a751a28ab34228b4698/html5/thumbnails/10.jpg)
Sejarah Objective-C & Cocoa
Touch
![Page 11: Sharing part 1 objective c-cocoa-x-code](https://reader036.fdocuments.net/reader036/viewer/2022062320/55916a751a28ab34228b4698/html5/thumbnails/11.jpg)
Sejarah Objective-C & Cocoa Touch
NeXT, Inc
Unix (Sistem Operasi) + Objective C
=
NextSTEP
Powerful user interface toolkit
![Page 12: Sharing part 1 objective c-cocoa-x-code](https://reader036.fdocuments.net/reader036/viewer/2022062320/55916a751a28ab34228b4698/html5/thumbnails/12.jpg)
Sejarah Objective-C & Cocoa
Touch
![Page 13: Sharing part 1 objective c-cocoa-x-code](https://reader036.fdocuments.net/reader036/viewer/2022062320/55916a751a28ab34228b4698/html5/thumbnails/13.jpg)
![Page 14: Sharing part 1 objective c-cocoa-x-code](https://reader036.fdocuments.net/reader036/viewer/2022062320/55916a751a28ab34228b4698/html5/thumbnails/14.jpg)
![Page 15: Sharing part 1 objective c-cocoa-x-code](https://reader036.fdocuments.net/reader036/viewer/2022062320/55916a751a28ab34228b4698/html5/thumbnails/15.jpg)
Sejarah Objective-C & Cocoa Touch
1996Apple akuisisi NeXT, Inc
NextSTEP => Cocoa
![Page 16: Sharing part 1 objective c-cocoa-x-code](https://reader036.fdocuments.net/reader036/viewer/2022062320/55916a751a28ab34228b4698/html5/thumbnails/16.jpg)
Sejarah Objective-C & Cocoa Touch
TodayNative language untuk
membangun Mac OS and iOS Apps
![Page 17: Sharing part 1 objective c-cocoa-x-code](https://reader036.fdocuments.net/reader036/viewer/2022062320/55916a751a28ab34228b4698/html5/thumbnails/17.jpg)
![Page 18: Sharing part 1 objective c-cocoa-x-code](https://reader036.fdocuments.net/reader036/viewer/2022062320/55916a751a28ab34228b4698/html5/thumbnails/18.jpg)
Pengenalan
Pemrograman Objective-C
![Page 19: Sharing part 1 objective c-cocoa-x-code](https://reader036.fdocuments.net/reader036/viewer/2022062320/55916a751a28ab34228b4698/html5/thumbnails/19.jpg)
Class ImplementasiClass DekralasiMyPoint.h MyPoint.m
![Page 20: Sharing part 1 objective c-cocoa-x-code](https://reader036.fdocuments.net/reader036/viewer/2022062320/55916a751a28ab34228b4698/html5/thumbnails/20.jpg)
Test Class: main.m
![Page 21: Sharing part 1 objective c-cocoa-x-code](https://reader036.fdocuments.net/reader036/viewer/2022062320/55916a751a28ab34228b4698/html5/thumbnails/21.jpg)
Test Class: main.m
Import file dekralasi .h
Alokasi memory class Point.Inisialisasi class Point.Memanggil Method Print.
![Page 22: Sharing part 1 objective c-cocoa-x-code](https://reader036.fdocuments.net/reader036/viewer/2022062320/55916a751a28ab34228b4698/html5/thumbnails/22.jpg)
Dasar – dasar Pemrograman Objective-C
![Page 23: Sharing part 1 objective c-cocoa-x-code](https://reader036.fdocuments.net/reader036/viewer/2022062320/55916a751a28ab34228b4698/html5/thumbnails/23.jpg)
Dasar – dasar Pemrograman Objective-C
Method
![Page 24: Sharing part 1 objective c-cocoa-x-code](https://reader036.fdocuments.net/reader036/viewer/2022062320/55916a751a28ab34228b4698/html5/thumbnails/24.jpg)
Dasar – dasar Pemrograman Objective-C
Method dengan 2 ArgumentsDeklarasi:
- (void) setXandY: (int) x: (int) y
- (void) setX: (int) x andY: (int) y
Usage:
[object setXAndY: 5: 6];
[object setX: 5 andY: 6];
![Page 25: Sharing part 1 objective c-cocoa-x-code](https://reader036.fdocuments.net/reader036/viewer/2022062320/55916a751a28ab34228b4698/html5/thumbnails/25.jpg)
Data Type
![Page 26: Sharing part 1 objective c-cocoa-x-code](https://reader036.fdocuments.net/reader036/viewer/2022062320/55916a751a28ab34228b4698/html5/thumbnails/26.jpg)
Arithmetic operators
![Page 27: Sharing part 1 objective c-cocoa-x-code](https://reader036.fdocuments.net/reader036/viewer/2022062320/55916a751a28ab34228b4698/html5/thumbnails/27.jpg)
Relational operators
![Page 28: Sharing part 1 objective c-cocoa-x-code](https://reader036.fdocuments.net/reader036/viewer/2022062320/55916a751a28ab34228b4698/html5/thumbnails/28.jpg)
Logical operators
![Page 29: Sharing part 1 objective c-cocoa-x-code](https://reader036.fdocuments.net/reader036/viewer/2022062320/55916a751a28ab34228b4698/html5/thumbnails/29.jpg)
Pengenalan
Cocoa Framework
![Page 30: Sharing part 1 objective c-cocoa-x-code](https://reader036.fdocuments.net/reader036/viewer/2022062320/55916a751a28ab34228b4698/html5/thumbnails/30.jpg)
![Page 31: Sharing part 1 objective c-cocoa-x-code](https://reader036.fdocuments.net/reader036/viewer/2022062320/55916a751a28ab34228b4698/html5/thumbnails/31.jpg)
Pengenalan Cocoa Framework
MVC
COCOA
![Page 32: Sharing part 1 objective c-cocoa-x-code](https://reader036.fdocuments.net/reader036/viewer/2022062320/55916a751a28ab34228b4698/html5/thumbnails/32.jpg)
Cocoa Arsitektur
![Page 33: Sharing part 1 objective c-cocoa-x-code](https://reader036.fdocuments.net/reader036/viewer/2022062320/55916a751a28ab34228b4698/html5/thumbnails/33.jpg)
Frameworks
More…
![Page 34: Sharing part 1 objective c-cocoa-x-code](https://reader036.fdocuments.net/reader036/viewer/2022062320/55916a751a28ab34228b4698/html5/thumbnails/34.jpg)
Object di Cocoa
![Page 35: Sharing part 1 objective c-cocoa-x-code](https://reader036.fdocuments.net/reader036/viewer/2022062320/55916a751a28ab34228b4698/html5/thumbnails/35.jpg)
Pengenalan
Xcode 4.2
![Page 36: Sharing part 1 objective c-cocoa-x-code](https://reader036.fdocuments.net/reader036/viewer/2022062320/55916a751a28ab34228b4698/html5/thumbnails/36.jpg)
![Page 37: Sharing part 1 objective c-cocoa-x-code](https://reader036.fdocuments.net/reader036/viewer/2022062320/55916a751a28ab34228b4698/html5/thumbnails/37.jpg)
![Page 38: Sharing part 1 objective c-cocoa-x-code](https://reader036.fdocuments.net/reader036/viewer/2022062320/55916a751a28ab34228b4698/html5/thumbnails/38.jpg)
![Page 39: Sharing part 1 objective c-cocoa-x-code](https://reader036.fdocuments.net/reader036/viewer/2022062320/55916a751a28ab34228b4698/html5/thumbnails/39.jpg)
![Page 40: Sharing part 1 objective c-cocoa-x-code](https://reader036.fdocuments.net/reader036/viewer/2022062320/55916a751a28ab34228b4698/html5/thumbnails/40.jpg)
Thank you
![Page 41: Sharing part 1 objective c-cocoa-x-code](https://reader036.fdocuments.net/reader036/viewer/2022062320/55916a751a28ab34228b4698/html5/thumbnails/41.jpg)
Question?