cs193p – Lecture #7 – Animation, Auto Layout

Please note, this blog entry is from a previous course. You might want to check out the current one.

Though lecture #7 is called animation and auto layout the title of the last lecture would be better fit, because it discusses mainly views and gestures.

The theory part describes how to draw into views using code and how to use different kind of gestures. The demo at the end of the lecture shows their usage.

The code for this lecture is available at github as well as from Stanford.

The lecture as well as its slides are available via iTunes called “7. Animation, Auto Layout”.

FacebooktwitterredditpinterestlinkedintumblrmailFacebooktwitterredditpinterestlinkedintumblrmail

cs193p – Lecture #6 – Views and Gestures

Please note, this blog entry is from a previous course. You might want to check out the current one.

Lecture #6 covers views and gestures and shows how to use them in a extensive demo at the end of the lecture:

The hierarchy of views is most often constructed in storyboard but it can be done also:

- (void)addSubview:(UIView*)aView;
- (void)removeFromSuperview;

A view can be accessed from a view controller using its:

@property (strong, nonatomic) UIView *view

Continue reading “cs193p – Lecture #6 – Views and Gestures”

FacebooktwitterredditpinterestlinkedintumblrmailFacebooktwitterredditpinterestlinkedintumblrmail