swift girls to_codeforgender20171111

78
2017.11.11 by Swift girls (iOS) 4 Chat room DIY

Upload: -

Post on 29-Jan-2018

122 views

Category:

Software


3 download

TRANSCRIPT

  1. 1. 2 0 1 7 . 1 1 . 1 1 by Swift girls (iOS) 4 Chat room DIY
  2. 2. S W I F T G I R L S ( I O S) Swift Girls aims to give tools for girls and women to build their ideas. iosSwift Swift by 2 0 1 7 . 1 1 . 1 1
  3. 3. S W I F T G I R L S ( I O S) (!?XD) by debug debug :) :) 2 0 1 7 . 1 1 . 1 1
  4. 4. S W I F T G I R L S ( I O S) ... , , , by :) 2 0 1 7 . 1 1 . 1 1
  5. 5. S W I F T G I R L S ( I O S) ... ... by http://kanema.pixnet.net/blog/post/33866276-150905- 2 0 1 7 . 1 1 . 1 1
  6. 6. by 1. Github(), stackOverFlow 2. google 3. Github: https://github.com/Avonee/swift-girls-meetig_teachin 2 0 1 7 . 1 1 . 1 1 S W I F T G I R L S ( I O S)
  7. 7. S W I F T G I R L S ( I O S) by A. B. ,GO!!!2 0 1 7 . 1 1 . 1 1
  8. 8. by 2 0 1 7 . 1 1 . 1 1
  9. 9. OU R G OA L by git hub https://github.com/Avonee/swift-girls-meetig_teaching2 0 1 7 . 1 1 . 1 1
  10. 10. P RO C E S S by View Controller View Controller.swift connect 2 0 1 7 . 1 1 . 1 1
  11. 11. by View Controller View Controller.swift > connect IB = Interface Builder 2 0 1 7 . 1 1 . 1 1
  12. 12. S TA R T ! ! ! by 2 0 1 7 . 1 1 . 1 1
  13. 13. 1 : by 2 0 1 7 . 1 1 . 1 1
  14. 14. by 1 : ex: aa > Who are you... IIm sorry~XD ex: name -> Who are you I...im~XD 2 0 1 7 . 1 1 . 1 1
  15. 15. by 1 : let- let name:String = Swift girls -> Swift girls var name:String = Swift girls name = Avon ->Avon var- 2 0 1 7 . 1 1 . 1 1
  16. 16. by 1 : let- let name = Swift girls > Swift girls var name = Swift girls name = Avon >Avon var- var email = >String 2 0 1 7 . 1 1 . 1 1
  17. 17. 1 : by 2 0 1 7 . 1 1 . 1 1 1 2 3 1 2 3
  18. 18. 2 : by 2 0 1 7 . 1 1 . 1 1
  19. 19. by 2 : 2 0 1 7 . 1 1 . 1 1
  20. 20. by R E A DY G O ! ! ! 2 0 1 7 . 1 1 . 1 1
  21. 21. by xcode & iPhone >/////< 2 0 1 7 . 1 1 . 1 1
  22. 22. by x issue add Apple ID account 2 0 1 7 . 1 1 . 1 1
  23. 23. by xcode > preferences 2 0 1 7 . 1 1 . 1 1
  24. 24. by view Detail 2 0 1 7 . 1 1 . 1 1
  25. 25. by create "IOS Development app > > Apple ID > 2 0 1 7 . 1 1 . 1 1
  26. 26. Q & A by 2 0 1 7 . 1 1 . 1 1
  27. 27. C A M E R A G O ! ! ! by 2 0 1 7 . 1 1 . 1 1
  28. 28. by C A M E R A 2 0 1 7 . 1 1 . 1 1
  29. 29. by info.plist Error: This app has crashed because it attempted to access privacy- sensitive data without a usage description. Info.plist must contain an NSCameraUsageDescription key with a string value 2 0 1 7 . 1 1 . 1 1
  30. 30. by info.plist Xcode9 iOS11 2 0 1 7 . 1 1 . 1 1
  31. 31. UIImagePickerController sourceType: UIImagePickerControllerSourceType camera - photoLibrary - or (Default) ex: Photos savedPhotoAlbum - ex: Moments delegate: UIImagePickerControllerDelegate UINavigationControllerDelegate by 2 0 1 7 . 1 1 . 1 1
  32. 32. Camera-1/4 by import framework 2 0 1 7 . 1 1 . 1 1
  33. 33. by Camera-2/4 2 0 1 7 . 1 1 . 1 1
  34. 34. by Camera-3/4 2 0 1 7 . 1 1 . 1 1
  35. 35. by Camera-4/4 2 0 1 7 . 1 1 . 1 1
  36. 36. by Firebase x chat room 2 0 1 7 . 1 1 . 1 1
  37. 37. by Firebase Firebase Realtime Database iOS, Android, Web FirebaseAPI Googleex: ... https://tw.alphacamp.co/2016/07/22/firebase/ 2 0 1 7 . 1 1 . 1 1
  38. 38. by https://firebase.google.com/ Firebase 2 0 1 7 . 1 1 . 1 1
  39. 39. by CocoaPods Carthage Manually 2 0 1 7 . 1 1 . 1 1
  40. 40. by CocoaPods https://cocoapods.org CocoaPods $ sudo gem install cocoapods pod$ pod init 2 0 1 7 . 1 1 . 1 1
  41. 41. by CocoaPods Podle$ nano Podle(Podle) pod 'Firebase/Core' pod 'JSQMessagesViewController' pod (Xcode)$ pod install 2 0 1 7 . 1 1 . 1 1
  42. 42. by JSQMessagesViewController GitHubhttps://github.com/jessesquires/JSQMessagesViewController https://github.com/rebase/ios-swift-chat-example 2 0 1 7 . 1 1 . 1 1
  43. 43. -rebase 2 0 1 7 . 1 1 . 1 1
  44. 44. by -AppDelegate import Firebase didFinishLaunchingWithOptionsFirebase FirebaseApp.congure( ) 2 0 1 7 . 1 1 . 1 1
  45. 45. by - Storyboard UI, UITextView, UITextField, UIButton ViewControllerimport FirebaseclassUITextFieldDelegate2 0 1 7 . 1 1 . 1 1
  46. 46. by -code 2 0 1 7 . 1 1 . 1 1
  47. 47. by 2 0 1 7 . 1 1 . 1 1 -code
  48. 48. by 2 0 1 7 . 1 1 . 1 1 -code
  49. 49. by 2 0 1 7 . 1 1 . 1 1
  50. 50. by - Storyboard UI, UITextView, UITextField, UIButton ViewController import Firebaseimport JSQMessagesViewControllerclassJSQMessagesViewControllerUI 2 0 1 7 . 1 1 . 1 1
  51. 51. by - 2 0 1 7 . 1 1 . 1 1
  52. 52. by 2 0 1 7 . 1 1 . 1 1
  53. 53. by P L AY G ROU N D R E A DY G O ! ! ! 2 0 1 7 . 1 1 . 1 1
  54. 54. Conditional StatementsIf(ifelse)Switch(switchcase) For-In Loops While Loops Play ground 2 0 1 7 . 1 1 . 1 1
  55. 55. by 1 : C O N D I T I O N A L S TAT E M E N T S 2 0 1 7 . 1 1 . 1 1
  56. 56. by 1 : C O N D I T I O N A L S TAT E M E N T S If (ifelse) Switch (switchcase) & & 2 0 1 7 . 1 1 . 1 1
  57. 57. by 1 : C O N D I T I O N A L S TAT E M E N T S If (ifelse) & 2 0 1 7 . 1 1 . 1 1
  58. 58. by 1 : C O N D I T I O N A L S TAT E M E N T S If (ifelse) & 2 0 1 7 . 1 1 . 1 1
  59. 59. by 1 : C O N D I T I O N A L S TAT E M E N T S If (ifelse) & () else if 2 0 1 7 . 1 1 . 1 1
  60. 60. by 1 : C O N D I T I O N A L S TAT E M E N T S If (ifelse) & 48, 2 0 1 7 . 1 1 . 1 1
  61. 61. by 1 : C O N D I T I O N A L S TAT E M E N T S Switch (switchcase) & https://developer.apple.com/library/ios/documentation/Swift/Conceptual/Swift_Programming_Language/ControlFlow.html#// apple_ref/doc/uid/TP40014097-CH9-ID120 2 0 1 7 . 1 1 . 1 1
  62. 62. by 1 : C O N D I T I O N A L S TAT E M E N T S Switch (switchcase) & 2 0 1 7 . 1 1 . 1 1
  63. 63. by 1 : C O N D I T I O N A L S TAT E M E N T S Switch (switchcase) & https://developer.apple.com/library/ios/documentation/Swift/Conceptual/Swift_Programming_Language/ControlFlow.html#// apple_ref/doc/uid/TP40014097-CH9-ID120 2 0 1 7 . 1 1 . 1 1
  64. 64. by 1 : C O N D I T I O N A L S TAT E M E N T S Switch (switchcase) & 2 0 1 7 . 1 1 . 1 1
  65. 65. by 1 : C O N D I T I O N A L S TAT E M E N T S Switch (switchcase) & where : where https://developer.apple.com/library/ios/documentation/Swift/Conceptual/Swift_Programming_Language/ControlFlow.html#// apple_ref/doc/uid/TP40014097-CH9-ID120 2 0 1 7 . 1 1 . 1 1
  66. 66. by 1 : C O N D I T I O N A L S TAT E M E N T S temperature? score(90up,80~90,70~80)..? height? 2 0 1 7 . 1 1 . 1 1
  67. 67. 2 : F O R- I N LO O P S by 2 0 1 7 . 1 1 . 1 1
  68. 68. by 2 : F O R- I N LO O P S https://developer.apple.com/library/ios/documentation/Swift/Conceptual/Swift_Programming_Language/ControlFlow.html#// apple_ref/doc/uid/TP40014097-CH9-ID120 1. () 1~5 2. * 3. print(()) 2 0 1 7 . 1 1 . 1 1
  69. 69. by 2 : F O R- I N LO O P S https://developer.apple.com/library/ios/documentation/Swift/Conceptual/Swift_Programming_Language/ControlFlow.html#// apple_ref/doc/uid/TP40014097-CH9-ID120 1. [ ,,,] array 2. print(()) 2 0 1 7 . 1 1 . 1 1
  70. 70. by 2 : F O R- I N LO O P S https://developer.apple.com/library/ios/documentation/Swift/Conceptual/Swift_Programming_Language/ControlFlow.html#// apple_ref/doc/uid/TP40014097-CH9-ID120 1. [ ,,,],key,valuedictionary 2. print(()) 3. for 2 0 1 7 . 1 1 . 1 1
  71. 71. by 2 : F O R- I N LO O P S 5++15=? 200+ +300 = ? 2 0 1 7 . 1 1 . 1 1
  72. 72. 3 : W H I L E LO O P S by 2 0 1 7 . 1 1 . 1 1
  73. 73. by 3 : W H I L E LO O P S while { } repeat { }while https://developer.apple.com/library/ios/documentation/Swift/Conceptual/Swift_Programming_Language/ControlFlow.html#// apple_ref/doc/uid/TP40014097-CH9-ID120 2 0 1 7 . 1 1 . 1 1
  74. 74. by 3 : W H I L E LO O P S while { } https://developer.apple.com/library/ios/documentation/Swift/Conceptual/Swift_Programming_Language/ControlFlow.html#// apple_ref/doc/uid/TP40014097-CH9-ID120 while 30{ ... } 2 0 1 7 . 1 1 . 1 1
  75. 75. by 3 : W H I L E LO O P S repeat { }while https://developer.apple.com/library/ios/documentation/Swift/Conceptual/Swift_Programming_Language/ControlFlow.html#// apple_ref/doc/uid/TP40014097-CH9-ID120 repeat { }while 30 30 2 0 1 7 . 1 1 . 1 1
  76. 76. P L AY G ROU N D WO W by Game orGif XD 2 0 1 7 . 1 1 . 1 1
  77. 77. P L AY G ROU N D WO W by Gif named 2 0 1 7 . 1 1 . 1 1
  78. 78. Q & A by 2 0 1 7 . 1 1 . 1 1