cs193p – Lecture #4 – Foundation and Attributed Strings

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

Lecture #4 is mostly theory with a tiny demonstration in between.

It starts with an introduction to foundation objects and how to create them using initializers or special class methods. The demo shows how to use introspection to safely use dynamic typing.

Further objects of the foundation framework explained during the lecture are mutable and immutable arrays (as well as enumeration), numbers, values, data objects, dates, sets (ordered, unordered), and dictionaries.

New for iOS 7 is preferredFontForTextStyle for fonts and font descriptors.

The lecture ends with attributed strings …

The code for this lecture is available at github.

The lecture as well as its slides are available via iTunes called “4. Foundation and Attributed Strings”.

FacebooktwitterredditpinterestlinkedintumblrmailFacebooktwitterredditpinterestlinkedintumblrmail

cs193p – Lecture #3 – Objective-C

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

Lecture #3 is a demonstration of how to solve the previous assignment and adds new features to the Matchismo app by adding additional cards and a card-matching algorithm.

The code for this lecture is available at github.

The lecture as well as its slides (which include a complete walk through of the demo from the lecture) are available via iTunes called “3. Objective-C”.

FacebooktwitterredditpinterestlinkedintumblrmailFacebooktwitterredditpinterestlinkedintumblrmail

cs193p – Lecture #2 – Xcode 5

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

Lecture #2 provides a short walk through of the Xcode developing environment. The first half of the lecture discusses the various classes of the model for the playing card game. The second is a life demonstration on how to start a project in Xcodes, placing buttons and labels in Storyboard and connecting them to the view controller.

At the end of the lecture the app called Matchismo displays a playing card and allows to flip it to show both sides of the card.

The code for this lecture is available at github.

The lecture as well as its slides (which include a complete walk through of the demo from the lecture and most of assignment #1) are available via iTunes called “2. Xcode 5”.

FacebooktwitterredditpinterestlinkedintumblrmailFacebooktwitterredditpinterestlinkedintumblrmail

cs193p – Lecture #1 – iOS, MVC, Objective-C

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

Like every year lecture #1 is an general introduction of the course with an overview about iOS, MVC and Object C.

Paul Hegarty stresses the importance of being familiar with object oriented programming as prerequisites for the course and that it is not for absolute beginners.
Continue reading “cs193p – Lecture #1 – iOS, MVC, Objective-C”

FacebooktwitterredditpinterestlinkedintumblrmailFacebooktwitterredditpinterestlinkedintumblrmail