会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
iOS-c
博客园
首页
新随笔
联系
订阅
管理
1
2
3
下一页
2015年8月27日
笔记
摘要: 布局行列关系 列与X轴 行与Y轴列% 行/1.//获取当前屏幕的宽度CGFloat swidth = [UIScreen mainScreen].bounds.size.width;//边界到控件的距离int space = (swidth - 260)/2;for (int i = ...
阅读全文
posted @ 2015-08-27 20:47 ios-C
阅读(176)
评论(0)
推荐(0)
2015年8月26日
ui
摘要: #import "ViewController.h"#import "Person.h"@interface ViewController (){ UIImageView *_imgView; NSMutableArray *_personsArray; //存放所有注册用户的信息}@end@i...
阅读全文
posted @ 2015-08-26 21:10 ios-C
阅读(188)
评论(0)
推荐(0)
2015年8月25日
ui-label button
摘要: #import "AppDelegate.h"@interface AppDelegate ()@end@implementation AppDelegate{ //全局变量 UILabel*lablel;}-(void)dealloc{ self.window=nil; [...
阅读全文
posted @ 2015-08-25 20:43 ios-C
阅读(160)
评论(0)
推荐(0)
ui-uiwindow uiview
摘要: main#import #import "AppDelegate.h"//UIApplication对象:这是应用程序的象征,是iOS程序第一个创建的对象。每一个程序都有自己的UIApplication对象//UIApplication对象的创建:[UIApplication sharedAppli...
阅读全文
posted @ 2015-08-25 20:42 ios-C
阅读(231)
评论(0)
推荐(0)
草稿-九宫格
摘要: #import "AppDelegate.h"@interface AppDelegate ()@property(nonatomic,strong)NSArray*app;@end@implementation AppDelegate-(NSArray *)app{ if (_app == ni...
阅读全文
posted @ 2015-08-25 20:38 ios-C
阅读(167)
评论(0)
推荐(0)
2015年8月24日
草稿
摘要: #import #import "AppDelegate.h"/*UIApplication:这个应用程序的象征,是程序第一个创建的对象,每个程序都有自己的 UIApplication对象 UIApplication对象的创建:[UIApplication sharedApplication];利用...
阅读全文
posted @ 2015-08-24 12:04 ios-C
阅读(133)
评论(0)
推荐(0)
2015年8月19日
ios文件管理
摘要: #import #define PATH1 @"/Users/aoyolo5/Desktop/文件管理"#define PATH2 @"/Users/aoyolo5/Desktop/文件管理/name.txt"#define PATH3 @"/Users/aoyolo5/Desktop/array....
阅读全文
posted @ 2015-08-19 20:15 ios-C
阅读(230)
评论(0)
推荐(0)
iOS -归档
摘要: Student.h#import @interface Student : NSObject@property (nonatomic, copy) NSString *name;@property (nonatomic, assign) int ID;@endStudent.m#import "St...
阅读全文
posted @ 2015-08-19 20:13 ios-C
阅读(135)
评论(0)
推荐(0)
8.ios-Protocol
摘要: BoosProtocol.h#import //创建协议@protocol BoosProtocol @required//必须实现的方法-(NSInteger)buyWood;@optional//可选实现-(void)text3;@endWorkeProtocol.h#import @proto...
阅读全文
posted @ 2015-08-19 19:26 ios-C
阅读(156)
评论(0)
推荐(0)
7.ios-分类 继承 extention
摘要: Person.h#import @interface Person : NSObject-(void)eat;@end//2.第二种方法//分类的声明//创建分类@interface ()@interface Person (MyCategory)-(void)run;@endPerson.m#i...
阅读全文
posted @ 2015-08-19 18:06 ios-C
阅读(146)
评论(0)
推荐(0)
1
2
3
下一页
公告