摘要:        
Swift3.1的DeviceToken打印的是32Byteshttps://www.jianshu.com/p/fed585eef7c1    
阅读全文
posted @ 2019-01-22 16:53
懂事长qingzZ
阅读(1000)
推荐(0)
            
        
        
摘要:        
1. SB放上俩 imageview,拖线成类属性    
阅读全文
posted @ 2019-01-22 09:44
懂事长qingzZ
阅读(275)
推荐(0)
            
        
        
摘要:        
/** * 设置16进制颜色: * 可识别类型 * 1:有# * 2:没有# * 3:含有0X */ extension UIColor{ class func hexadecimalColor(hexadecimal:String)->UIColor{ var cstr = hexadecimal.trimmingCharacters(in...    
阅读全文
posted @ 2019-01-22 09:41
懂事长qingzZ
阅读(173)
推荐(0)
 
		
    
        
        
摘要:        
详情查看: https://cloud.tencent.com/developer/article/1339074 https://www.jianshu.com/p/58cf8b21f268 详情查看: https://cloud.tencent.com/developer/article/133    
阅读全文
posted @ 2019-01-21 10:45
懂事长qingzZ
阅读(197)
推荐(0)
 
		
    
        
        
摘要:        
import UIKit class ViewController: UIViewController { override func viewDidLoad() { super.viewDidLoad() } override func motionBegan(_ motion: UIEvent.EventSubtype, with ev...    
阅读全文
posted @ 2019-01-18 11:45
懂事长qingzZ
阅读(295)
推荐(0)
            
        
        
摘要:        
import UIKit //1.加速器框架 import CoreMotion class ViewController: UIViewController { //1.创建运动管理者 必须设置为 全局的 let manager = CMMotionManager() override func viewDidLoad() { sup...    
阅读全文
posted @ 2019-01-18 10:56
懂事长qingzZ
阅读(199)
推荐(0)
            
        
        
摘要:        
网络 Alamofire:http网络请求事件处理的框架。 Moya:这是一个基于Alamofire的更高层网络请求封装抽象层。 Reachability.swift:用来检查应用当前的网络连接状况。 综合 Perfect:swift的服务器端开发框架(针对于移动后端开发、网站和web应用程序开发)    
阅读全文
posted @ 2019-01-18 10:35
懂事长qingzZ
阅读(1045)
推荐(1)
            
        
        
摘要:        
这个是由于XXX..xcodeproj包中xcuserdata文件夹中user.xcuserdatad文件夹名字的问题...user.xcuserdatad文件夹的名字,不是当前用户的名字,就会显示no scheme. 解决办法:手动更改(或者删除)后,重启xcode就可以。如果仍然显示为no sc    
阅读全文
posted @ 2019-01-18 10:11
懂事长qingzZ
阅读(610)
推荐(0)
 
		
    
        
        
摘要:        
抖音的转场动画—iOS https://www.jianshu.com/p/29b0165de712 抖音的上下滑实现—iOS https://www.jianshu.com/p/e8799510c7aa    
阅读全文
posted @ 2019-01-17 13:29
懂事长qingzZ
阅读(383)
推荐(0)
            
        
        
摘要:        
import UIKit class ViewController: UIViewController { deinit { NotificationCenter.default.removeObserver(self) } override func viewDidLoad() { super.viewDidLoad() ...    
阅读全文
posted @ 2019-01-17 11:29
懂事长qingzZ
阅读(327)
推荐(0)