Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
= v0.6.8 2010-01-09
* Updates KissXML. Fixes possible app store rejection due to isa-swizzling.
* XML parsing speedups (side effect of KissXML upgrade)

= v0.6.7 2009-12-22
* Support for 3.1.2
* Fix documentation errors
* Fix error domain
* Update GHUnit to latest
* Optimize response handling to use built in status code strings

= v0.6.6 2009-09-30
* Fix NSXML compilation errors on some 3.1 devices
= v0.6.5 2009-09-27

= v0.6.5 2009-09-27
* Support for iPhone OS 3.1
* Support for array parameters
* Attempt to use ASCII encoding if UTF8 fails
Expand Down
14 changes: 7 additions & 7 deletions Documentation/Samples/Tweet.m
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,18 @@ - (void)initWithDictionary:(NSDictionary *)dict {
[self setLocation:[dict valueForKeyPath:@"user.location"]];
[self setText:[dict valueForKey:@"text"]];
}

return self;
}

// NOTE: The `delegate` object isn't neccissary here, but there is an important reason why
// I'm using this approach. I want to give my controller fully initialized models instead of
// raw NSDIctionary objects. On that note I pass the controller as the <tt>object</tt> to the
// I'm using this approach. I want to give my controller fully initialized models instead of
// raw NSDIctionary objects. On that note I pass the controller as the <tt>object</tt> to the
// request so I can call back to it in the delegate methods handling the responses.
+ (id)timelineForUser:(NSString *)user delegate:(id)delegate {
NSDictionary *params = [NSDictionary dictionaryWithObject:user forKey:@"screen_name"];
NSDictionary *opts = [NSDictionary dictionaryWithObject:params forKey:@"params"];

[self getPath:@"/statuses/user_timeline.json" withOptions:opts object:delegate];
}

Expand All @@ -46,18 +46,18 @@ + (void)restConnection:(NSURLConnection *)connection didReceiveError:(NSError *)
}

+ (void)restConnection:(NSURLConnection *)connection didReceiveParseError:(NSError *)error responseBody:(NSString *)string {
// Request was successful, but couldn't parse the data returned by the server.
// Request was successful, but couldn't parse the data returned by the server.
}

// Given I've passed the controller as the <tt>object</tt> here, I can call any method I want to on it
// giving it a collection of models I've initialized.
+ (void)restConnection:(NSURLConnection *)connection didReturnResource:(id)resource object:(id)object {
NSMutableArray *tweets = [[[NSMutableArray alloc] init] autorelease];

for(id item in resource) {
[tweets addItem:[[Tweet alloc] initWithDictionary:item]];
}

[object performSelector:@selector(tweetsLoaded:) withObject:tweets];
}
@end
Expand Down
18 changes: 9 additions & 9 deletions Documentation/slate/slate.css
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ p.formulaDsp {
}

img.formulaDsp {

}

img.formulaInl {
Expand Down Expand Up @@ -183,20 +183,20 @@ span.charliteral {
color: #008080
}

span.vhdldigit {
color: #ff00ff
span.vhdldigit {
color: #ff00ff
}

span.vhdlchar {
color: #000000
span.vhdlchar {
color: #000000
}

span.vhdlkeyword {
color: #700070
span.vhdlkeyword {
color: #700070
}

span.vhdllogic {
color: #ff0000
span.vhdllogic {
color: #ff0000
}

/* @end */
Expand Down
Loading