随笔分类 - iOS-OC
摘要:1.利用block #import <UIKit/UIKit.h> @class TKAlertView; //cancel:0, ok:1 typedef void(^TKAlertViewIndexHandler) (NSInteger index, TKAlertView *alertView
阅读全文
posted @ 2016-07-21 15:26
SKT_answer
摘要:1.导入MBProgressHUD,需要用到MBRoundProgressView这个类方法,而且在里面还要添加一个方法支持xib, - (instancetype)initWithCoder:(NSCoder *)aDecoder { if (self = [super initWithCoder
阅读全文
摘要:#import <Foundation/Foundation.h> @interface NSDate (Addition) /** *某一天在当月多少号 */ - (NSInteger)daysOfCurrentMonth; /** * 某月第一天周几 * */ - (NSInteger)week
阅读全文
posted @ 2016-07-20 09:42
SKT_answer
摘要:最近项目中上传地图围栏总是使用字节流上传加上其他数据请求 所以整合在一起了,直接上代码 #import <Foundation/Foundation.h> @interface HTTPRequest : NSObject + (HTTPRequest *)shared; - (void)testP
阅读全文
posted @ 2016-07-20 09:27
SKT_answer

浙公网安备 33010602011771号