I hereby claim:
- I am westonhanners on github.
- I am westonhanners (https://keybase.io/westonhanners) on keybase.
- I have a public key ASC5UeSN-fLiHY-VSB_UFMd2xZgqNWLuvXU1yFkAKnWJKgo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| import Foundation | |
| func parseBF(code: String, input: String = "") { | |
| if code.isEmpty { | |
| print("Empty Program") | |
| return | |
| } | |
| // BrainFuck Machine Initalization |
| ### Keybase proof | |
| I hereby claim: | |
| * I am WestonHanners on github. | |
| * I am westonhanners (https://keybase.io/westonhanners) on keybase. | |
| * I have a public key whose fingerprint is 7A70 4751 8060 17D4 DFCC 1AE5 202C FE5F B6D7 3B1F | |
| To claim this, I am signing this object: |
| -(void)setupContentViewControllerAnimatorProperties { | |
| NSAssert(self.animator == nil, @"Animator is not nil – setupContentViewControllerAnimatorProperties likely called twice."); | |
| self.animator = [[UIDynamicAnimator alloc] initWithReferenceView:self]; | |
| self.animator.delegate = self; | |
| UICollisionBehavior *collisionBehavior = [[UICollisionBehavior alloc] initWithItems:@[self.overlayView]]; | |
| // Need to create a boundary that lies to the left off of the right edge of the screen. | |
| [collisionBehavior setTranslatesReferenceBoundsIntoBoundaryWithInsets:UIEdgeInsetsMake(0, -280, 0, 0)]; |