Lecture #19: Automated Testing

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

Lecture nineteen is named “19. Automated Testing (December 6, 2011) – HD” and can be found at iTunes.

The lecturer Andy Matuschak from the UIKit team at Apple uses a short demo to introduce unit tests and automation.

Unit tests are defined by creating subclasses of SenTestCase. The actual unit tests are methods starting with the prefix test, testing expectations using STAssert* and use the methods setUP and tearDown for shared initialization and clean up.

iOS UI Automation allows to run top down tests on the user interface using the automation tool of Instruments. Actions can be recorded and the app be manipulated via UIAElements in JavaScript, which can also be used to inspect states calling UIALogger logFail/Pass methods. Within a script accessibilityLabels can be used for easy access to interface elements.

FacebooktwitterredditpinterestlinkedintumblrmailFacebooktwitterredditpinterestlinkedintumblrmail

DocSets for iOS

Searching through the documentation in Xcode can be a quite tedious task, especially if you have multiple versions of documentations. DocSets for iOS allows to store the documentation on an iPhone or an iPad and amazes with its speed searching the documentation.

It is available for download for free at github (which needs to be installed manually), or directly at the App store (especially when you want to support the developer).

FacebooktwitterredditpinterestlinkedintumblrmailFacebooktwitterredditpinterestlinkedintumblrmail

Friday Session #8: Designing Multimedia iOS Apps

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

This weeks Friday session is named “Designing Multimedia iOS Apps (December 2, 2011)” and can be found at iTunes. Its slides are available at Stanford.

In this lecture Jason Riggs presents how to use OpenGL ES and C++ to create a game. Starting from a skeleton framework this demo implements a fully functional mini game.

Further references:

FacebooktwitterredditpinterestlinkedintumblrmailFacebooktwitterredditpinterestlinkedintumblrmail

Lecture #18: iCloud Demo

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

Lecture eighteen is named “18. iCloud Demo (December 1, 2011)” and can be found at iTunes. Its slides are available at Stanford.

This lecture is a one-hour demo continuing the demo of the previous lecture by adding more iCloud functionality to the Photomania app. Its code is available directly at Stanford or on github.

Please note iCloud does not work on the simulator and needs a provisioning profile enabling iCloud for the device.

FacebooktwitterredditpinterestlinkedintumblrmailFacebooktwitterredditpinterestlinkedintumblrmail

Lecture #17: iCloud

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

Lecture seventeen is named “17. iCloud (November 29, 2011)” and can be found at iTunes. Its slides are available at Stanford.

This lecture together with the following one addresses the iCloud and how to use it for sharing documents among user’s devices. Using the iCloud is like using an URL of a shared directory with restrictions deriving from latency and shared access. It is setup in Xcode by enabling Entitlements.

URLs for the iCloud are derived via the file manager:

[[NSFileManager defaultManager] URLForUbiquityContainerIdentifier:nil];

Continue reading “Lecture #17: iCloud”

FacebooktwitterredditpinterestlinkedintumblrmailFacebooktwitterredditpinterestlinkedintumblrmail

Friday Session #7: Smule

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

This weeks Friday session presents Smule, a company specialized in developing social music applications. It can be found on iTunes titled “Smule (November 18, 2011)”.

The lecturer is Ge Wang, assistant professor at the center of computer research in music and acoustics at Stanford and co-founder of Smule. He starts by introducing how music is generated on music, e.g. ChucK an audo programming language for real-time synthesis, composition, performance and analysis; its usage in laptop orchestras, e.g. Slork and Plork; and emphasizes how it can be applied on the iPhone to create social music experience, e.g. Ocarina a digital flute, Sing! and Glee Karaoke karaoke machines allowing to sing with other people online, Magic Piano and Magic Guitar further digital instruments.

FacebooktwitterredditpinterestlinkedintumblrmailFacebooktwitterredditpinterestlinkedintumblrmail

Lecture #16: Action Sheets, Image Picker, Core Motion

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

Lecture sixteen is named “16. Action Sheets, Image Picker, Core Motion (November 17, 2011)” and can be found at iTunes. Its slides are available at Stanford.

This lecture is a continuation of the previous one providing more insight into timers, but also giving an overview about alerts and action sheets, image pickers and Core Motion.

Perform after delay is an alternative time to NSTimer, discussed in the previous lecture:
Continue reading “Lecture #16: Action Sheets, Image Picker, Core Motion”

FacebooktwitterredditpinterestlinkedintumblrmailFacebooktwitterredditpinterestlinkedintumblrmail