美文网首页
IOS技术点总结(点点点)

IOS技术点总结(点点点)

作者: 锦箫_1 | 来源:发表于2017-05-03 17:00 被阅读60次

技术点总结:

滚动视图:(第三方)

配置第三方:pod ‘XLsn0wLoop’

并导入头文件

三步  轻松实现滚动视图

//2:更改根视图方法:

TwoViewController *theTC = [[TwoViewController alloc]init];

AppDelegate * app = (AppDelegate *)[UIApplication sharedApplication].delegate;

app.window.rootViewController = theTC;

//3:判断首次登录

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {

// Override point for customization after application launch.

//  使用NSUserDefaults来判断程序是否第一次启动

NSUserDefaults *TimeOfBootCount = [NSUserDefaults standardUserDefaults];

if (![TimeOfBootCount valueForKey:@"time"]) {

[TimeOfBootCount setValue:@"sd" forKey:@"time"];

NSLog(@"第一次启动");

ViewController *theV = [[ViewController alloc]init];

UINavigationController *theNC=  [[UINavigationController alloc]initWithRootViewController:theV];

self.window.rootViewController = theNC;

}else{

NSLog(@"不是第一次启动");

TwoViewController *theV = [[TwoViewController alloc]init];

UINavigationController *theNC=  [[UINavigationController alloc]initWithRootViewController:theV];

self.window.rootViewController = theNC;

}

NSLog(@"启动成功");

return YES;

}

创建Plist文件,并读取文件

参考:

http://blog.csdn.net/totogo2010/article/details/7634185

表格跳转与传值

-(void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath

{

ThreeViewController *theTa= [[ThreeViewController alloc]init];

theTa.theA = theArr[indexPath.row];

[self.navigationController pushViewController:theTa animated:NO];

}

实现音乐播放

http://www.jb51.net/article/80550.htm

-(void)viewDidDisappear:(BOOL)animated

此文档仅供参考,

相关文章

  • IOS技术点总结(点点点)

    技术点总结: 滚动视图:(第三方) 配置第三方:pod ‘XLsn0wLoop’ 并导入头文件 三步 轻松实现滚...

  • iOS 技术点总结

    之前在工作中遇到一些技术上的问题,经过几番查找才得以解决,浪费了不少时间开发中很影响项目进度,最近因为换工作才有时...

  • iOS面试技术点总结

    1.category和extension。 (分类(Category)是OC中的特有语法,它是表示一个指向分类的结...

  • iOS --开发技术分享

    iOS --开发技术分享(ps:每天进步一点点) 苹果App Store审核指南中文翻译: http://www....

  • iOS开发技术点总结(二)

    42.使用shareSDK分享到微博的时候,如果想使用微博客户端分享,则添加如下代码即可: //允许使用微博客户端...

  • iOS开发技术点总结(一)

    1、在UIScorllView上添加UISlide,拖动slide的时候,scrollerview会跟着动,解决方...

  • iOS埋点技术方案总结

    一、可视化埋点 可视化埋点的出现,是为解决代码埋点流程复杂、成本高、新开发的页面(H5、或者服务端下发的 json...

  • iOS技术点

    1.版本升级2.开屏广告,信息流广告(包括自研广告,第三方广告接入)3.响应式编程4.内存问题,响应式框架的问题5...

  • 我只有一点点点点点点点点社恐

    作为“异类”的你,害怕和人类打交道吗? 最近上班摸鱼,一不小心发现了几个豆瓣小组,名字诸如「社恐抱团取暖」「人际交...

  • iOS开发,重点iOS技术点+面试题整理

    以下是小编收集总结的iOS技术点+面试题分类;看看你都会了吗? 重点总结-四大分类: iOS底层原理 性能优化以及...

网友评论

      本文标题:IOS技术点总结(点点点)

      本文链接:https://www.haomeiwen.com/subject/vdqltxtx.html