2010年9月4日 星期六

syntaxhighlighter測試

今天研究了一下syntaxhighlighter這個套件,現在終於可以在blogger裡面分享程式碼了!!但是針對objective-c的highlight似乎有點怪怪的,之後再慢慢繼續研究吧。
- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil {
if (self = [super initWithNibName:@"facebooktestViewController" bundle:nibBundleOrNil]) {
if (kGetSessionProxy) {
_session = [[FBSession sessionForApplication:kApiKey getSessionProxy:kGetSessionProxy
delegate:self] retain];
} else {
_session = [[FBSession sessionForApplication:kApiKey secret:kAppSecret delegate:self] retain];
}
}
return self;
}

沒有留言:

張貼留言