学习
yuzhouheikewll
这个作者很懒,什么都没留下…
展开
-
ios学习day—1
属性1属性参数赋值相关的参数assign 默认参数retain 用于对象类型的属性声明 不可以省略@property (retain) Book* book:copy 用于对象类型 一般用于nssting 这个类型的属@property (copy) nsstring* str;线程相关的参数nonatmoic 默认参数 表示线程不原创 2016-01-16 21:34:43 · 249 阅读 · 0 评论 -
通过appearance统一设置所有UITabBarItem的文字属性
// 通过appearance统一设置所有UITabBarItem的文字属性 // 后面带有UI_APPEARANCE_SELECTOR的方法, 都可以通过appearance对象来统一设置 NSMutableDictionary *attrs = [NSMutableDictionary dictionary]; attrs[NSFontAttributeName] = [原创 2016-03-24 10:42:10 · 493 阅读 · 0 评论 -
上拉刷新下拉加载
import “ViewController.h”@interface ViewController ()@property (nonatomic, strong) UIScrollView * scrollView;@end@implementation ViewController(UIScrollView *)scrollView {if (!_scrollView) { _scr原创 2016-03-23 20:15:27 · 308 阅读 · 0 评论 -
获取验证码模型-ios
#import "ViewController.h"@interface ViewController ()@property (nonatomic,strong) UIButton* btn;@property (nonatomic,assign) NSInteger i;@property (nonatomic,strong) NSTimer* timer;@end@implementation原创 2016-02-24 18:16:42 · 283 阅读 · 0 评论 -
iOS 手势(下)
- (void)viewDidLoad { [super viewDidLoad]; // Do any additional setup after loading the view, typically from a nib. UIView* view = [[UIView alloc]initWithFrame:self.view.frame]; view.fr原创 2016-02-22 22:34:49 · 272 阅读 · 0 评论 -
iOS 手势(上)
#import "ViewController.h"@interface ViewController ()@end@implementation ViewController- (void)viewDidLoad { [super viewDidLoad]; // Do any additional setup after loading the view, typically f原创 2016-02-22 22:08:39 · 259 阅读 · 0 评论 -
关于网络
HTTP 请求的常见方法GET 所有参数拼接在URL后面,并且参数之间用&隔开比如http://192.168.1.123?name=123&pwd=123传递了两个参数给服务器name参数 :123 pwd 参数 :123没有请求体一般用来查询数据POST所有参数都在‘请求体’一般用来修改,增加,删除数据HTTP 请求的常见方法使用NSURLConnec原创 2016-03-19 14:22:22 · 257 阅读 · 0 评论 -
文章标题
// City *city = self.dataList[indexPath.row];// NSMutableDictionary *dict = [NSMutableDictionary dictionary]; dict = [NSMutableDictionary dictionaryWithDictionary:@{//转载 2016-03-17 21:30:25 · 208 阅读 · 0 评论 -
临时笔记
//static int distantce = 100;@interface ViewController ()- (IBAction)startAnimation:(id)sender;@property (weak, nonatomic) IBOutlet UIImageView *imageView;@property (weak, nonatomic) IBOutlet UIView *原创 2016-01-26 22:26:32 · 256 阅读 · 0 评论 -
UIAlertView简单记载
//点击alertView button 触发的方法。//buttonIndex按钮的索引值 cancel的index为0- (void)alertView:(UIAlertView *)alertView clickedButtonAtIndex:(NSInteger)buttonIndex { //获取alertview上的输入文本 UITextField * textField原创 2016-01-25 21:18:29 · 185 阅读 · 0 评论 -
ios学习之模仿韩寒"one.一个"UI
//// ViewController.m// 韩寒一个//// Created by ma c on 16/1/22.// Copyright © 2016年 wangleilei. All rights reserved.//#import "ViewController.h"@interface ViewController ()@property (nonatomic,s原创 2016-01-23 13:53:46 · 6634 阅读 · 0 评论 -
iOS 第四天之ViewController
简单记载下今天学的基础// ViewController.m// UITextField//// Created by 宇宙黑客王磊磊 on 16/1/21.// Copyright © 2016年 bjsxt. All rights reserved.//#import "ViewController.h"@interface ViewController ()@propert原创 2016-01-21 22:35:36 · 359 阅读 · 0 评论 -
UIButton基础以及使用block+UIButton处理点击事件
// UIButton * btn = [[UIButton alloc] init];//custom类型,一般不使用 //UIButtonTypeSystem 只能得到图片的轮廓,不能得到纹理 UIButton * btn = [UIButton buttonWithType:UIButtonTypeCustom]; //不能这么设置按钮颜色// btn.ti原创 2016-01-21 22:24:04 · 4369 阅读 · 0 评论 -
访微博作业
访微博作业//// ViewController.m// 仿微博作业//// Created by 王磊磊 on 16/1/19.// Copyright © 2016年 wangleilei. All rights reserved.//#import "ViewController.h"@interface ViewController ()@end@implementati原创 2016-01-20 22:24:58 · 320 阅读 · 0 评论 -
ios富文本自适应
ios自适应 引用块内容NSDictionary* dict = @{ NSFontAttributeName:[UIFont systemFontOfSize:30], NSForegroundColorAttributeName:[UIColor blueColor]原创 2016-01-20 18:51:54 · 1224 阅读 · 0 评论 -
ios第3天的气泡作业
ios第3天的气泡作业//// ViewController.m// UIIMage//// Created by 王磊 on 16/1/20.// Copyright © 2016年 wangleilei. All rights reserved.//#import "ViewController.h"@interface ViewController ()- (IBActi原创 2016-01-20 21:52:43 · 424 阅读 · 0 评论 -
iOS第三天
“` // Do any additional setup after loading the view, typically from a nib. /* typedef NS_ENUM(NSInteger, UIButtonType) { UIButtonTypeCustom = 0, // no button原创 2016-01-20 21:30:41 · 262 阅读 · 0 评论 -
php后台框架
先测试原创 2016-06-04 17:32:18 · 2200 阅读 · 0 评论