yuruiiou
码龄12年
求更新 关注
提问 私信
  • 博客:10,494
    10,494
    总访问量
  • 26
    原创
  • 0
    粉丝
  • 3
    关注
IP属地以运营商信息为准,境内显示到省(区、市),境外显示到国家(地区)
IP 属地:辽宁省
加入CSDN时间: 2014-09-03
博客简介:

西门吹灰的博客

查看详细资料
个人成就
  • 获得0次点赞
  • 内容获得0次评论
  • 获得0次收藏
  • 博客总排名355,740名
  • 原力等级
    原力等级
    0
    原力分
    0
    本月获得
    0
创作历程
  • 26篇
    2016年
成就勋章
TA的专栏
  • IOS基本控件
    16篇
  • iOS-数据解析
    1篇
  • iOS数据传递
    1篇
  • iOS网络
    1篇
  • iOS工具类
    2篇
  • IOS数据存储
    1篇
  • IOS功能
    1篇

TA关注的专栏 0

TA关注的收藏夹 0

TA关注的社区 0

TA参与的活动 0

创作活动更多

AtomGit「码动四季·开源同行」冬季征稿活动

时序入冬,岁末收官。「码动四季」年度系列征稿,迎来最后一季—— 冬・开源年度沉淀复盘。 春播种、夏深耕、秋收获,到冬日,宜收束、梳理、回望、锚定新程。 这一季,我们邀请所有开源参与者,停下匆匆迭代的脚步,把一整年在开源世界里走过的路、踩过的坑、沉淀下的思考,落笔成文。 ## 征文主题 1️⃣ 开源项目年度迭代总结 项目全年版本演进、功能迭代、社区治理、问题复盘、数据变化,讲清这一年项目的成长与取舍。 2️⃣ 全年技术学习沉淀 知识点体系梳理、踩坑笔记、开发工具链汇总、技术栈实践心得,把零散的学习碎片整理成可复用的沉淀。 3️⃣ 2027 年开源规划与目标设定 新一年的项目路线、社区运营计划、个人技术成长目标、想尝试的开源方向,大胆写下你的开源蓝图。 4️⃣ 年度优质开源项目推荐与点评 这一年打动你的开源项目,附上你的使用体验、技术亮点、适用场景、优缺点客观点评。 5️⃣ 个人 / 团队年度开源成果全景复盘 提交 PR、Issue、文档贡献、社区分享、活动组织、项目孵化等,全景回顾属于你的开源成绩单。 6️⃣ 开源人年度故事分享 和开源相遇的故事、社区里温暖或难忘的瞬间、长期维护的孤独与成就感、开源路上的心路独白。 ![在这里插入图片描述](https://i-blog.csdnimg.cn/direct/a8280a0464f34b5fa1171ee2941876cc.png) 扫码加入码动四季投稿交流群,和更多伙伴一起交流技术!

332人参与 去参加
  • 最近
  • 文章
  • 专栏
  • 代码仓
  • 资源
  • 收藏
  • 关注/订阅/互动
更多
  • 最近

  • 文章

  • 专栏

  • 代码仓

  • 资源

  • 收藏

  • 关注/订阅/互动

  • 社区

  • 帖子

  • 问答

  • 课程

  • 视频

搜索 取消

省市区存储数据

样本北京 1 北京市 1 西城区 1 东城区 2 .... 天津 2 天津市 2 和平区 19 河东区 20 河西区 21 ... 河北 3 石家庄市 3 长安区 37 桥东区 38 ... 唐山市 4 路北区 60 路南区 61 古冶区 62 开平区 63 ...
原创
博文更新于 2016.03.27 ·
1983 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

遇到的一些小问题

iOS navigationBar.hidden 和 navigationBarHidden 的坑http://blog.csdn.net/u012636086/article/details/41803107iOS时间http://blog.csdn.net/sakulafly/article/details/8861067GCDhttp://blog.sina.com.cn/s/blog_626
原创
博文更新于 2016.07.21 ·
273 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

UIScrollView、UIPageControl、NSTimer

UIScrollViewcode// 宽度为屏幕宽度9倍的UIScrollView UIScrollView *myScrollView = [[UIScrollView alloc] initWithFrame: self.view.frame]; myScrollView.backgroundColor = [UIColor lightGrayColor]; myScrol
原创
博文更新于 2016.07.20 ·
339 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

UISlider、UIStepper、UISegmentControl、UISwitch、UIProgressView、UIActivityIndicatorView

codeUISlider UISlider *mySlider = [[UISlider alloc] initWithFrame:CGRectMake(80, 100, 250, 35)]; [self.view addSubview: mySlider]; [mySlider release]; [mySlider addTarget:self action:@se
原创
博文更新于 2016.07.19 ·
322 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

事件和手势

code让视图跟着手指移动- (void) touchesBegan:(NSSet<UITouch *> *)touches withEvent:(UIEvent *)event { [super touchesBegan:touches withEvent:event]; // 获取触摸点的坐标 // NSLog(@"%@", touches); // 1.先获取to
原创
博文更新于 2016.07.18 ·
294 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

自定义瀑布流

DKFlowLayout类DKFlowLayout.h// 在.h里@class, 在.m里#import @class DKFlowLayout;@protocol DKFlowLayoutDelegate <NSObject>- (CGFloat) layout: (DKFlowLayout *)layout heightForItemAtIndexPath:(NSIndexPath *) in
原创
博文更新于 2016.04.05 ·
324 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

BaseModel

.h@interface BaseModel : NSObject+ (NSMutableArray *) baseModelByArr: (NSArray *) arr;@end.m@implementation BaseModel+ (NSMutableArray *) baseModelByArr: (NSArray *) arr { NSMutableArray *modelArr
原创
博文更新于 2016.04.05 ·
509 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

DataBaseTool

.htypedef NS_ENUM(NSUInteger, SelectInDB) { SelectInTable, SelectNotInTable, SelectError, };@interface DataBaseTool : NSObject { sqlite3 *dbPoint; }+ (instancetype)shareDataBase;// 判断当前
原创
博文更新于 2016.04.05 ·
853 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

SavaTool_归档

.htypedef NS_ENUM(NSUInteger, DouBanType) { DouBanActivity, DouBanMovie, DouBanCinema, };@interface SaveTool : NSObject+ (BOOL) isActivityInPlist: (Activity *) act; + (void) archiveActivity
原创
博文更新于 2016.04.05 ·
305 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

数据持久化

前奏 文件的路径有几种方式获取, 比如直接从工程拽出来的路径是当前工程文件夹的路径, 这个路径会随着工程的移动而发生变化 也可通过 NSBundle 获取, bundle 可以获取工程里文件的路径, 这个路径不会随着工程的移动而变化 如果要做手机的缓存, 或者收藏功能, 上面两个路径是不能办到的, 我们需要把较为私密的内容放到手机的沙盒里进行保存 NSLog(@"%
原创
博文更新于 2016.04.05 ·
343 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

NetWorkingTool

.h@protocol NetWorkingToolDelegate <NSObject>- (void)bringValue: (id) result;@end@interface NetWorkingTool : NSObject+ (void) toolWithURl: (NSString *) strURL block: (void (^) (id result)) block;@end .
原创
博文更新于 2016.04.05 ·
312 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

网络请求

code准备工作// 用来装每次请求的数据 @property (nonatomic, retain) NSMutableData *data;从 iOS9.0之后, 默认是 https请求, 如果想继续使用 http 请求, 需要在 info.plist 中加上一些内容, 内容如下:<key>NSAppTransportSecurity</key> <dict> <key>
原创
博文更新于 2016.03.28 ·
314 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

界面传值

属性传值ViewController向SecondViewController跳转 ViewController向SecondViewController传值1.sec.h // 第一步:在后一个页面写一个属性,用来接收从另一页面传过来的值 @property (nonatomic, retain) NSString *str;2.view.m #import "SecondViewCon
原创
博文更新于 2016.03.27 ·
306 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

UINavigationController, UITabBarController

code通用AppDelegate.h#import "ViewController.h" self.window = [[UIWindow alloc] initWithFrame: [[UIScreen mainScreen] bounds]]; [self.window makeKeyAndVisible]; [_window release]; ViewCont
原创
博文更新于 2016.03.27 ·
285 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

UIImagePickerController, UISearchBar

codeUIImagePickerController1.签协议 2.某个 Button 的方法里{ UIImagePickerController *picker = [[UIImagePickerController alloc] init]; picker.allowsEditing = YES; picker.delegate = self;
原创
博文更新于 2016.03.27 ·
254 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

UITableViewController

codeApp.m self.window = [[UIWindow alloc] initWithFrame: [[UIScreen mainScreen] bounds]]; [self.window makeKeyAndVisible]; [_window release]; // UITableViewController的创建 MyTableViewCo
原创
博文更新于 2016.03.27 ·
302 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

UITableView

codeproperty
原创
博文更新于 2016.03.27 ·
378 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

UILabel

UILabelUILabel code 文本中间对齐 圆角边框 property Methodcode文本中间对齐UILabel *myLabel = [[UILabel alloc] initWithFrame:CGRectMake(100, 100, 150, 35)]; myLabel.text = @"This is a Label"; myLabel.textAlignment = NST
原创
博文更新于 2016.03.16 ·
314 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

UIView、UIResponder、UIAlertView、UIActionSheet

Methodcode动画// 从原来的位置移到新的位置,与原来的大小没有关系[UIView animateWithDuration:5.5 animations:^{ myView.frame = CGRectMake(50, 50, 70, 70); }];
原创
博文更新于 2016.03.15 ·
284 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

UITextField

code圆角,有占位符 UITextField *myTextField = [[UITextField alloc] initWithFrame:CGRectMake(100, 100, 190, 30)]; myTextField.borderStyle = UITextBorderStyleRoundedRect; myTextField.placeholder = @"
原创
博文更新于 2016.03.15 ·
341 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏
加载更多