6. Freebase.framework APIs
Delegate/selector model
FreebaseSession *session = [FreebaseSession session];
[session <apicall>:<query>
name:@”convenience_name”
delegate:obj
didFinishSelector:@selector(someselector:name:etc:)
options:[NSDictionary dictionary...]];
• “name” is just useful
• “options” is optional
7. Freebase.framework APIs
delegates and didFinishSelector
• specific selector called on success
- (void)querydone:(id)result
name:(NSString*)name
cursor:(NSString*)cursor;
• cursor is mqlread only
• errorDidOccur:name: on failure
8. Freebase.framework
• CocoaTouch widgets
• FreebaseTable - infinite scrolling, sections,
thumbnails
• FreebaseSuggest - pick a topic, with location
support
• FreebaseDetail - minimalistic topic view