Skip to content

Instantly share code, notes, and snippets.

View martinpilch's full-sized avatar

Martin Pilch martinpilch

View GitHub Profile
[dictionary putStringValue:@"facebook" forKey:@"provider"];
[dictionary putStringValue:@"109322029116699" forKey:@"facebookAppId"];
[dictionary putStringValue:@"tw4" forKey:@"facebookLocalAppId"];
[dictionary putStringValue:@"email,user_birthday,user_location,publish_stream,offline_access" forKey:@"facebookExtraPermissions"];
@martinpilch
martinpilch / MPActivityIndicator.h
Created May 31, 2012 18:33
Custom activity indicator
@interface MPActivityIndicator : UIView
@property (nonatomic, readonly, getter = isAnimating) BOOL animating;
- (void)stopAnimating;
- (void)startAnimating;
- (void)rotateLoadingCircleByPercents:(CGFloat)percents;
@end