Top Banner
iTouch/iPhone SDK A study using Cognitive Dimensions
16

ITouch/iPhone SDK A study using Cognitive Dimensions.

Dec 20, 2015

Download

Documents

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: ITouch/iPhone SDK A study using Cognitive Dimensions.

iTouch/iPhone SDKA study using Cognitive Dimensions

Page 2: ITouch/iPhone SDK A study using Cognitive Dimensions.

The Good

Page 3: ITouch/iPhone SDK A study using Cognitive Dimensions.

Interface Builder

Page 4: ITouch/iPhone SDK A study using Cognitive Dimensions.

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.

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.

Interface Builder

Hidden Dependencies Hidden Dependencies are easy to seeare easy to see

Page 7: ITouch/iPhone SDK A study using Cognitive Dimensions.

Interface Builder

Hidden Dependencies Hidden Dependencies are easy to seeare easy to see

Page 8: ITouch/iPhone SDK A study using Cognitive Dimensions.

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.

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.

The Bad

Page 11: ITouch/iPhone SDK A study using Cognitive Dimensions.

Premature Commitment

•Need to decide your application type when creating a new project

Page 12: ITouch/iPhone SDK A study using Cognitive Dimensions.

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.

Headers and Implementation

Page 14: ITouch/iPhone SDK A study using Cognitive Dimensions.

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.

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.

Otherwise lots of fun!