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
AWSS3TransferManager *transferManager = [AWSS3TransferManager defaultS3TransferManager]; | |
// Construct the NSURL for the download location. | |
NSString* downloadingFilePath = [NSTemporaryDirectory() stringByAppendingPathComponent:@"downloaded-myImage.jpg"]; | |
NSURL *downloadingFileURL = [NSURL fileURLWithPath:downloadingFilePath]; |
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 "ViewController.h" | |
typedef NS_ENUM(NSInteger, HDDirection) { | |
HDDirectionNorth = 0, | |
HDDirectionSouth = 1, | |
HDDirectionWest = 2, | |
HDDirectionEast = 3, | |
}; | |
@interface ViewController () |
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
// | |
// OrbMaster.m | |
// fieldTheory1 | |
// | |
// Created by alexanderbollbach on 8/20/15. | |
// Copyright © 2015 alexanderbollbach. All rights reserved. | |
// | |
#import "OrbMaster.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
#import "OrbView.h" | |
@interface OrbView() | |
@property(nonatomic) double closestOrbDistance; | |
@property(nonatomic) NSString* closestOrbName; | |
@property(nonatomic,strong) CAShapeLayer* connectLayer; | |
@property(nonatomic) CGMutablePathRef connectPath; | |
@property(nonatomic,strong) OrbView* closestOrb; |
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 "OrbitViewController.h" | |
#import <stdio.h> | |
#import <math.h> | |
@interface OrbitViewController() | |
@end | |
@implementation OrbitViewController |
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
// | |
// RootController.m | |
// slideOut | |
// | |
// Created by alexanderbollbach on 8/25/15. | |
// Copyright © 2015 alexanderbollbach. All rights reserved. | |
// | |
#define kExposedWidth 200.0 | |
#define kMenuCellID @"MenuCell" | |
#import "RootController.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
// | |
// OrbLayerBaseOverlay.m | |
// fieldTheory1 | |
// | |
// Created by alexanderbollbach on 8/29/15. | |
// Copyright © 2015 alexanderbollbach. All rights reserved. | |
// | |
#define degreesToRadians(x) ((x) * M_PI / 180.0) | |
#import "OrbLayerBaseOverlay.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
-(void)updateDrawingWithCount:(int)count { | |
int degree; | |
switch (self.beat) { | |
case beat1: | |
degree = 90; | |
break; | |
case beat2: | |
degree = 180; | |
break; |
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 "OrbView.h" | |
#import "UIViewController+JASidePanel.h" | |
#import "JASidePanelController.h" | |
#import "OrbManager.h" | |
#import "OrbMaster.h" | |
#import <math.h> | |
#import "OrbitViewController.h" | |
#import "SettingsViewController.h" | |
#import "OrbLayerBase.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
- (void)viewDidLoad { | |
[super viewDidLoad]; | |
incrementName = 0; | |
self.orbManager = [OrbManager sharedManager]; | |
self.orbMaster = [OrbMaster orbMaster]; | |
OlderNewer