05 2017 档案
iOS判断程序在前台还是后台
摘要:[UIApplication sharedApplication].applicationState will return current state, check it possible values and don’t create unnecessary flags when you can
阅读全文
iOS-分组UITableView删除崩溃问题(当删除section中最后一条数据崩溃的情况)
摘要:错误: The number of sections contained in the table view after the update (1) must be equal to the number of sections contained in the table view before
阅读全文
UISegmentedControl字体大小,颜色,选中颜色,左边椭圆,右边直线的Button 解决之iOS开发之分段控制器UISegmentedControl
摘要:NSArray *segmentedArray = [NSArrayarrayWithObjects:STR(@"Mynews"),STR(@"Systemmessage"),nil]; UISegmentedControl *segmentedControl = [[UISegmentedCont
阅读全文
如何看待 Kotlin 成为 Android 官方支持开发语言?
摘要:Google IO 2017宣布了 Kotlin 会成为 Android 官方开发语言。一时间朋友圈和Android圈被各种刷屏。当然我也顺势而为发布了一篇的文章《为什么我要改用Kotlin》,着实狠狠地蹭了一波热度(尽管这样会被鄙视)。眼下Android圈已经躁动了,甚至严重到如果对Kotlin视
阅读全文
(腾讯视频)iOS开发之视频根据url获取第一帧图片,获取任一帧图片
摘要:#import <AVFoundation/AVFoundation.h> + (UIImage*) thumbnailImageForVideo:(NSURL *)videoURL atTime:(NSTimeInterval)time { AVURLAsset *asset = [[AVURLA
阅读全文
Swift 开源项目精选
摘要:Swift 开源项目精选 站在个人的角度,并基于《Swift 语言指南》,针对开源项目做了一个甄别、筛选。当然,由于个人能力及涉足范围所限,还远远不够,其中肯定有偏颇及不足,还望同学们多多见谅。更希望能得到你的帮助和补充,共同参与。 @SwiftLanguage 更新至 2016-2-1,最近新收录
阅读全文