swift girls 6th_teaching_meeting20160926
TRANSCRIPT
SWIF T G IRLS ( IOS)PART6
2016 . 0 9 . 2 6
by
Firebase x ChatRoom 最後⼤進擊!
SWIF T G IRLS ( IOS)
Swift Girls aims to give tools for girls and women to build their ideas.
ios Swift
Swift ” “
by
2016 . 0 9 . 2 6
SWIF T G IRLS ( IOS)
( !?XD)
by
debug debug :)
:)
2016 . 0 9 . 2 6
SWIF T G IRLS ( IOS) -PART6
by
1. Github( ), stackOverFlow 2. google 3.
Github: https://github.com/Avonee/swift-girls-meetig_teaching
2016 . 0 9 . 2 6
SWIF T G IRLS ( IOS) -PART6
by
F B L I N E
2016 . 0 9 . 2 6
改變世界
by
2016 . 0 9 . 2 6
START ! ! !
by
2016 . 0 9 . 2 6
by
資料庫(Databases)• Tables
Records RowsFields Columns
• 資料的儲存架構又分為多種類型, 較常⾒的有 4 種:●階層式(Hierarchical Database ) ●網狀式(Network Database ) ●關聯式(Relational Database ) ●物件導向式(Object-Oriented Database )
2016 . 0 9 . 2 6
by
關聯式(Relational Database )• 2 維的矩陣來儲存資料—(將資料儲存在表格的欄、列之中)
• 可從⼀個資料表中的欄位, 透過資料表的關聯, ⽽找到另⼀個資料表中的資料。
• ⽬前市場上是以關聯式資料庫使⽤最廣泛。 Microsoft SQL Server、MySQL、PostgreSQL、Access..., 都是屬於關聯式資料庫管理系統 (Relational DBMS, 縮寫為RDBMS (Relational Database Management System ))。
2016 . 0 9 . 2 6
by
Firebase Realtime Database
Firebase Realtime Database NoSQL
SQL
2 H A S H TA B L E 1 K E Y ) 1 ( VA L U E
K E Y
p.s. SQL
2016 . 0 9 . 2 6
by
Firebase Realtime Database—
…
NoSQL/Key-Value — …
2016 . 0 9 . 2 6
by
FirebaseDocument — Realtime Database
https://firebase.google.com/docs/database/ios/start
2016 . 0 9 . 2 6
by
實作GO !
2016 . 0 9 . 2 6
by
https://firebase.google.com/
Firebase 註冊登⼊&Get Start
2016 . 0 9 . 2 6
by
Firebase 建⽴新專案
2016 . 0 9 . 2 6
by
Firebase 建⽴新專案
2016 . 0 9 . 2 6
by
Firebase 加⼊到iOS設定 2016 . 0 9 . 2 6
by
Firebase 加⼊到iOS設定 2016 . 0 9 . 2 6
by
Firebase 加⼊到iOS設定 2016 . 0 9 . 2 6
by
Firebase 加⼊到iOS設定
$ cd your-project-directory $ pod init $ open -a Xcode Podfile
[ ]— cocoapods
cocoa pods sudo gem install cocoapods
1.2.3.
4.5.
(command+s)
2016 . 0 9 . 2 6
by
Firebase 加⼊到iOS設定 …
2016 . 0 9 . 2 6
by
Firebase 加⼊到iOS設定 2016 . 0 9 . 2 6
by
Firebase 允許權限
true! true!
2016 . 0 9 . 2 6
by
StoryBoard Layout
Text View
2016 . 0 9 . 2 6
by
Install Firebase Database
• import
podFile , install
• class 內宣告databaseReference
2016 . 0 9 . 2 6
by
Database .Write (寫⼊) 2016 . 0 9 . 2 6
by
Database .Read (讀取) Retrieve Data
ViewDidLoad
2016 . 0 9 . 2 6
by
完成了!!!
Home Work ,
Try ~~~ :D
2016 . 0 9 . 2 6
Q&A
by
Swift girls (iOS) https://github.com/Avonee/swift-girls-meetig_teaching
2016 . 0 8 . 2 9