itouch/iphone sdk a study using cognitive dimensions
Post on 20-Dec-2015
222 views
TRANSCRIPT
![Page 1: ITouch/iPhone SDK A study using Cognitive Dimensions](https://reader035.vdocuments.net/reader035/viewer/2022062407/56649d425503460f94a1ccca/html5/thumbnails/1.jpg)
iTouch/iPhone SDKA study using Cognitive Dimensions
![Page 2: ITouch/iPhone SDK A study using Cognitive Dimensions](https://reader035.vdocuments.net/reader035/viewer/2022062407/56649d425503460f94a1ccca/html5/thumbnails/2.jpg)
The Good
![Page 3: ITouch/iPhone SDK A study using Cognitive Dimensions](https://reader035.vdocuments.net/reader035/viewer/2022062407/56649d425503460f94a1ccca/html5/thumbnails/3.jpg)
Interface Builder
![Page 4: ITouch/iPhone SDK A study using Cognitive Dimensions](https://reader035.vdocuments.net/reader035/viewer/2022062407/56649d425503460f94a1ccca/html5/thumbnails/4.jpg)
Interface Builder•Can layout elements
(visibility & juxtaposability)
•Can sketch out UI without code (provisionality)
•UI Design and object modeling are separate(no premature commitments)
![Page 5: ITouch/iPhone SDK A study using Cognitive Dimensions](https://reader035.vdocuments.net/reader035/viewer/2022062407/56649d425503460f94a1ccca/html5/thumbnails/5.jpg)
Interface Builder•Closeness of mapping
•Widget selections are easy to make.
•Icons look like iPhone widgets
•Readable names instead of NSScrollView
•Short and long docs
![Page 6: ITouch/iPhone SDK A study using Cognitive Dimensions](https://reader035.vdocuments.net/reader035/viewer/2022062407/56649d425503460f94a1ccca/html5/thumbnails/6.jpg)
Interface Builder
Hidden Dependencies Hidden Dependencies are easy to seeare easy to see
![Page 7: ITouch/iPhone SDK A study using Cognitive Dimensions](https://reader035.vdocuments.net/reader035/viewer/2022062407/56649d425503460f94a1ccca/html5/thumbnails/7.jpg)
Interface Builder
Hidden Dependencies Hidden Dependencies are easy to seeare easy to see
![Page 8: ITouch/iPhone SDK A study using Cognitive Dimensions](https://reader035.vdocuments.net/reader035/viewer/2022062407/56649d425503460f94a1ccca/html5/thumbnails/8.jpg)
Interface Builder
Hidden Dependencies Hidden Dependencies are easy to seeare easy to seeHidden Dependencies Hidden Dependencies are easy to see.are easy to see.
(See File’s Owner)(See File’s Owner)
![Page 9: ITouch/iPhone SDK A study using Cognitive Dimensions](https://reader035.vdocuments.net/reader035/viewer/2022062407/56649d425503460f94a1ccca/html5/thumbnails/9.jpg)
iPhone Simulator
•Progressive Evaluation
•Layout widgets first
•Add handlers and actions later.
•Supports some multi-touch
![Page 10: ITouch/iPhone SDK A study using Cognitive Dimensions](https://reader035.vdocuments.net/reader035/viewer/2022062407/56649d425503460f94a1ccca/html5/thumbnails/10.jpg)
The Bad
![Page 11: ITouch/iPhone SDK A study using Cognitive Dimensions](https://reader035.vdocuments.net/reader035/viewer/2022062407/56649d425503460f94a1ccca/html5/thumbnails/11.jpg)
Premature Commitment
•Need to decide your application type when creating a new project
![Page 12: ITouch/iPhone SDK A study using Cognitive Dimensions](https://reader035.vdocuments.net/reader035/viewer/2022062407/56649d425503460f94a1ccca/html5/thumbnails/12.jpg)
Memory Management
•Hard mental operations
•Only 64 MB of memory, view are hogs
•No garbage collection
•Have memory leak, get killed
•Consistency
•alloc, dealloc, retain
![Page 13: ITouch/iPhone SDK A study using Cognitive Dimensions](https://reader035.vdocuments.net/reader035/viewer/2022062407/56649d425503460f94a1ccca/html5/thumbnails/13.jpg)
Headers and Implementation
![Page 14: ITouch/iPhone SDK A study using Cognitive Dimensions](https://reader035.vdocuments.net/reader035/viewer/2022062407/56649d425503460f94a1ccca/html5/thumbnails/14.jpg)
Separate Headers and
ImplementationHidden Consistencies
•name & setName
•@property and @synthesize builds getters and setters. Still need to deallocate.
![Page 15: ITouch/iPhone SDK A study using Cognitive Dimensions](https://reader035.vdocuments.net/reader035/viewer/2022062407/56649d425503460f94a1ccca/html5/thumbnails/15.jpg)
Reflections on CD•Hard to know real problems without
experience of use. (viscosity)
•iPhone programming seems easy.
•Easy to find good things. Hard to find bad things
•Notation is mostly visual. More depth needed to understand APIs.
![Page 16: ITouch/iPhone SDK A study using Cognitive Dimensions](https://reader035.vdocuments.net/reader035/viewer/2022062407/56649d425503460f94a1ccca/html5/thumbnails/16.jpg)
Otherwise lots of fun!