April 6, 2010

Web services example

Here’s the example I showed in class on grabbing photos from Flickr. It’s definitely worth going over this code. If you’d like to use this functionality in your own projects you’ll need to include all the source files from json-framework as well the files from the new v0.2 of the LittleComputers repo. This app shows how to load the very first image result for the tag “cat” from Flickr, woot. Let me know if you run into any problems and feel free to ask me any questions about this code.

WebServices

March 29, 2010

Persistence Examples

Persistence

March 4, 2010

Examples from Class Today

Class6

February 19, 2010

Rotate+Scale+Translate, Quart 2D, OpenGL ES, Core Animation

All class examples in this zip. Class 5 Code

XCode + Git

More details here.

February 15, 2010

Caching Methods

Peter’s example code from last week here.

February 12, 2010

Paper Mockups

Please add a link to your paper mockup as a comment to this post.

February 5, 2010

Class 3 Examples

Here are the examples I showed in class today in zip format. Class3

January 29, 2010

C Examples Zip

Get it here.

January 22, 2010

Introductions

This is the blog for Little Computers class Spring 2010 at ITP. On the right you’ll find the syllabus, resources, assignments, and offices hours.

#import <Foundation/Foundation.h>
 
@interface HelloWorld : NSObject
{
}
- (void)talk;
@end
 
@implementation HelloWorld
 
- (void)talk
{
  NSLog(@"Hello world!");
}
 
@end
 
 
int main (int argc, const char * argv[]) {
  NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
 
  HelloWorld *instance = [[HelloWorld alloc] init];
  [instance talk];
 
  [pool drain];
  return 0;
}