Posts

Showing posts with the label AP102

AP102 2016/7/25 下午silvia RWD

專案管理 https://trello.com git / svn https://backlogtool.com/git-guide/tw/ 設計流程 0.使用CardSorting 1.SiteMap 2.FlowChart 3.Wireframe(不要放顏色,放圖檔) 可轉換成線稿 https://www.wirify.com/ 或者使用手繪 Paper prototyping 4.Mockup https://gomockingbird.com/ 5.Prototype(for 內部測試) http://www.teehanlax.com/tools/iphone/ 測試是否是RWD responsive Design bookmark 不要換頁 40 120 888 84 pt 繪圖範圍 標準 72dpi 1px = 1pt Retina 2px = 1pt RWD常用 em單位 16px = 1em 1/1.62 Media Queries Fluid Grid http://960.gs header : width:100% padding margin border if positrion:absolute 不要再寫padding

AP102 2016/5/25 下午

AP102 2016/5/25 早上

AP102 2016/5/23

AP102 2016/5/18-2

智慧APP整合開發養成班一個月心得

AP102 2016/5/16

早上9:40  上了一早上的手勢 下午是學長輔導

AP102 2016/5/13

完成記事本的code id objectAtIndex:(NSUInteger) // NSString * message = @"gell"; // NSArray * studens=@[@"123",@"678"]; id message  = @"glee"; id students = @[@"glee",@"mary"]; 沒辦法檢查型別 無法判斷 [message objectAtIndex:0];-->當機 不知道回傳什麼 NSArray<NSString*> * students =@[@"glee","mary"]; NSNumber * number = [students objectAtIndex:1]; -(IBAction)clearFields:(id)sender{ UIButton * button = (UIButton*)sender; [button setBackgroundColo:[UIColor whiteColor]]; } 記憶體管理 pointer UIImage * image = [UIImage imageNamed:@"fighter.jpg"]; 指標只是一種遙控器 可以取用 但不是物件 OBJ-c 1.0 MRC手動 ARC自動 retain release 以上會自動加 autoRealease 以上這些都不能再用 reference counting ARC allo +1 new +1 =>alloc init的縮寫 copy ARC weak 就不能再下alloc init 不可被+ / - 1 strong 可以 1.IBoutlet --> weak 2.互相持有 的時候 有一方必須用weak 有一個類別叫做班級 有一個類別叫做學生 @interface class父{ @property (nonatomic,strong)...

AP102 2016/5/12

Image
iphone 是以point 做為圖片解析度的依據 png @1x @2x @3x picker - (NSInteger) 選Tab Bar Controller 設定 要選Reset to Suggested Constraints

AP102 2016/5/10 早上豆花演講

訂閱blog,用RSS reader Twitter,GitHub追蹤開發者 試著回答stackoverflow問題 參加社群 成千上百的線上課程 launchkit.io Like boy https://www.firebase.com/docs/ios/ http://www.hopperapp.com/ cocoaheads cocoapods 30天學習Swift   https://github.com/allenwong/30DaysofSwift/blob/master/README.md postman https://fastlane.tools

AP102 2016/5/9

四種形式的cell Table view的四種形式 Style = Basic Right Detail Left Detail Reuse Identify : 慣例輸入:Cell

AP102 2016/5/9 alert 克凡

AP102 2016/5/9 alert 克凡 - ( IBAction )clicked { // preferredStyle:UIAlertControllerStyleActionSheet // 這是顯示下面四行 UIAlertController *alertController = [UIAlertController alertControllerWithTitle:@ "Title" message:@ "Message" preferredStyle:UIAlertControllerStyleActionSheet]; // preferredStyle:UIAlertControllerStyleActionSheet // 這是顯示在中間 UIAlertController *alertController = [UIAlertController alertControllerWithTitle:@ "Title" message:@ "Message" preferredStyle:UIAlertControllerStyleAlert]; //第一個選項 UIAlertAction *okAction = [UIAlertAction actionWithTitle:@ "OK" style:UIAlertActionStyleDefault handler: nil ]; //第二個選項 UIAlertAction *ok2Action = [UIAlertAction actionWithTitle:@ "OK2" style:UIAlertActionStyleDefault handler: nil ]; //取消按鈕UIAlertActionStyleCancel UIAlertAction *cancelAction = [UIAlertAction actionWithTitle:@ "Cancel" style:UIAlertActionStyleCancel ...

AP102 2016/5/9 delegate

AP102 2016/5/9 delegate #import "ViewController.h" @interface ViewController ()< UITextFieldDelegate > ** @property ( weak , nonatomic ) IBOutlet UITextField *UItextField;** //step1 @end @implementation ViewController - ( void )viewDidLoad { [ super viewDidLoad]; // Do any additional setup after loading the view, typically from a nib. ** self .UItextField .delegate = self ;** //step2 } - ( void )didReceiveMemoryWarning { [ super didReceiveMemoryWarning]; // Dispose of any resources that can be recreated. } //step3 **-( BOOL )textFieldShouldReturn:(UITextField *)textField { [textField resignFirstResponder]; //resignFirstResponder //第一回應人預設會升起鍵盤,提高回應優先權 return YES ; //UIResponderChain //hitTesting }** @end

AP102 2016/5/6

AP102 2016/5/6 先在FirstViewController.h裡面呼叫 #import "FirstViewController.h" #import "SecondViewController.h" @interface FirstViewController () @end @implementation FirstViewController - ( IBAction )pressNext:( UIButton *)sender { // SecondViewController * vc =[self.storyboard instantiateViewControllerWithIdentifier:@"SecondViewController"]; //Prepare the next page SecondViewController * vc =(SecondViewController*)[ self .storyboard instantiateViewControllerWithIdentifier:@ "SecondViewController" ]; //Show the next page, //animated means show animation YES or NO? //completion:nil means dont's do anything. [ self presentViewController:vc animated: YES completion: nil ]; } @end 然後再到去清除viewcontroller // SecondViewController.m #import "SecondViewController.h" @interface SecondViewController () @end @implementation SecondViewController - ( IBAction )goback:(...

AP102 2016/5/5

AP102 2016/5/4

2016年智慧APP整合開發養成班 開訓日:2016/4/12 結訓日:2016/9/13 今日上課內容: 1.html5的經緯度位置 2.google Maps 3.拖曳

AP102 2016/5/2

敏捷開發

AP102 2016/4/29

物件方法 給物件用的方法 uppercase 例如 NSString*name=@"glee" [glee uppercase] message->uppercase 對物件傳遞訊息 -( )xxx:(int)xxxx -(NSString)uppercase:() 類別方法 給類別的用的方法 建立屬於自己的建構子(constructor) +(void) givemepass 建構子必須要產出東西 像上述這個不回傳的例子 不屬於建構子 下午 屬性是obj-c物件要做nonatomic,strong型別 不屬於的不能做nonatomic property 產生變數 產生getter 產生setter

ap102 2016/4/29 OO implementation

ap102 2016/4/29 OO implementation // Student.m // HelloClass #import "Student.h" @implementation Student -( NSString *)name { return name; } -( void )setname:( NSString *)studentName { name = studentName; } -( int )chineseScore:( int )StudentChineseScore { return StudentChineseScore; } -( int )mathScore:( int )StudentmathScore { return StudentmathScore; } -( void )setChineseScore:( int )score{ chineseScore = score; } @end // Student.h // HelloClass #import <Foundation/Foundation.h> @interface Student : NSObject { //宣告物件變數(instance variable) NSString *name; int chineseScore; int mathScore; } @property ( nonatomic ) int englishScore; -( NSString *)name; -( void )setname:( NSString *)studentName; -( void )setChineseScore:( int )score; //setter -( int )chineseScore; //getter -( int )mathScore; @end // // ViewController.m // HelloClass #import "ViewController.h...

AP102 2016/4/22

Image