随笔分类 -  iOS项目日志

摘要:#import "ShowViewController.h" #import "MusicCollectionViewCell.h" #import "ViewController.h" #import <MediaPlayer/MediaPlayer.h> #import <AVFoundatio 阅读全文
posted @ 2016-03-04 17:10 small-elephant_A-Do 阅读(144) 评论(0) 推荐(0)
摘要:两个重点 一个设置一个 CGMutablePathRef 来存放不断变动的线条 另一个 @property (nonatomic,strong)NSMutableArray *paths; 用来存放已经画好的线条 代码如下 #import "DSNView.h" #import "DSNPath.h 阅读全文
posted @ 2016-03-03 14:57 small-elephant_A-Do 阅读(236) 评论(0) 推荐(0)
摘要:一直对于collectionview处于半懂不懂的状态 所以现在自己做了一个,实现效果如下 #import "ViewController.h" #import "CollectionViewCell.h" static NSString *identifierCell = @"cellID"; @ 阅读全文
posted @ 2016-03-03 09:55 small-elephant_A-Do 阅读(218) 评论(0) 推荐(0)
摘要:首先上效果图 代码如下: #import "DSNMusicTableViewController.h" #import "DSNMusicModel.h" #import "DSNPlayingViewController.h" @interface DSNMusicTableViewContro 阅读全文
posted @ 2016-03-01 15:58 small-elephant_A-Do 阅读(219) 评论(0) 推荐(0)
摘要:没有采用Predicate 直接用的是bool值做的 代码如下 @interface ViewController ()<UITextFieldDelegate> @property (weak, nonatomic) IBOutlet UIProgressView *levelProgress; 阅读全文
posted @ 2016-02-28 12:06 small-elephant_A-Do 阅读(421) 评论(0) 推荐(0)
摘要:难点在于 九宫格button的布局 还有 手势移动时记住手势位置 上代码 @property (nonatomic,strong)NSMutableArray *selectedBtns; @property (nonatomic,assign)CGPoint currentPoint; 两个变量, 阅读全文
posted @ 2016-02-27 07:22 small-elephant_A-Do 阅读(453) 评论(0) 推荐(0)
摘要:一,项目介绍 首先,简单介绍一下这个项目的效果 进入程序,首先是登录页面 登录页面用到 NSUserDefault 记住登录密码 然后是 然后是登录跳转,用到MBProgressHUD 接着是联系人列表 是一个UITableView 点击+ 进入添加联系人页面 点击每行联系人 进入编辑界面 点击注销 阅读全文
posted @ 2016-02-26 13:40 small-elephant_A-Do 阅读(471) 评论(0) 推荐(0)
摘要:@import url(http://i.cnblogs.com/Load.ashx?type=style&file=SyntaxHighlighter.css);@import url(/css/cuteeditor.css); 今天开始记录一下自己写的每一个项目的日志 下面就是联系人列表的日志 阅读全文
posted @ 2016-02-25 13:39 small-elephant_A-Do 阅读(142) 评论(0) 推荐(0)