Updated the iOS backend code to use Objective-C's automatic reference counting (ARC).

This commit is contained in:
Alex Szpakowski
2014-08-06 03:24:16 -03:00
parent 362899776e
commit f5543f93b3
15 changed files with 181 additions and 176 deletions

View File

@@ -31,13 +31,12 @@
#endif
#if SDL_IPHONE_KEYBOARD
@interface SDL_uikitview : UIView<UITextFieldDelegate> {
@interface SDL_uikitview : UIView <UITextFieldDelegate>
#else
@interface SDL_uikitview : UIView {
@interface SDL_uikitview : UIView
#endif
@public
SDL_uikitviewcontroller *viewcontroller;
}
@property (nonatomic, weak) SDL_uikitviewcontroller *viewcontroller;
- (CGPoint)touchLocation:(UITouch *)touch shouldNormalize:(BOOL)normalize;
- (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event;