- 博客(15)
- 资源 (13)
- 收藏
- 关注
原创 iOS - iOS10 添加本地推送(Local Notification)
iOS10 添加本地推送(Local Notification)新的推送注册机制#import #import "AppDelegate.h"@interface AppDelegate ()@end@implementation AppDelegate- (BOOL)application:(UIApplication *)application didFinishLau
2016-10-30 08:47:48 6368 2
原创 iOS - UITableViewCell滑动删除
需要实现UITableView的代理UITableViewDelegate中的以下几个方法/// 设置为可编辑- (BOOL)tableView:(UITableView *)tableView canEditRowAtIndexPath:(NSIndexPath *)indexPath { return YES;}/// 定义编辑样式- (UITableViewCell
2016-10-28 17:45:36 327
转载 iOS开发之获取WIFI信号强度
原文链接:http://www.cnblogs.com/starainDou/p/5781130.html虽然各种直接获取信号强度的api都被封杀了。但是还有一个另类的黑魔法可以获取到。那就是遍历UIStatusBar了- (void)getSignalStrength{ UIApplication *app = [UIApplication sharedApplica
2016-10-27 19:50:45 4836 3
转载 iOS - NSString转换成HEX(十六进制)-NSData转换成int
NSString *str = @"0xff055008";//先以16为参数告诉strtoul字符串参数表示16进制数字,然后使用0x%X转为数字类型unsigned long red = strtoul([str UTF8String],0,16);//strtoul如果传入的字符开头是“0x”,那么第三个参数是0,也是会转为十六进制的,这样写也可以:unsigned long red
2016-10-26 00:27:11 1064
原创 iOS - 第三方开源库记录
记录备用指示器1.SVProgressHUD 透明指示器https://github.com/TransitApp/SVProgressHUD2.MBProgressHUDhttps://github.com/jdg/MBProgressHUD图片1.SDWebImage 图片异步加载https://github.com/rs/SDWebIm
2016-10-25 08:31:23 362
转载 OC CRC 校验
原文:http://blog.csdn.net/zwl492454828/article/details/51211712直接上代码static const unsigned short crc16table[] ={ 0x0000, 0x1189, 0x2312, 0x329B, 0x4624, 0x57AD, 0x6536, 0x74BF,
2016-10-24 19:44:08 994
转载 iOS - 直播相关的开源库/项目
原文:http://www.jianshu.com/p/ca02af589099RTMP播放相关FFmpegGitHub所有版本编译脚本脚本 gas-preprocessorFFmpeg-AVPlayer-For-iOS-tvOSGitHubVitamioGitHubPLPlayerKitGitHubkxmovieGitHubij
2016-10-24 09:59:26 1599
转载 iOS swift-UIScrollview,UITableview,UICollectionView单独禁止下拉(上拉)
原文:http://www.jianshu.com/p/20697a712879UIScrollview,UITableview,UICollectionView 完全禁止弹簧效果,只需要设置 bounces = false 即可。如果需要单独禁止上拉,或者下拉。func scrollViewDidScroll(scrollView: UIScrollView) { // 禁止
2016-10-24 09:57:37 4763
转载 iOS - 关于蒙版渐变的实现
文/学无止境吧(简书作者)原文链接:http://www.jianshu.com/p/a389207bc48c有个需求,视图的右边需要渐隐,如下图:(这里只是随便拿个界面做下测试)要求整个view渐渐alpha变透明,包括view上的子view,需要一起变透明。拿起键盘就是干:-(void)testAlpha{ [self.view
2016-10-21 11:17:30 2769
原创 iOS - 设置TabBarItem被选中时的背景
在TabBarController中设置代理并遵守协议UITabBarControllerDelegate>- (void)viewDidLoad { [super viewDidLoad]; self.delegate = self; // 添加选中的背景 self.itemSelectedBg = [[UIImageView alloc] ini
2016-10-18 15:55:40 1449
原创 Xcode 8 去除打印台打印的多余日志
Xcode8里边 Edit Scheme... -> Run -> Arguments,在Environment Variables里边添加 OS_ACTIVITY_MODE= disable最后点击右下角的close就可以了
2016-10-18 12:25:55 1170
转载 ios10 适配问题总结
原文链接:http://www.cnblogs.com/huoran1120/p/5903089.html1、检查版本问题不可以像下面这样用#define isiOS10 ([[[[UIDevice currentDevice] systemVersion] substringToIndex:1]intValue]>=10)这样可以[[UIDevice cu
2016-10-15 09:09:48 1288
转载 iOS swift - swift常用的宏
原文:http://blog.csdn.net/liulicsdn/article/details/44244567http://blog.sina.com.cn/s/blog_71715bf80102vfl7.html在以前的C 和 OC 中经常使用宏常亮,简化代码。swift 可以直接建一个swift 文件,写在里面的常亮可以全局调用。// 当前系统版本 let ver
2016-10-06 14:59:11 2166 2
原创 iOS swift - 代理
swift中代理的使用 1.首先定义一份协议。protocol ToolProrocol: NSObjectProtocol{ //代理方法 func didRecieveResults(result:Int)}2.定义一个代理属性//声明代理属性weak var delegate : ToolProrocol?3. 实用者,首
2016-10-06 10:36:36 444
原创 iOS swift-桥接OC的开源框架
以FMDB为例1.将FMDB文件夹整个托入项目中2.新建桥接文件SQLite_bridge.h在SQLite_bridge.h中导入FMDB.h#import "FMDB.h"3.Build Settings中的Objective-C Bridging Header添加SQLite_bridge.h格式: 项目名/SQLite_bridge.h
2016-10-02 16:24:39 416
xcode 12.1 (16B92)_developer_diskimage
2018-11-26
OpenCollada 3dsMax Maya插件
2017-05-19
xcode 10.3(14E269)_developer_diskimage 支持10.3(14E277)
2017-03-31
Xcode iOS_10.2 (14C92)_developer_diskimage
2017-01-13
阿里云服务器linux web环境一键安装包 1.5.5
2016-11-06
iOS10 SDK下载
2016-10-08
iOS 9.2 真机调试 Disk Image
2016-03-29
iOS 9.3 真机调试 Disk Image
2016-03-29
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人