原创 C語言練習5

// // main.c // exercise5 // // Created by Vision on 14-9-4. // #include <stdio.h> #include "Myfunction.h" #include

原创 OC 類和對象

// // main.m // oc01_類對象 // // Created by Vision on 14-9-11. #import <Foundation/Foundation.h> #import "Person.h" #

原创 OC 複合

// // main.m // oc02_複合 // // Created by Vision on 9/12/14. // Copyright (c) 2014 Vision. All rights reserved. //

原创 C語言總結2

// // main.c // lensson2 // // Created by Vision on 14-8-28. // #include <stdio.h> #include <stdlib.h> //枚舉類型 enum

原创 C語言總結3

// // main.c // // // Created by Vision on 14-8-29. // #include <stdio.h> #include <time.h> #include <stdlib.h> in

原创 UI 常用方法總結之---各個手勢種類 UIGestureRecognizer

手勢種類 UIGestureRecognizer : NSObject 1.- (void)addGestureRecognizer:(UIGestureRecognizer*)gestureRecognizer 附加一個手勢識別器到視圖

原创 UI 常用方法總結之--- UILabel UITextField

UILabel : UIView <NSCoding> 1.創建一個UILabel對象 UILabel *label = [[UILabel alloc]initWithFrame:CGRectMake(30, 30, 280, 60)]

原创 UI 常用方法總結之--- UIWindow UIView

   UIWindow (UIView)   1.創建一個uiwindow對象  self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];

原创 UI 常用方法總結之--- UIViewController UIResponder

UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer>   關於UIViewCont

原创 UI 常用方法總結之--- UIImageView UISlider UISegmentedControl

  UIImageView : UIView   1.animationImages 圖像數組 2.- (void)startAnimating; 開始動畫 3.- (void)stopAnimating; 停止動畫 4.- (BOOL)

原创 UI 常用方法總結之--- UIPageControl

UIPageControl : UIControl   1.創建一個UIPageControl對象 UIPageControl *pageControl = [[UIPageControl alloc]initWithFrame:CGRe

原创 UI 常用方法總結之--- UIButton UIAlertView

UIButton : UIControl <NSCoding>   1.創建一個UIButton對象 UIButton *button = [UIButton buttonWithType:UIButtonTypeSystem]; but

原创 UI 常用方法總結之--- UIScrollView

UIScrollView : UIView <NSCoding>   1.創建一個UIScrollView對象 UIScrollView *scrollView = [[UIScrollView alloc]initWithFrame:C

原创 UI 常用方法總結之--- UINavigationController

UINavigationController : UIViewController   1.創建UINavigationController對象 UINavigationController *navCV = [[UINavigation

原创 UI 常用方法總結之--- UITableView

  轉載請註明出處:http://blog.csdn.net/qq11231325 UITableView : UIScrollView <NSCoding>   1.創建一個UITableView對象 ITableView *table