摘要:MINE is an app for the nearly 1.2 million songwriters, composers, musicians, and publishers who are registered with any designated P.R.O (SESAC, ASCAP...
阅读全文
posted @ 2015-12-15 10:32
随笔分类 - ios算法
摘要:MINE is an app for the nearly 1.2 million songwriters, composers, musicians, and publishers who are registered with any designated P.R.O (SESAC, ASCAP...
阅读全文
posted @ 2015-12-15 10:32
摘要:动态绘制图形-线段为了提高IOS的应用体验,我们可以动态的绘制曲线或者柱状图等图形。我们可以使用CAShapeLayer这个类,我们通过这个类来动态的绘制图形,所有步骤也不多,首先制定动态绘制的路线,然后指定动态绘制的动画。1:创建CAShapeLayer对象chartLine = [CAShapeLayer layer];chartLine.lineCap = kCALineCapSquare;//chartLine.fillColor = [[UIColor whiteColor] CGColor];chartLine.strokeEnd = 0.1;chartLine.lineWid..
阅读全文
posted @ 2014-03-19 15:32
摘要:UIImage与Base64相互转换采用第三方类Address:https://github.com/l4u/NSData-Base64/经测试好用。2013-07-17
阅读全文
posted @ 2013-07-17 10:58
摘要:link address:http://www.makebetterthings.com/iphone/how-to-get-md5-and-sha1-in-objective-c-ios-sdk/IOS的两种加密算法。这个适合对于用户密码等重要信息进行加密处理。SHA1 -1234567891011121314151617-(NSString*) sha1:(NSString*)input{const char *cstr = [input cStringUsingEncoding:NSUTF8StringEncoding];NSData *data = [NSData dataWithBy
阅读全文
posted @ 2012-03-08 12:19
|
||