This file contains hidden or 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
Started by user anonymous | |
Building in workspace /Users/ethen/.jenkins/workspace/Build NikNik | |
> /usr/bin/git rev-parse --is-inside-work-tree | |
Fetching changes from the remote Git repository | |
> /usr/bin/git config remote.origin.url https://JenkinsBotEAW:[email protected]/ethenwilson/whentoact.git | |
Fetching upstream changes from https://[email protected]/ethenwilson/whentoact.git | |
> /usr/bin/git --version | |
> /usr/bin/git fetch --tags --progress https://[email protected]/ethenwilson/whentoact.git +refs/heads/*:refs/remotes/origin/* | |
> /usr/bin/git rev-parse origin/master^{commit} | |
Checking out Revision 8b2d509f1fe6e9ae10d4d58fb0d3a897cf24bc46 (origin/master) |
This file contains hidden or 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
Started by user anonymous | |
Building in workspace /Users/ethen/.jenkins/workspace/Build NikNik | |
> git rev-parse --is-inside-work-tree | |
Fetching changes from the remote Git repository | |
> git config remote.origin.url [email protected]:ethenwilson/whentoact.git | |
Fetching upstream changes from [email protected]:ethenwilson/whentoact.git | |
> git --version | |
using GIT_SSH to set credentials NikNik BitBucket SSH Key | |
> git fetch --tags --progress [email protected]:ethenwilson/whentoact.git +refs/heads/*:refs/remotes/origin/* | |
FATAL: Failed to fetch from [email protected]:ethenwilson/whentoact.git |
This file contains hidden or 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
DEWs-Mac-Pro:Niknik ethen$ ls | |
Base.lproj Libraries NNAppDelegate.m NNConstant.m NiknikTests _Attack _GameSettings _Inventory _JoinView _Player history.txt | |
Images.xcassets NNAppDelegate.h NNConstant.h NNConstantTests.m Supporting Files _BoundaryLines _GameView _Items _MainMenuView _Store | |
DEWs-Mac-Pro:Niknik ethen$ ls _Items | |
NNDisclosureButton.h NNItem.h NNItemDescriptionTableViewCell.h NNItemDescriptionTableViewDataSource.h NNItemDescriptionUnit.h NNKnifeWeaponItem.h NNWeaponItem.h | |
NNDisclosureButton.m NNItem.m NNItemDescriptionTableViewCell.m NNItemDescriptionTableViewDataSource.m NNItemDescriptionUnit.m NNKnifeWeaponItem.m NNWeaponItem.m | |
DEWs-Mac-Pro:Niknik ethen$ git mv _Items/NNDislosureButton.h _ItemDescription/NNDisclosureButton.h | |
fatal: bad source, source=_Items/NNDislosureButton.h, destination=_ItemDescription/NNDisclosureButton.h |
This file contains hidden or 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
- (UIResponder*)responderOf:(UIView*)view forPoint:(CGPoint)point { | |
DDLogDebug(@"View:%@ subviews: %@", view, view.subviews); | |
if (!view || view.hidden || !CGRectContainsPoint([self.rootView convertRect:view.frame fromView:view.superview], point)) { | |
return nil; | |
} | |
if ([self object:view isKindOfAClass: [self allowedResponderClasses]] && view.userInteractionEnabled && ((UIControl*)view).enabled) { | |
DDLogDebug(@"View confirmed: %@", view); | |
This file contains hidden or 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
#pragma mark Info Disclosure button | |
- (IBAction)infoDisclosureButtonClick:(id)sender { | |
UIButton *infoDisclosureButton = (UIButton*)sender; | |
// View hiearchy: InfoDisclosureButton -> Cell Content View -> Some Cell Internal View -> Cell | |
UITableViewCell *cell = (UITableViewCell*)infoDisclosureButton.superview.superview.superview; | |
NSIndexPath *indexPath = [self.tableView indexPathForCell:cell]; | |
NSInteger index = indexPath.row; | |
NNItem *item = self.items[(NSUInteger)index]; |
This file contains hidden or 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
fifties; | |
twenties; | |
value; | |
while (value > 0) { | |
if ((value / 10) % 2) { | |
while (value > 0) { | |
value - 20; | |
twenties++; |
This file contains hidden or 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
# Created by http://www.gitignore.io | |
### Xcode ### | |
build/ | |
*.pbxuser | |
!default.pbxuser | |
*.mode1v3 | |
!default.mode1v3 | |
*.mode2v3 | |
!default.mode2v3 |
This file contains hidden or 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
2014-05-10 15:36:42.914 Niknik[632:60b] -[NNSelectionButton selected]: unrecognized selector sent to instance 0xa2b0c80 | |
(lldb) po button | |
<NNSelectionButton: 0xa2b0c80; baseClass = UIButton; frame = (0 0; 172 218); opaque = NO; layer = <CALayer: 0xa2b0e10>> | |
(lldb) p button.selected | |
error: Execution was interrupted, reason: Attempted to dereference an invalid ObjC Object or send it an unrecognized selector. | |
The process has been returned to the state before expression evaluation. | |
(lldb) |
This file contains hidden or 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
NSObject *object = [[NSObject alloc] init]; | |
NSObject *object2 = object | |
Does `object2` == `object`? | |
Does `object2` have the same memory address as `object`? | |
If I go like: | |
[object setValue:differentValue], does object2.value change? | |
What about the other way around? |
This file contains hidden or 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 "NNForwardTouchView.h" | |
#import "NNGameViewsManagerModel.h" | |
#import "DDTTYLogger.h" | |
#import "DDLog.h" | |
#ifdef DEBUG | |
static const int ddLogLevel = LOG_LEVEL_DEBUG; | |
#else | |
static const int ddLogLevel = LOG_LEVEL_OFF; |
NewerOlder