This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[UIView animateWithDuration:40.0f | |
delay:0.0f | |
options: | |
UIViewAnimationOptionCurveLinear | | |
UIViewAnimationOptionAutoreverse | | |
UIViewAnimationOptionRepeat | |
animations:^{ | |
[UIView setAnimationRepeatCount:10]; | |
CGAffineTransform moveRight = CGAffineTransformMakeTranslation(20, -100); | |
CGAffineTransform zoomIn = CGAffineTransformMakeScale(1.5, 1.5); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "liquidfun", | |
"license": { | |
"type": "zlib" | |
}, | |
"version": "1.1.0", | |
"summary": "LiquidFun is a 2D physics engine for games.", | |
"description": "LiquidFun is an extension of Box2D. It adds a particle based fluid and soft body simulation to the rigid body functionality of Box2D.", | |
"homepage": "http://google.github.io/liquidfun/", | |
"authors": "Google", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# uncrustify config file for objective-c and objective-c++ | |
# | |
indent_with_tabs = 0 # 1=indent to level only, 2=indent with tabs | |
output_tab_size = 4 # new tab size | |
indent_columns = output_tab_size | |
indent_label = 2 # pos : absolute col, neg : relative column | |
indent_align_assign = FALSE | |
indent_oc_block = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// PSHCoverFeedViewController.m | |
// SocialHome | |
// | |
// Created by Kenny Tang on 4/14/13. | |
// Copyright (c) 2013 corgitoergosum.net. All rights reserved. | |
// | |
#import "FeedItem.h" | |
#import "ItemSource.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// PSHCoverFeedViewController.m | |
// SocialHome | |
// | |
// Created by Kenny Tang on 4/14/13. | |
// Copyright (c) 2013 corgitoergosum.net. All rights reserved. | |
// | |
#import "PSHCoverFeedViewController.h" | |
#import "PSHFacebookDataService.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- (NSDateFormatter*)dateFormatter | |
{ | |
if (!_dateFormatter) { | |
_dateFormatter = [[NSDateFormatter alloc] init]; | |
[_dateFormatter setDateFormat:@"MMMM d"]; | |
} | |
return _dateFormatter; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- (void)setupViewFrameBounds | |
{ | |
CGRect screenBounds = [[UIScreen mainScreen] bounds]; | |
self.view.frame = screenBounds; | |
} | |
- (void)setupNavigationBar | |
{ | |
self.navigationController.navigationBarHidden = YES; | |
self.navigationItem.hidesBackButton = YES; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- (void)viewDidLoad | |
{ | |
[super viewDidLoad]; | |
// animate menus | |
[self animateMenuOnStart]; | |
[self.menuViewController animateHideMenuButtons]; | |
} | |
- (void)didReceiveMemoryWarning |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- (void)viewDidLoad | |
{ | |
[super viewDidLoad]; | |
CGRect screenBounds = [[UIScreen mainScreen] bounds]; | |
self.view.frame = screenBounds; | |
self.navigationController.navigationBarHidden = YES; | |
self.navigationItem.hidesBackButton = YES; | |
self.dateFormatter = [[NSDateFormatter alloc] init]; | |
[self.dateFormatter setDateFormat:@"MMMM d"]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#import "FeedItem.h" | |
#import "ItemSource.h" | |
#import "PSHCoverFeedPageViewController.h" | |
#import "PSHCoverFeedViewController.h" | |
#import "PSHFacebookDataService.h" | |
#import "PSHMenuViewController.h" | |
#import "PSHMessagingViewController.h" | |
@interface PSHCoverFeedViewController () < | |
UIPageViewControllerDataSource, |
NewerOlder