摘要:
数组的升序和降序- (void)sortWith:(NSArray *)array{ // 排序 array = [array sortedArrayUsingComparator:^NSComparisonResult(NSNumber *num1, NSNumber *num2) {... 阅读全文
摘要:
HMQuestion.h#import @interface HMQuestion : NSObject@property (nonatomic, copy) NSString *answer;@property (nonatomic, copy) NSString *icon;@property ... 阅读全文
摘要:
@interface HMViewController ()@property (nonatomic, strong) UIButton *cover; //阴影@end@implementation HMViewController//懒加载,阴影- (UIButton *)cover{ ... 阅读全文