摘要:
#import <UIKit/UIKit.h> CGPoint CGRectGetCenter(CGRect rect); CGRect CGRectMoveToCenter(CGRect rect, CGPoint center); @interface UIView (ViewFrameGeom 阅读全文
摘要:
import Foundation class DebugLogTool: NSObject { private static let isDebug = true /** * 自定义log打印 */ static func debugLog(item: Any){ if isDebug { pri 阅读全文
摘要:
//系统版本号 public let K_CLIENT_VERSION = NSBundle.mainBundle().infoDictionary!["CFBundleShortVersionString"] as! String //APPDELEGATE 对象 public let APP_D 阅读全文
摘要:
#pragma 正则匹配手机号 //swift //******正则表达式 Regular Expressions*************** let K_PHONE = "1[0-9]{10}" let K_IDCARD = "SELF MATCHES '^(\\d{14}|\\d{17})(\ 阅读全文