mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-04 08:56:25 +00:00
Updated the iOS backend code to use Objective-C's automatic reference counting (ARC).
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user