- 博客(4)
- 收藏
- 关注
原创 iOS Category(类目)和 Extension(扩展) 的区别和创建
一. Category(类目) 和Extension(扩展) 文件的创建 command + N 打开文件模板 文件模板 选择 Objective-C File, 然后点击 Next 选择 Objective-C File 二. Category(类目) 和Extension(扩展)的区别Category(类目) 分类(类目, catego...
2018-04-30 18:01:00 254
原创 iOS系统NSNotificationCenter中的常用通知名称
一些常用的系统自带通知转自: https://blog.csdn.net/biangabiang/article/details/59057310//音频 AVF_EXPORT NSString *const AVAudioSessionInterruptionNotification //音频中断出现 AVF_EXPORT NSString *const AVAudioSes...
2018-04-30 15:49:00 426
原创 判断字符串是否包含表情符号
判断字符串是否包含表情符号可以给 NSString 添加一个 Category(类目)类目, 延展的区别及创建: https://www.jianshu.com/writer#/notebooks/5751001/notes/27420359//判断是否有emoji+ (BOOL)stringContainsEmoji:(NSString *)string{ __block B...
2018-04-28 17:14:00 745
原创 Run custom shell script '[cp] embed pods frameworks ..... errSecInternalComponent
项目添加证书后, clean 然后 archive, 一直报错:Run custom shell script '[cp] embed pods frameworks ..... errSecInternalComponent图1原因: 这似乎是签名机制(code signing mechanism) 的 bug, Xcode 中账号多了,就会产生很多过期的PP文件,Xco...
2018-04-28 16:39:00 8505 2
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人