![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
iOS学习笔记
文章平均质量分 55
jack_yuh
这个作者很懒,什么都没留下…
展开
-
iOS UI 03 协议代理
//// RootViewController.m// ui - 04 协议代理!!//// Created by dllo on 15/11/11.// Copyright (c) 2015年 dllo. All rights reserved.//#import "RootViewController.h"#i原创 2015-12-13 15:52:03 · 225 阅读 · 0 评论 -
iOS UI 07 uitableview
//// RootViewController.m// ui - 07//// Created by dllo on 15/11/18.// Copyright (c) 2015年 dllo. All rights reserved.//#import "RootViewController.h"@in原创 2015-12-13 16:02:43 · 201 阅读 · 0 评论 -
iOS UI 08 uitableview 自定义cell
//// RootViewController.m// ui - 09 通讯录//// Created by dllo on 15/11/19.// Copyright (c) 2015年 dllo. All rights reserved.//#import "RootViewController.h"#imp原创 2015-12-13 16:08:07 · 245 阅读 · 0 评论 -
iOS UI 11 单例
//// DataHandle.m// UI11_Contact//// Created by dllo on 15/11/23.// Copyright (c) 2015年 dllo. All rights reserved.//#import "DataHandle.h"#import "Hero.h"原创 2015-12-13 16:10:04 · 274 阅读 · 0 评论 -
iOS UI 14 网络解析json
//// RootViewController.m// ui - 14 数据解析//// Created by dllo on 15/11/26.// Copyright (c) 2015年 dllo. All rights reserved.//#import "RootViewController.h"#im原创 2015-12-13 16:20:48 · 242 阅读 · 0 评论 -
iOS UI 21 消息通知
//// rootViewController.m// UI - 大结局 消息通知//// Created by dllo on 15/12/10.// Copyright (c) 2015年 dllo. All rights reserved.//#import "rootViewController.h"#原创 2015-12-13 16:39:58 · 374 阅读 · 0 评论 -
iOS UI 01 课堂笔记 -设计模式
主要是mvc 模式 但此处没有涉及到数据, 只是铺键视图和vc 掌握即可//// RootViewController.m// ui2 _设计模式//// Created by dllo on 15/11/9.// Copyright (c) 2015年 dllo. All rights reserved.//原创 2015-12-13 15:40:59 · 287 阅读 · 0 评论 -
iOS UI 02 UIimageview 和模态切换
注意这是哪一个文件!!!RootViewController.m // RootViewController.m// Ui03 - UIimageView//// Created by dllo on 15/11/10.// Copyright (c) 2015年 dllo. All rights reserved.//原创 2015-12-13 15:46:21 · 163 阅读 · 0 评论 -
iOS UI 03 事件和手势
//// RootViewController.m// UI - 04 事件,手势//// Created by dllo on 15/11/11.// Copyright (c) 2015年 dllo. All rights reserved.//#import "RootViewController.h"原创 2015-12-13 15:50:09 · 197 阅读 · 0 评论 -
iOS UI 07 uitableviewi2
//// RootViewController.m// UI - 08 UItableview//// Created by dllo on 15/11/18.// Copyright (c) 2015年 dllo. All rights reserved.//#import "RootViewController.h"原创 2015-12-13 16:03:59 · 187 阅读 · 0 评论 -
iOS UI 07 uitableviewi3
//// RootViewController.m// ui - 09 通讯录//// Created by dllo on 15/11/19.// Copyright (c) 2015年 dllo. All rights reserved.//#import "RootViewController.h"#imp原创 2015-12-13 16:05:06 · 200 阅读 · 0 评论 -
iOS UI 12 tabbarcontroller
//// AppDelegate.m// UI - 12 uitabBarcontrol//// Created by dllo on 15/11/24.// Copyright (c) 2015年 dllo. All rights reserved.//#import "AppDelegate.h"#import原创 2015-12-13 16:15:52 · 242 阅读 · 0 评论 -
iOS UI 15 网络编程下载 图片 音乐 大文件 视频 get/ post方法
//// RootViewController.m// UI - 15网络编程//// Created by dllo on 15/11/27.// Copyright (c) 2015年 dllo. All rights reserved.//#import "RootViewController.h"#impo原创 2015-12-13 16:22:58 · 294 阅读 · 0 评论 -
iOS UI 15 网络编程2
//// RootViewController.m// UI - 15网络编程//// Created by dllo on 15/11/27.// Copyright (c) 2015年 dllo. All rights reserved.//#import "RootViewController.h"原创 2015-12-13 16:24:04 · 222 阅读 · 0 评论 -
iOS UI 16 图片加载第三方 SDwebimage
//// RootViewController.m// UI - 16 图片加载//// Created by dllo on 15/11/30.// Copyright (c) 2015年 dllo. All rights reserved.//#import "RootViewController.h"#imp原创 2015-12-13 16:25:46 · 260 阅读 · 0 评论 -
iOS UI 17 网络请求封装
//// RootViewController.m// UI - 15网络编程//// Created by dllo on 15/11/27.// Copyright (c) 2015年 dllo. All rights reserved.//#import "RootViewController.h"#impo原创 2015-12-13 16:26:57 · 269 阅读 · 0 评论 -
iOS UI 18 uicollectionview和自定义cell
//// RootViewController.m// Ui - 19 _ UICollectionView//// Created by dllo on 15/12/3.// Copyright (c) 2015年 dllo. All rights reserved.//#import "RootViewControl原创 2015-12-13 16:32:07 · 258 阅读 · 0 评论 -
IOS UI 01 课堂笔记 -label
//// RootViewController.m// UI1_View_Label//// Created by TravelRound on 15/11/6.// Copyright © 2015年 TravelRound. All rights reserved.//#import "RootViewControll原创 2015-12-13 15:37:35 · 238 阅读 · 0 评论 -
iOS UI 12 block传值
//// RootViewController.m// UI- 12 block传值//// Created by dllo on 15/11/24.// Copyright (c) 2015年 dllo. All rights reserved.//#import "RootViewController.h"#i原创 2015-12-13 16:12:17 · 207 阅读 · 0 评论 -
iOS UI 17 初级数据持久化
//// Network.m// UI - 15网络编程//// Created by dllo on 15/11/30.// Copyright (c) 2015年 dllo. All rights reserved.//#import "Network.h"@implementation Netwo原创 2015-12-13 16:28:50 · 418 阅读 · 0 评论 -
iOS UI 20 音乐播放器
//// PlayerViewController.m// UI - 20 音乐播放器//// Created by dllo on 15/12/4.// Copyright (c) 2015年 dllo. All rights reserved.//#import "PlayerViewController.h"原创 2015-12-13 16:33:38 · 348 阅读 · 0 评论 -
iOS UI 21 线程
//// RootViewController.m// Ui - 21 线程//// Created by dllo on 15/12/9.// Copyright (c) 2015年 dllo. All rights reserved.//#import "RootViewController.h"#import原创 2015-12-13 16:36:06 · 228 阅读 · 0 评论 -
iOS UI 04 轨道和动画
//// Rootview.m// UI - 05 UIcontroller//// Created by dllo on 15/11/12.// Copyright (c) 2015年 dllo. All rights reserved.//#import "Rootview.h"@interface原创 2015-12-13 15:53:44 · 319 阅读 · 0 评论 -
iOS UI 14 网络解析
//// RootViewController.m// ui - 14 数据解析//// Created by dllo on 15/11/26.// Copyright (c) 2015年 dllo. All rights reserved.//#import "RootViewController.h"#im原创 2015-12-13 16:18:57 · 201 阅读 · 0 评论 -
iOS UI 18 数据库
//// RootViewController.m// Ui - 18 数据库//// Created by dllo on 15/12/2.// Copyright (c) 2015年 dllo. All rights reserved.//#import "RootViewController.h"#impor原创 2015-12-13 16:30:18 · 205 阅读 · 0 评论 -
iOS UI 21 动画
//// RootViewController.m// UI - 21 动画//// Created by dllo on 15/12/8.// Copyright (c) 2015年 dllo. All rights reserved.//#import "RootViewController.h"@原创 2015-12-13 16:34:35 · 235 阅读 · 0 评论 -
iOS UI 21 单例中的线程
//// Datahandle.h// Ui - 21 线程//// Created by dllo on 15/12/9.// Copyright (c) 2015年 dllo. All rights reserved.//#import @interface Datahandle : NSObj原创 2015-12-13 16:37:55 · 240 阅读 · 0 评论 -
MBProgressHUD特效(菊花第三方)
考虑到还会有很多童鞋会看到该Blog,在此做一个说明,开源中国iOS开源客户端源码已做重构,请下载最新的源码学习。新repo地址:http://git.oschina.net/oschina/iphone-app。另外,这篇Blog收集了一些其他社区的客户端源码,源码也正在不断更新中,有的也上架appstore。访问地址:http://duxinfeng.com/2转载 2015-11-30 17:14:18 · 1114 阅读 · 0 评论 -
iOS UIActivityIndicatorView 的使用(旋转菊花)
UIActivityIndicatorView 非常简单 ,就是一个转圈圈的控件初始化方法- initWithActivityIndicatorStyle控制一个Activity Indicator- startAnimating- stopAnimating- isAnimatinghidesWhenStopped 属性原创 2015-11-30 16:15:05 · 555 阅读 · 0 评论 -
iOS7 毛玻璃效果实现
首先看效果: 核心代码:[cpp] view plaincopy//加模糊效果,image是图片,blur是模糊度 - (UIImage *)blurryImage:(UIImage *)image withBlurLevel:(CGFloat)blur { //模糊度,转载 2015-11-30 16:19:17 · 265 阅读 · 0 评论 -
UI- font 字体设置
label.font = [UIFont fontWithName:@"Arial-BoldItalicMT" size:24]; 字体名如下:Font Family: American TypewriterFont: AmericanTypewriterFont: AmericanTypewriter-BoldFont Family: AppleG原创 2015-11-30 17:01:10 · 413 阅读 · 0 评论 -
block全面分析
本文翻译自苹果的文档,有删减,也有添加自己的理解部分。如果有Block语法不懂的,可以参考fuckingblocksyntax,里面对于Block为了方便对比,下面的代码我假设是写在ViewController子类中的1、第一部分定义和使用Block,?1234567原创 2015-11-30 17:02:20 · 228 阅读 · 0 评论 -
两分钟学会在GitHub托管代码
本篇博客针对不会Git的小童鞋,大神们可以绕过,错误之处谢谢指正;关于GitHub的强大此处不在说明,知道GitHub也有一段时间了,但是一直苦于不会使用。本篇文章介绍的是如何将工程代码托管到上面;如果你还没注册GitHub账号请到https://github.com/上注册如果你已经注册GitHub账号,在你的电脑上安装了GitHub,而一直还没上传过代码转载 2015-11-30 17:17:25 · 233 阅读 · 0 评论 -
iOS 下拉刷新
移动应用开发中有这么一种场景,就是在列表中显示的数据刷新,有点击刷新按钮刷新的,也有现在最流行的由Twitter首先推出的下拉刷新功能,在IOS中,使用下拉刷新更新UITableView中的数据也用的非常多,最典型的就是新浪微博的客户端,使用下拉的形式来更新最新的微博信息。在Android开发中,有相应的开源项目来实现下拉刷新,这里主要讲如何在IOS中实现下拉刷新的功能,我们用到一个EGO转载 2015-11-30 16:04:46 · 273 阅读 · 0 评论 -
iOS textView的使用总结
在.h文件中声明:@interface ProtocolViewController :UIViewControllerUITextViewDelegate>{ UITextView *textView;}@property (nonatomic,retain)UITextView *textView;@end原创 2015-11-30 16:13:24 · 1232 阅读 · 0 评论 -
iOS button总结
// 设置按钮类型,此处为圆角按钮 UIButton *writeButton = [UIButton buttonWithType:UIButtonTypeRoundedRect]; // 设置和大小 CGRect frame = CGRectMake(100.0f, 100.0f, 140.0f, 50.0f); //原创 2015-12-17 19:26:03 · 341 阅读 · 0 评论 -
iOS NSUserDefaults简介及使用
NSUserDefaults类提供了一个与默认系统进行交互的编程接口。NSUserDefaults对象是用来保存,恢复应用程序相关的偏好设置,配置数据等等。默认系统允许应用程序自定义它的行为去迎合用户的喜好。你可以在程序运行的时候从用户默认的数据库中读取程序的设置。同时NSUserDefaults的缓存避免了在每次读取数据时候都打开用户默认数据库的操作。可以通过调用synchronize方法来使内转载 2015-12-01 17:19:04 · 369 阅读 · 0 评论 -
cell的3D弹出动画
-(void)tableView:(UITableView*)tableView willDisplayCell:(UITableViewCell*)cell forRowAtIndexPath:(NSIndexPath*)indexPath{ cell.layer.transform= CATransform3DMakeScale(0.1,0.1,原创 2016-01-03 18:31:37 · 245 阅读 · 0 评论 -
进入本地相册
UIImagePickerController*pickC = [[UIImagePickerControlleralloc]init]; pickC.delegate= self; //进入 编辑图界面 pickC.allowsEditing= YES; [selfpresentVie原创 2016-01-03 18:32:26 · 767 阅读 · 0 评论 -
添加一个插件助手
1. 首先查看 Xcode 的 UUID,在终端执行defaults read /Applications/Xcode.app/Contents/Info DVTPlugInCompatibilityUUID2. 添加Alcatraz-masterfind ~/Library/Application\ Support/Developer/Shared/Xco原创 2016-01-03 18:33:07 · 274 阅读 · 0 评论