UI
程_先生
Any fool can write code that a computer can understand. Good programmers write code that humans can understand. –Martin Fowler
任何一个傻子都能写出让电脑能懂的代码,而只有好的程序员可以写出让人能看懂的代码 — Martin Fowler
展开
-
iOS UI08_TableView界面传值
实现两个界面之间内容的传递//// MainViewController.m// UI08_TableView界面传值//// Created by dllo on 15/8/7.// Copyright (c) 2015年 zhozhicheng. All rights reserved.//#import "MainViewController.h"#import "Sec原创 2015-08-08 10:46:48 · 902 阅读 · 2 评论 -
iOS UI03_UIViewController视图控制器
//// AppDelegate.m// UI03_UIViewController视图控制器//// Created by dllo on 15/7/31.// Copyright (c) 2015年 zhozhicheng. All rights reserved.//#import "AppDelegate.h"原创 2015-08-01 08:32:13 · 592 阅读 · 0 评论 -
iOS UI11_BLOCK传值
//// MainViewController.m// UI11_block练习//// Created by dllo on 15/8/12.// Copyright (c) 2015年 zhozhicheng. All rights reserved.//#import "MainViewController.h"#import "SecondViewController.原创 2015-08-13 08:46:03 · 731 阅读 · 0 评论 -
iOS UI11_UITabBar
//// AppDelegate.m// UI11_UITabBar//// Created by dllo on 15/8/12.// Copyright (c) 2015年 zhozhicheng. All rights reserved.//#import "AppDelegate.h"#import "FirstViewController.h"#import "Se原创 2015-08-13 08:39:49 · 1016 阅读 · 0 评论 -
iOS UI03_登陆+注册 UI1~3系统归纳
完成登陆系统(登陆、注册、找回密码),使用容器视图控制器实现。定义容器视图控制器ContainerViewController,指定为window的根视图控制器。定义LoginViewController、RegistViewController、PasswordViewController,三个视图控制器的根视图添加到容器视图控制器的根视图。//// AppDelegate.m//原创 2015-08-03 08:33:02 · 902 阅读 · 3 评论 -
iOS UI04_Touch
1.实现的是微信的摇一摇 2.实现的是View随着触摸能够在视图中进行移动,还有是通过触碰实现颜色变换,一碰颜色就会得到改变//// AppDelegate.m// UI04_Touch//// Created by dllo on 15/8/3.// Copyright (c) 2015年 zhozhicheng. All rights reserved.//#import原创 2015-08-03 20:07:14 · 508 阅读 · 0 评论 -
iOS UI13_数据解析XML_,JSON
- (IBAction)parserButton:(id)sender { parserXML *parser =[[parserXMLalloc] init]; [parserstartParser]; //遍历学生的姓名 for (Student *stuin parser.stuArr) { NSLog(@"%@原创 2015-08-17 08:43:27 · 636 阅读 · 0 评论 -
iOS UI04_Target-Action
//// MyButton.h// UI04_Target-Action//// Created by dllo on 15/8/3.// Copyright (c) 2015年 zhozhicheng. All rights reserved.//#import <UIKit/UIKit.h>@interface MyButton : UIView//通过MyButton实现原创 2015-08-04 21:06:13 · 462 阅读 · 0 评论 -
iOS UI04_Delegate
//// AppDelegate.m// UI04_Delegate//// Created by dllo on 15/8/3.// Copyright (c) 2015年 zhozhicheng. All rights reserved.//#import "AppDelegate.h"#import "MainViewController.h"@interface Ap原创 2015-08-04 20:05:03 · 370 阅读 · 0 评论 -
iOS UI05_手势识别器
手势:点击,长按,旋转,捏合,拖拽,清扫,清扫的方向//// MainViewController.m// UI05_手势识别器//// Created by dllo on 15/8/4.// Copyright (c) 2015年 zhozhicheng. All rights reserved.//#import "MainViewController.h"@interfa原创 2015-08-05 08:41:32 · 501 阅读 · 0 评论 -
iOS UI05_Control
毛玻璃效果 动态图 音频 滑块 点击条//// MainViewController.m// UI05_Control//// Created by dllo on 15/8/4.// Copyright (c) 2015年 zhozhicheng. All rights reserved.//#import "MainViewController.h"#import原创 2015-08-05 08:45:38 · 415 阅读 · 0 评论 -
iOS UI14_GET-POST
//// ViewController.m// UI14_GET-POST//// Created by dllo on 15/8/17.// Copyright (c) 2015年 zhozhicheng. All rights reserved.//#import "ViewController.h"原创 2015-08-18 09:13:40 · 610 阅读 · 0 评论 -
iOS UI06_UIPageControl
//// MainViewController.m// UI06_UIPageControl//// Created by dllo on 15/8/5.// Copyright (c) 2015年 zhozhicheng. All rights reserved.//#import "MainViewController.h"#define WIDTH self.view.f原创 2015-08-06 15:04:10 · 516 阅读 · 0 评论 -
iOS UI06_UIScorollView
//// MainViewController.m// UI06_UIScorollView//// Created by dllo on 15/8/5.// Copyright (c) 2015年 zhozhicheng. All rights reserved.//#import "MainViewController.h"//定义两个宏,分别为屏幕尺寸的宽,高#defi原创 2015-08-06 15:02:33 · 1296 阅读 · 0 评论 -
iOS UI07_导航视图控制器
//// MainViewController.m// UI07_导航视图控制器//// Created by dllo on 15/8/6.// Copyright (c) 2015年 zhozhicheng. All rights reserved.//#import "MainViewController.h"#import "SecondViewController.h原创 2015-08-07 08:36:06 · 692 阅读 · 0 评论 -
iOS UI07_界面传值
//// MainViewController.m// UI07_界面传值//// Created by dllo on 15/8/6.// Copyright (c) 2015年 zhozhicheng. All rights reserved.//#import "MainViewController.h"#import "SecondViewController.h"/原创 2015-08-07 08:43:16 · 672 阅读 · 0 评论 -
iOS UI16_数据持久化
//// Student.h// UI16_数据持久化//// Created by dllo on 15/8/19.// Copyright (c) 2015年 zhozhicheng. All rights reserved.//#import <Foundation/Foundation.h>#pragma mark 如果想实现归档和反归档的操作需要先签订一个协议NSCo原创 2015-08-20 09:12:42 · 736 阅读 · 0 评论 -
iOS UI03_LTView
//// LTView.h// OC03_LTView//// Created by dllo on 15/7/31.// Copyright (c) 2015年 dllo. All rights reserved.//#import @interface LTView :UIViewUITextF原创 2015-08-01 08:29:08 · 503 阅读 · 0 评论 -
iOS UI21_多线程
//// MyOperation.m// UI21_多线程//// Created by dllo on 15/8/26.// Copyright (c) 2015年 zhozhicheng. All rights reserved.//#import "MyOperation.h"@implementation MyOperation-(void)main{ NSIn原创 2015-08-27 08:34:54 · 702 阅读 · 0 评论 -
iOS UI02_UITextField
//// AppDelegate.m// UI02_//// Created by dllo on 15/7/30.// Copyright (c) 2015年 zhozhicheng. All rights reserved.//#import "AppDelegate.h"@interface原创 2015-07-31 08:42:28 · 407 阅读 · 0 评论 -
iOS UI08_UITableView
(http://img.blog.csdn.net/20150808103801391)//// MainViewController.m// UI08_UITableView//// Created by dllo on 15/8/7.// Copyright (c) 2015年 zhozhicheng. All rights reserved.//#import "MainV原创 2015-08-08 10:39:12 · 577 阅读 · 0 评论 -
iOS UI08_tableView省市区字典数组
北京 1 北京市 1 西城区 1 东城区 2 崇文区 3 宣武区 4 朝阳区 5 丰台区 6 石景山区 7 海淀区 8 门头沟区 9 房山区 10 通州区 11 顺义区 12 昌平区 13 大兴区 14 怀柔区 15 平谷区 16 密云区 17 延庆区原创 2015-08-10 08:35:41 · 1341 阅读 · 0 评论 -
iOS UI_相册
//// MainViewController.m// 相册//// Created by dllo on 15/8/6.// Copyright (c) 2015年 zhozhicheng. All rights reserved.//#import "MainViewController.h"#import "SecondViewController.h"@interfa原创 2015-08-10 08:45:50 · 609 阅读 · 0 评论 -
iOS UI_电话本
//// MainViewController.m// 电话本//// Created by dllo on 15/8/7.// Copyright (c) 2015年 zhozhicheng. All rights reserved.//#import "MainViewController.h"#import "SecondViewController.h"#import原创 2015-08-10 08:51:26 · 1027 阅读 · 0 评论 -
iOS UI19_数据库
//// Student.h// UI19_数据库//// Created by dllo on 15/8/24.// Copyright (c) 2015年 zhozhicheng. All rights reserved.//#import <Foundation/Foundation.h>@interface Student : NSObject@property(nona原创 2015-08-25 08:37:57 · 670 阅读 · 0 评论 -
iOS UI09_自定义cell
//// MyCell.h// UI09_自定义cell//// Created by dllo on 15/8/10.// Copyright (c) 2015年 zhozhicheng. All rights reserved.//#import <UIKit/UIKit.h>@interface MyCell : UITableViewCell#warning 现在要给自原创 2015-08-11 08:43:37 · 664 阅读 · 0 评论 -
iOS UI09_多种Tableview
//// MainViewController.m// UI09_多种Tableview//// Created by dllo on 15/8/10.// Copyright (c) 2015年 zhozhicheng. All rights reserved.//#import "MainViewController.h"@interface MainViewControll原创 2015-08-11 08:38:16 · 595 阅读 · 0 评论 -
iOS UI01_UIView
//// AppDelegate.m// UI01_UIView//// Created by dllo on 15/7/29.// Copyright (c) 2015年 zhozhicheng. All rights reserved.//#import "AppDelegate.h"@interf原创 2015-07-30 08:40:55 · 545 阅读 · 0 评论 -
iOS UI01_Label
@implementation AppDelegate-(void)dealloc{ [_window release]; [superdealloc];}- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary原创 2015-07-30 08:49:22 · 485 阅读 · 0 评论 -
iOS UI02_UIButton
//// AppDelegate.m// UI02_UIButton//// Created by dllo on 15/7/29.// Copyright (c) 2015年 zhozhicheng. All rights reserved.//#import "AppDelegate.h"@inte原创 2015-07-31 08:38:48 · 436 阅读 · 0 评论 -
iOS UI02_Button和Textfield
//// AppDelegate.m// //// Created by dllo on 15/7/30.// Copyright (c) 2015年 zhozhicheng. All rights reserved.//#import "AppDelegate.h"@interface AppDel原创 2015-07-31 08:45:18 · 1162 阅读 · 0 评论 -
iOS UI10_带分区的省市区
//// MainViewController.m// UI10_带分区的省市区//// Created by dllo on 15/8/11.// Copyright (c) 2015年 zhozhicheng. All rights reserved.//#import "MainViewController.h"#import "SecondViewController.原创 2015-08-12 14:08:02 · 1118 阅读 · 0 评论 -
iOS UI10_tableView的编辑
//// MainViewController.m// UI10_tableView的编辑//// Created by dllo on 15/8/11.// Copyright (c) 2015年 zhozhicheng. All rights reserved.//#import "MainViewController.h"@interface MainViewControl原创 2015-08-12 14:10:20 · 1168 阅读 · 0 评论 -
iOS UI01_色彩变换
//// AppDelegate.m// 作业_彩色变换//// Created by dllo on 15/7/29.// Copyright (c) 2015年 zhozhicheng. All rights reserved.//#import "AppDelegate.h"@interface原创 2015-07-30 22:18:50 · 487 阅读 · 0 评论 -
iOS UI02.2_UIView,UILabel,UIButton,UItextfield归纳
//// AppDelegate.m// UI02作业//// Created by dllo on 15/7/30.// Copyright (c) 2015年 zhozhicheng. All rights reserved.//#import "AppDelegate.h"@interface原创 2015-07-31 08:49:59 · 531 阅读 · 0 评论 -
CoreData
CoreData对于开发者来说是比较方便的,但是它的效率很低,比起sqlite没有它的执行效率高.苹果也在推CoreData但是现在用的还不是太多,但是对于程序员来说,CoreData是比较简单方便的.下面我们一起来学习一下CoreData:首先我们要创建工程的时候勾选创建CoreData选项然后新建一个继承与NSObject的类CoreDataManager引入头文件#i原创 2015-10-30 11:54:01 · 389 阅读 · 0 评论