自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

王磊磊的博客

宇宙黑客王磊磊的博客

  • 博客(21)
  • 收藏
  • 关注

原创 php后台框架

先测试

2016-06-04 17:32:18 2216

原创 百思

NSMutableDictionary *normalAttrs = [NSMutableDictionary dictionary]; normalAttrs[NSFontAttributeName] = [UIFont systemFontOfSize:12]; normalAttrs[NSForegroundColorAttributeName] = [UIColor gray

2016-03-26 09:57:03 299

原创 通过appearance统一设置所有UITabBarItem的文字属性

// 通过appearance统一设置所有UITabBarItem的文字属性 // 后面带有UI_APPEARANCE_SELECTOR的方法, 都可以通过appearance对象来统一设置 NSMutableDictionary *attrs = [NSMutableDictionary dictionary]; attrs[NSFontAttributeName] = [

2016-03-24 10:42:10 493

原创 上拉刷新下拉加载

import “ViewController.h”@interface ViewController ()@property (nonatomic, strong) UIScrollView * scrollView;@end@implementation ViewController(UIScrollView *)scrollView {if (!_scrollView) { _scr

2016-03-23 20:15:27 309

原创 关于网络

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 261

转载 文章标题

// City *city = self.dataList[indexPath.row];// NSMutableDictionary *dict = [NSMutableDictionary dictionary]; dict = [NSMutableDictionary dictionaryWithDictionary:@{//

2016-03-17 21:30:25 210

原创 嵌入式项目远程控制-服务器端

登录云主机的方法1 打开mac 终端ssh root@42.123.81.215密码是:*******进入之后 cd /var/www/html/api/可以看到data, jindu ,kaidu,等文件夹这些文件里面都有3个文件data.txt get.phppost.php 1 <?php 2 $file = fopen("data.txt","r”); 3 $data =

2016-03-15 22:02:16 1463

原创 获取验证码模型-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 287

原创 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 274

原创 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 263

原创 临时笔记

//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 258

原创 UIAlertView简单记载

//点击alertView button 触发的方法。//buttonIndex按钮的索引值 cancel的index为0- (void)alertView:(UIAlertView *)alertView clickedButtonAtIndex:(NSInteger)buttonIndex { //获取alertview上的输入文本 UITextField * textField

2016-01-25 21:18:29 188

原创 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 6781

原创 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 360

原创 UIButton基础以及使用block+UIButton处理点击事件

// UIButton * btn = [[UIButton alloc] init];//custom类型,一般不使用 //UIButtonTypeSystem 只能得到图片的轮廓,不能得到纹理 UIButton * btn = [UIButton buttonWithType:UIButtonTypeCustom]; //不能这么设置按钮颜色// btn.ti

2016-01-21 22:24:04 4370

原创 访微博作业

访微博作业//// 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 322

原创 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 426

原创 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 265

原创 ios富文本自适应

ios自适应 引用块内容NSDictionary* dict = @{ NSFontAttributeName:[UIFont systemFontOfSize:30], NSForegroundColorAttributeName:[UIColor blueColor]

2016-01-20 18:51:54 1226

原创 ios学习day—1

属性1属性参数赋值相关的参数assign 默认参数retain 用于对象类型的属性声明 不可以省略@property (retain) Book* book:copy   用于对象类型 一般用于nssting 这个类型的属@property  (copy) nsstring* str;线程相关的参数nonatmoic 默认参数 表示线程不

2016-01-16 21:34:43 250

原创 测试功能

什么事摘要?

2015-12-14 19:47:26 292

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除