cs193p – Lecture #12 – Documents and Core Data

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

Lecture #12 contains theory only, addressing core data, managed documents, notifications and categories.

The lecture as well as its slides are available via iTunes called “12. Documents and Core Data”.

FacebooktwitterredditpinterestlinkedintumblrmailFacebooktwitterredditpinterestlinkedintumblrmail

cs193p – Lecture #11 – Table View and iPad

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

Lecture #11 starts with an introduction to table views, their styles and elements, how to fill theirs cells using data sources, how to react to user interactions using delegates, table segues and table spinners for refreshing.

The second theoretical part addresses universal applications adding storyboards and functionality for the iPad, as well as iPad specific controllers like the split-view controller and popovers.

The practical part of the lecture demonstrates how to use table views and split view controllers.

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

The lecture as well as its slides are available via iTunes called “11. Table View and iPad”.

FacebooktwitterredditpinterestlinkedintumblrmailFacebooktwitterredditpinterestlinkedintumblrmail

cs193p – Lecture #10 – Multithreading, Scroll View

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

Lecture #10 starts with an introduction on multithreading mainly on how to run lengthy tasks in parallel to avoid blocking. iOS supports different APIs – where the last courses emphasized on the C-styled API this year the Objective-C API seems to be preferred.

The second part of the theory addresses scroll views, on how to create them, scrolling and zooming.

The rest of the lecture is devoted to a demonstration of multithreading and scroll views.

The code for this lecture is available at gitub. Stanford has not updated its homepage yet, I assume it will be available in short time.

The lecture as well as its slides are available via iTunes called “10. Multithreading, Scroll View”.

FacebooktwitterredditpinterestlinkedintumblrmailFacebooktwitterredditpinterestlinkedintumblrmail

cs193p – Lecture #9 – Animation and Autolayout

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

Lecture #9 starts with a demo continuing the dropit app from the previous lecture.

The rest of the lecture is devoted to autolayout and different ways how constraints can be defined followed by another short demonstration.

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

The lecture as well as its slides are available via iTunes called “9. Animation and Autolayout”.

FacebooktwitterredditpinterestlinkedintumblrmailFacebooktwitterredditpinterestlinkedintumblrmail

cs193p – Lecture #8 – Protocols, Blocks, and Animation

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

Though lecture #8 starts with a huge theory part.

Protocols are a way of communication between unrelated projects, in iOS mainly used for delegates and data sources. A protocol declares which properties and methods can or have to exist in another class to be accessible by the declaring class.

Blocks encapsulate pieces of code which can be passed like objects. Special care has to be taken when the code inside blocks needs to access variables or objects outside the block.

Animating views can be done by animating its properties directly or – new in iOS 7 – physics based. When animating the properties of a view you provide the timing and the end state. For dynamic animation you define the physics of your view and its contents.

The end of the lecture is a demo explaining dynamic animation in more detail.

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 “8. Protocols, Blocks, and Animation”.

FacebooktwitterredditpinterestlinkedintumblrmailFacebooktwitterredditpinterestlinkedintumblrmail

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 starts with a short demonstration on how to use abstract view controller classes and their sub classes.

The theory part of the lecture introduces how multiple MVCs work together to be specific navigation controllers and segues, which is shown in another demonstration.

The lecture closes with an explanation of tab-bar controllers.

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

The lecture as well as its slides are available via iTunes called “6. Views and Gestures”.

FacebooktwitterredditpinterestlinkedintumblrmailFacebooktwitterredditpinterestlinkedintumblrmail