Adding ASButtonNode. Simple but flexible, add features as desired!

This commit is contained in:
Scott Goodson
2015-10-31 15:12:05 -07:00
parent 40f138db27
commit 3416450f11
11 changed files with 358 additions and 52 deletions

View File

@@ -12,7 +12,8 @@
#import "ViewController.h"
#import "ScreenNode.h"
@interface ViewController() {
@interface ViewController()
{
ScreenNode *_screenNode;
}
@@ -28,10 +29,6 @@
_screenNode = node;
// tap to reload
UITapGestureRecognizer *gr = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(reload:)];
[_screenNode.textNode.view addGestureRecognizer:gr];
return self;
}
@@ -42,10 +39,6 @@
[super viewWillAppear:animated];
}
- (void)reload:(id)sender {
[_screenNode reload];
}
- (BOOL)prefersStatusBarHidden
{
return YES;