会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
随心所欲2015
博客园
首页
新随笔
联系
管理
订阅
2015年10月23日
通过UIScrollView和UIPageControl结合制作相册
摘要: 1、创建UIScrollView视图: UIScrollView *aScrollView = [[[UIScrollView alloc] initWithFrame:self.view.bounds] autorelease]; aScrollView.backgroundColor = [...
阅读全文
posted @ 2015-10-23 21:26 随心所欲2015
阅读(167)
评论(0)
推荐(0)
2015年10月22日
UIControl子类之间的关联实例
摘要: /Users/xalo/Desktop/模拟图.png
阅读全文
posted @ 2015-10-22 20:44 随心所欲2015
阅读(183)
评论(0)
推荐(0)
手势识别器的使用
摘要: // 1、轻拍手势识别器的使用 UITapGestureRecognizer *tapGesture=[[UITapGestureRecognizer alloc]initWithTarget:self action:@selector(handleTapGesture:)]; //设置需要...
阅读全文
posted @ 2015-10-22 15:31 随心所欲2015
阅读(135)
评论(0)
推荐(0)
圆形头像图标设计
摘要: #import "MainViewController.h"@interface MainViewController ()@end@implementation MainViewController- (void)viewDidLoad { [super viewDidLoad]; // Do...
阅读全文
posted @ 2015-10-22 15:07 随心所欲2015
阅读(235)
评论(0)
推荐(0)
2015年10月17日
简单界面设置及切换
摘要: 第一步:创建视图控制器并创建LoginViewController、RegistViewController、PasswordViewController三个控制器:#import "MainViewController.h"#import "LoginViewController.h"#impor...
阅读全文
posted @ 2015-10-17 22:30 随心所欲2015
阅读(228)
评论(0)
推荐(0)
UI涂鸦板设计代码
摘要: 第一步:创建UIView子类PaintView:1、声明属性和方法:#import @interface PaintView : UIView@property(nonatomic,retain)NSMutableArray *allLines;@property(nonatomic,retain)...
阅读全文
posted @ 2015-10-17 12:06 随心所欲2015
阅读(224)
评论(0)
推荐(0)
UI简单计算器设计代码
摘要: #import "AppDelegate.h"#define kScreenWidth CGRectGetWidth([[UIScreen mainScreen] bounds])#define kScreenHeight CGRectGetHeight([[UIScreen mainScreen]...
阅读全文
posted @ 2015-10-17 11:51 随心所欲2015
阅读(784)
评论(0)
推荐(0)
公告