Files
swift-mirror/test/Inputs/clang-importer-sdk/usr/include/UIKit.h
Anna Zaks a8cb45a269 API Notes: add UIView + a couple of corrections to UIKit audit.
The corrections are:
 - Change the UIFont's API from '?' to '!'. These APIs are almost never get checked.
 - Change the "options" array parameter to being optional.

Swift SVN r20723
2014-07-29 23:47:11 +00:00

46 lines
1.3 KiB
Objective-C

@import Foundation;
@protocol UIApplicationDelegate <NSObject>
@end
@interface UIResponder : NSObject
@end
@interface UIView : UIResponder
@end
typedef NS_OPTIONS(NSUInteger, UIViewAnimationOptions) {
UIViewAnimationOptionLayoutSubviews = 1 << 0,
UIViewAnimationOptionTransitionFlipFromBottom = 7 << 20,
};
@interface UIView(UIViewAnimationWithBlocks)
+ (void)animateWithDuration:(NSTimeInterval)duration
delay:(NSTimeInterval)delay
options:(UIViewAnimationOptions)options
animations:(void (^)(void))animations
completion:(void (^)(BOOL finished))completion;
@end
@interface UIActionSheet : UIView
- (instancetype)initWithTitle:(NSString *)title
delegate:(id)delegate
cancelButtonTitle:(NSString *)cancelButtonTitle
destructiveButtonTitle:(NSString *)destructiveButtonTitle
otherButtonTitles:(NSString *)titles, ...;
@end
@interface UIAlertView : UIView
- (instancetype)initWithTitle:(NSString *)title
message:(NSString *)message
delegate:(id)delegate
cancelButtonTitle:(NSString *)cancelButtonTitle
otherButtonTitles:(NSString *)titles, ...;
@end