240 发简信
  • 获取IP地址

    谢谢阅读!

  • 网络请求的简单封装

    //需要AFN //.h //AFNetworking + (void)post:(NSString *)url parameters:(NSD...

  • 时间与时间戳

    //.h //时间转date + (NSDate *)dataWithTime:(NSString *)time; //时间转时间戳 + (NS...

  • 计算两点距离、点间角度、线间角度

    #define kRadians(RADIAN) (180.0 * RADIAN / M_PI) //.h //点间间距 + (CGFloat)...

  • urlencode和urldecode

    //.h //encode + (NSString*)encodeString:(NSString*)unencodedString; //de...

  • 截图功能

    //.h + (UIImage *)screenshotFrom:(UIView *)view frame:(CGRect)frame; //....

  • 获取倒立的图像

    //.h + (UIImage *)invertedImageWith:(UIImageView *)image height:(NSUInte...

  • 地图的使用

    //.h#import//地图大头针 @class MZAnnotation; @interface MZMapView : MKMapView...

  • drawRect简单封装

    #define kBlackColor [UIColor blackColor] //.h //划线 + (void)drawLineMoveT...