摘要:
App(a):判断是否为App(b)是否存在,不存在选择下载 存在后台状态直接唤醒 否则直接打开App(a)部分代码 App(b)部分代码 通过广播唤醒appAndroidManifest.xml 阅读全文
摘要:
https://github.com/wasabeef/awesome-android-ui 阅读全文
摘要:
tableView.estimatedRowHeight = 44.0 tableView.rowHeight = UITableViewAutomaticDimension 阅读全文
摘要:
//返回编辑类型,滑动删除 func tableView(tableView: UITableView, editingStyleForRowAtIndexPath indexPath: NSIndexPath) -> UITableViewCellEditingStyle { return UIT 阅读全文
摘要:
cell.selectionStyle = UITableViewCellSelectionStyle.None; 阅读全文
摘要:
text.userInteractionEnabled = false 阅读全文
摘要:
import UIKit class UIRadioButton: UIButton { private var ischeck = false override init(frame: CGRect) { super.init(frame: frame) self.layer.borderColo 阅读全文
摘要:
1 func isTelNumber(num:NSString)->Bool 2 { 3 var mobile = "^1(3[0-9]|5[0-35-9]|8[025-9])\\d{8}$" 4 var CM = "^1(34[0-8]|(3[5-9]|5[017-9]|8[278])\\d)\\d{7}$" 5 var CU = "^1(3[0-2]|5... 阅读全文
摘要:
NFC是Near Field Communication缩写,又称近距离无线通信,是一种短距离的高频无线通信技术,允许电子设备之间进行非接触式点对点数据传输(在十厘米内)交换数据。这个技术由免接触式射频识别(RFID)演变而来,并向下兼容RFID,最早由Sony和Philips各自开发成功,主要用于 阅读全文
摘要:
let screenh = UIScreen.mainScreen().applicationFrame.size.heightlet screenw = UIScreen.mainScreen().applicationFrame.size.width 阅读全文