原创 單例
+ (LibraryAPI*)sharedInstance { static LibraryAPI *_sharedInstance = nil; static dispatch_once_t oncePredicate;
原创 RSA簽名與驗籤
RSA作爲最主流的加解密與驗籤算法,iOS當然少不了簽名unsigned char *rsaPKCS1SignData(const unsigned char *src,int src_len,unsigned char*pri_key,i
原创 iOS7適配
#if __IPHONE_OS_VERSION_MAX_ALLOWED >= 70000 if ( IOS7_OR_LATER ) { self.edgesForExtendedLayout = UIR