I downloaded and watched the CS193P class projects video last night. I was very impressed with the work. If these guys started from scratch like me in April I am very impressed with how much they learned. I was especially impressed with the vector graphics demo and the music applications. This video is well worth watching!
June 10, 2009
June 4, 2009
Lecture 18 posted today. They say that they will clean the class site and that you need to download material now!
They do plan on having the course again in the fall but they do not yet know if it will be on iTunes U. Thanks again guys!
May 26, 2009
TechCrunch posted a “cold water” story about the iPhone App store yesterday which drew many comments. Their point is that the App store is over hyped as a way to make money. It drew the kind of responses you might predict for this kind of tech story both pro and con. Depending on your your tolerance and interest in such stories it is worth a quick read and I guess we can say we are now in the tear it down part of the tech hype cycle for the App store.
I really enjoyed both the technology and social aspects of CS193P. Obj-C and Cocoa are cool. The instructors and the people I “meet” in our Google Group (664 members now) on Twitter #CS193P and through this blog have been great.
Having developed “Enterprise” software for many years it is good for my soul to see the enthusiasm and creativity of this platform. Touch interfaces and portability make many new things possible much as cheap micro computers and later the internet did. The iPhone and Touch along with the App store provide today’s best way forward for this change. I also hope Android and other platforms develop along side the Apple platform to deliver this change.
May 20, 2009
Fortune has an article where they have more detailed numbers on CS193P downloads and iPhone developers. They say there are about 200,000 auditors downloading classes and about 100,000 keeping up. They also say about 50,000 have paid Apple $99 dollars to be a developer and that 11,800 have uploaded applications to the store. They even have a link to our Google group on the class.
May 18, 2009
A Stanford press release today says there have been 1 million CS193P downloads so far from iTunes U! And as of today there are 570 members of the Google Group for the class. Amazing and thanks to all who have made this online class possible! If each watcher made 20 downloads then there are 50,000 auditors (probably a high estimate but who knows?)
May 17, 2009
As the class winds down it’s time to find places to that have interesting code examples to study. One of the best is “iPhone Development” by Jeff LaMarche one of the coauthors of “Beginning iPhone Development. Two good coding examples I have been looking at there are an OpenGL ES series and how to detect a circle gesture. Also worth watching are his debugging screecasts Part1 and Part2.
May 15, 2009
I watched lecture 13 last night and thought it was a bit scattered. Make sure and watch the beginning (at 2:20) where debugging programs with obj-c exceptions is covered. The two main hints were to set a breakpoint at “objc_exception_throw” and to look at the “Console” output for the best hints at where your program died.
At 57:00 Presence #4 is demoed. The additions from Presence #3 are using the address book, adding a “tab” navigation bar and searching for data. (more…)
May 13, 2009
Want to see the Presence assignments run before you start coding? You can look in the lectures as follows:
1. Presence #1 – In Movie #6 – View Controllers at 1:10:45
2. Presence #2 – In Movie #8 – Table Views at 51:32
3. Presence #3 – In Movie #10 – Performance at 1:07:11
4. Presence #4 – In Movie #13 – Debugging Tips & Searching at 57:00
I got some e-mail again about passing data so I made this tutorial. There are really very few changes needed but they are spread across 6 files and if you miss some of them it can be hard to track down. As you follow these steps make sure and learn the pattern of #imports, ivar declaration and @property statements in the class .h file and the corresponding @synthesize statement needed in the class .m file. (more…)
May 11, 2009
While googling for some help I saw Blog posts from last year pointing at today’s CS193P site. It appears the Lecture Notes and Demo programs got removed from the class URL when the class began again this spring.
CS193P is a very good introduction to iPhone Development and I see Google group participants who have “time shifted” the class and are just starting. I don’t know Stanford’s plans (and I know SDK V3.0 is coming) but if you plan to “take” CS193P be sure to download the class materials and the iTunes U lectures while they are there.
May 10, 2009
Lecture #11 had a short section (look about 5:00 in) on using Clang to do static analysis of your projects to look for memory issues. It looked pretty easy so I downloaded Clang thinking I’d learn something about memory management by running it on some of my completed projects.
Edit : Make sure and use Clang version checker-0.199 or above if you see an #error “SSE instruction set not enabled” when you run Clang.
May 8, 2009
I am following the #CS193P tweets and today one came up with a link to a Japanese blog called “Tomute’s Notes” following the class. It was fun to poke around (Google translate works well). He has good code examples for the Poly and Presence assignments. The Stanford iPhone class is spreading around the world! Edit: Tomute’s author tweeted me and suggested another blog (blog.seiji.me) as a very good CS193P reference.
May 7, 2009
While working on Presence #2 I hit the stage where sending -initWithName messages to my Person class was causing the warning during compilation “warning: “Person” may not respond to ‘-initWithName:displayname:pictureUrl:timeline:’ Messages without a matching method signature…”. Then when the code ran it threw an exception. It took 20 minutes for me to figure out why (I know – dumb me). I had typed “displayname:” and not displayName:” . If you see this warning look for typos and fix them before actually trying to run your application. I post this entry so as not to forget this lesson.
I also set my default editor font up from the default ’10’ size to ’12’ after this so I could more easily “see” small errors like this. You do this in the Xcode>Preference..>Fonts&Colors window.
May 6, 2009
Many of us are struggling to use the Interface Builder to do the Presence #2 assignment. Pragmatic Studio has an excellent video tutorial which builds an application with Custom cells and a shared data object to populate them. This is pretty much a Presence #2 walk through! Watch this one before you start the assignment.
When I start each assignment I find it takes an hour or two of searching and reading documents to figure out the basics of the new concepts to get some sample code going.
I have now added reading the TwitterUsers.plist to the JSON code from May 5th. I think this will help you get going. It is my -viewDidLoad code which reads the plist and goes to Twitter. Output is via NSLOG.