Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
2017 iOS 앱 스터디 1주차 - 프로젝트 생성 및 UI
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
jwk1014
August 12, 2017
Programming
0
150
2017 iOS 앱 스터디 1주차 - 프로젝트 생성 및 UI
시간 : 2017.08.12 (토) 오전 10시 ~ 12시 (2시간)
장소 : 강남역 옐로스톤 스터디룸
참여자 : 5명
jwk1014
August 12, 2017
Tweet
Share
More Decks by jwk1014
See All by jwk1014
2017 iOS 앱 스터디 8주차 - Alamofire Image & Realm
jwk1014
0
240
2017 iOS 앱 스터디 7주차 - Alamofire & Realm
jwk1014
0
110
2017 iOS 앱 스터디 6주차 - ScrollView paging & GCD & 날씨앱준비
jwk1014
0
140
2017 iOS 앱 스터디 5주차 - TableView refresh & ScrollView paging
jwk1014
0
91
2017 iOS 앱 스터디 4주차 - TableView
jwk1014
1
150
2017 iOS 앱스터디 3주차 - CocoaPods & Segue(show) & TableView
jwk1014
0
90
2017 iOS 앱스터디 2주차 - 이미지 & 다이얼로그 & TextField
jwk1014
0
90
2017 수원 안드로이드 라이브러리 스터디 - 안드기초 1/4
jwk1014
0
100
2017 수원 안드로이드 라이브러리 스터디 - 안드기초 2/4
jwk1014
0
180
Other Decks in Programming
See All in Programming
AIと一緒にレガシーに向き合ってみた
nyafunta9858
0
250
今こそ知るべき耐量子計算機暗号(PQC)入門 / PQC: What You Need to Know Now
mackey0225
3
380
なるべく楽してバックエンドに型をつけたい!(楽とは言ってない)
hibiki_cube
0
140
AI巻き込み型コードレビューのススメ
nealle
2
1.4k
ノイジーネイバー問題を解決する 公平なキューイング
occhi
0
110
Best-Practices-for-Cortex-Analyst-and-AI-Agent
ryotaroikeda
1
110
AtCoder Conference 2025
shindannin
0
1.1k
CSC307 Lecture 08
javiergs
PRO
0
670
CSC307 Lecture 05
javiergs
PRO
0
500
15年続くIoTサービスのSREエンジニアが挑む分散トレーシング導入
melonps
2
230
24時間止められないシステムを守る-医療ITにおけるランサムウェア対策の実際
koukimiura
1
130
AI & Enginnering
codelynx
0
120
Featured
See All Featured
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
270
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
1
280
The Power of CSS Pseudo Elements
geoffreycrofte
80
6.2k
Building Better People: How to give real-time feedback that sticks.
wjessup
370
20k
Paper Plane (Part 1)
katiecoart
PRO
0
4.3k
Accessibility Awareness
sabderemane
0
57
The Language of Interfaces
destraynor
162
26k
Mobile First: as difficult as doing things right
swwweet
225
10k
Designing for Timeless Needs
cassininazir
0
130
StorybookのUI Testing Handbookを読んだ
zakiyama
31
6.6k
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
0
400
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
38
2.7k
Transcript
1주차-프로젝트생성및UI iOS Study 2017.08.12(토) ˅ӣਗBMMSJHIUTSFTFSWFE
ࢸ
프로젝트 생성 및 UI 방법 - App Store
프로젝트 생성 및 UI 방법 - Site
۽ં ࢤࢿ
프로젝트 생성 및 UI 프로젝트 생성
프로젝트 생성 및 UI 프로젝트 생성
프로젝트 생성 및 UI 프로젝트 생성
프로젝트 생성 및 UI 프로젝트 생성
۽ં ҳઑ
프로젝트 생성 및 UI 프로젝트 구조 Scene - ೞա ചݶ
StoryBoard(झషܻࠁ٘) - ৈ۞ѐ Scene ѹח ੌ (ۨইਓ ߓস, View২࣌, ചݶ ജ(Segue) ١ী ਊ) ViewController - Swiftېझ۽ ೞա ചݶী োѾغয ٬ оמೞѱ ೣ ೞա Sceneীח ೞա ViewController োѾ ViewControllerח A Sceneী ਊೞҊب B Scene, C Scene١ ܲ Sceneী ࠂ ࢎਊ оמೣ द -BVODI4DSFFO झషܻࠁ٘ .BJO झషܻࠁ٘ .BJO 4DFOF 4DFOF 7JFX$POUSPMMFS জਸ۽٬ೞחزউ -BVODI4DSFFOझషܻࠁ٘4DFOFڸӝ ۽٬աݶ .BJOझషܻࠁ٘ڸӝ .BJOझషܻࠁ٘ 4DFOFইڸӝ 4DFOF 7JFX$POUSPMMFS ࢤݺӝೣٜࣻप೯
프로젝트 생성 및 UI 프로젝트 구조 AppDelegate.swift - জ ࢚క߸ച
(জ द, ऀѹ, աఋթ, ઙܐ ١) ViewController.swift - ചݶਸ ҙܻೞח ېझ (۽ં ࢤࢿ द ചݶ 1ѐо ٜ݅যҊ Ӓ ചݶী োѾ೧ࢲ ઁҕؽ) Main.storyboard - ৈ۞ചݶٜਸ о ੌ ( ੌਸ ৌҊ ചݶ ۨইਓ সਸ ೣ) Assets.xcassets - ಫ؊ (೧࢚ب߹ ਊ) LaunchScreen.storyboard - জ ചݶ ڰӝ ী ڸ ചݶਸ о ੌ (Splash ו՝) Info.plist - ജ҃߸ࣻ ੌ (যࢸ, জ ֎ਕ ࢎਊೲо, জߡ ١ਸ ܚ)
프로젝트 생성 및 UI AppDelegate.swift AppDelegate.swift - জ ࢚క߸ച (জ
द, ऀѹ, աఋթ, ઙܐ ١)
프로젝트 생성 및 UI ViewController.swift ViewController.swift - ചݶਸ ҙܻೞח ېझ
(۽ં ࢤࢿ द ചݶ 1ѐо ٜ݅যҊ Ӓ ചݶী োѾ೧ࢲ ઁҕؽ)
프로젝트 생성 및 UI LaunchScreen.storyboard LaunchScreen.storyboard - জ ചݶ ڰӝ
ী ڸ ചݶਸ о ੌ (Splash ו՝)
프로젝트 생성 및 UI Main.storyboard Main.storyboard - ৈ۞ചݶٜਸ о ੌ
( ੌਸ ৌҊ ചݶ ۨইਓ সਸ ೣ)
프로젝트 생성 및 UI Assets.xcassets Assets.xcassets - ಫ؊ (೧࢚ب߹
ਊ)
프로젝트 생성 및 UI Info.plist Info.plist - ജ҃߸ࣻ ੌ (যࢸ,
জ ֎ਕ ࢎਊೲо, জߡ ١ਸ ܚ)
प೯೧ࠁӝ
프로젝트 생성 및 UI 실행해보기 জ प೯द ڰח ۽٬ചݶэ ചݶ(Scene)ਸ
о storyboard: LaunchScreen ചݶ(Scene)ਸ о storyboard : Main LaunchScreen, Mainਵ۽ ೧ ਬח?? ޖઑѤ Ӓېࢲ(X) Info.plistী ইې৬ э ࠁо ѹযࢲ(O)
프로젝트 생성 및 UI 실행해보기 LaunchScreen.storyboard Main.storyboard ف storyboard ചݶ
উী ܲ ఫझܳ ֍যࠁҊ प೯೧ࠁӝ
프로젝트 생성 및 UI 실행해보기 LaunchScreen.storyboard
프로젝트 생성 및 UI 실행해보기
프로젝트 생성 및 UI 실행해보기 LaunchScreen.storyboard
프로젝트 생성 및 UI 실행해보기 Main.storyboard
프로젝트 생성 및 UI 실행해보기 Main.storyboard
프로젝트 생성 및 UI 실행해보기
프로젝트 생성 및 UI 실행해보기 о࢚ दޯۨఠܳ ਊ೧ о࢚ iOS
ಪী प೯दఃӝ ചݶ ցޖ ݶ Window > Scale > 33%۽ ࢸ
UI (StoryBoard)
프로젝트 생성 및 UI UI (StoryBoard) Main.storyboardܳ ৌݶ ਤ৬ э
ചݶ ա২פ.
프로젝트 생성 및 UI UI (StoryBoard) ചݶ য়ܲଃ ਤ
ߡౡٜਸ ࢎਊೞݶ ৽ଃ,য়ܲଃ,ইې ಁօਸ ײওо ৌо ೡ ࣻ णפ. ߡౡٜ فߣ૩,ࣁߣ૩ Ѫਸ ࢎਊೞݶ فѐ ੌਸ ೞա ചݶীࢲ ࠅ ࣻ חؘ, فߣ૩ ߡౡ݅ दрী UIViewܳ Swift٘߸ࣻ۽ োѾೡ ٸ ࠁৈܻ٘ѷणפ.
프로젝트 생성 및 UI UI (StoryBoard) Main.storyboard ചݶ ৽ଃ
оؘী ח ച(Storyboard Entry Point)о ੌ दചݶਸ ڷೣ
프로젝트 생성 및 UI UI (StoryBoard) ചݶਸ ؊ ୶оೞ۰ݶ ചݶҗ
э য়ܲଃ ইېࠗ࠙ ࣁߣ૩ చਸ ־ܰҊ ViewControllerܳ ٘ېӒೞৈ ചݶী оઉ فݶ ؾפ. (ചݶ ജ दрী)
프로젝트 생성 및 UI UI (StoryBoard) UIButtonਸ ই ٘ېӒ೧ࢲ 2ѐ
֍যࠁӝ
프로젝트 생성 및 UI UI (StoryBoard) ViewControllerܳ ٜ݅ѱ غݶ ӝࠄਵ۽
3оо ѹणפ. ಪ ചݶ ߓఠܻ ࠗ࠙ ߃ଃী ࢶݽনਵ۽ ٜযр Top Layout Guide (ాनࢎ, दр, ৬١ दػ StatusBar աח ࠗ࠙ী ਤפ.) ചݶ ݔ ߃ী ࢶݽনਵ۽ ٜযр Bottom Layout Guide ੋ ചݶੋ View
프로젝트 생성 및 UI UI (StoryBoard) Top Layout Guide View
Bottom Layout Guide
프로젝트 생성 및 UI UI (StoryBoard) View উী ৈ۞оܳ ֍Ҋ
ചݶਸ Բחؘ ࠁా ઝࠁח ઁডઑѤٜਸ ࢎਊפ.
UI (use Constraints)
프로젝트 생성 및 UI UI (use Constraints) width : о۽
height : ࣁ۽ equal width : о۽৬ эѱ equal height : ࣁ۽৬ эѱ aspect ratio : о۽ࣁ۽ ࠺ਯ
프로젝트 생성 및 UI UI (use Constraints) top : ਤ
centerY : оؘ(ࣁ۽, vertical) bottom : ইې
프로젝트 생성 및 UI UI (use Constraints) A.centerY equal B.centerY
A.top equal B.centerY A.top equal B.top A.bottom equal B.top " # OR " # OR " # OR " # OR " # " # " # " #
프로젝트 생성 및 UI UI (use Constraints) leading : ৽ଃ
centerX : оؘ(о۽, horizontal) trailing : য়ܲଃ
프로젝트 생성 및 UI UI (use Constraints) A.centerX equal B.centerX
A.leading equal B.centerX A.trailing equal B.trailing A.trailing equal B.leading " # # " OR " # " # OR " # # " OR " # OR " #
프로젝트 생성 및 UI UI (use Constraints) UIVIewח StoryBoard Viewউী
ߓೡ ٸ ઁডઑѤਵ۽ о۽ਤ, ࣁ۽ਤ, о۽ӡ, ࣁ۽ӡо ഛغযঠפ.
프로젝트 생성 및 UI UI (use Constraints) ٘ېӒܳ ࢎਊ 4ѐ
Auto Layout Tool ࢎਊ(Stack, Align, Pin, Resolve)
프로젝트 생성 및 UI UI (use Constraints) э ࣻળ UIViewՙܻ
ܼ ٘ېӒद Horizontal Spacing A.trailing + @ equal B.leading Vertical Spacing A.bottom + @ equal B.top 5PQ A.top equal B.top $FSUFS7FSUJDBMMZ A.centerY equal B.centerY #BTFMJOF A.baseline equal B.baseline #PUUPN A.bottom equal B.bottom -FBEJOH A.leading equal B.leading $FOUFS)PSJ[POUBMMZ A.centerX equal B.centerX 5SBJMJOH A.trailing equal B.trailing &RVBM8JEUIT A.width equal B.width &RVBM)FJHIUT A.height equal B.height A, B = ܻо ٘ېӒ೧ࢲ ֍ View View = ࠗݽView @ = ୶оч
프로젝트 생성 및 UI UI (use Constraints) UIView৬ ࠗݽView ܼ
٘ېӒद Trailing Space to Container Margin 7JFXMFBEJOH .FRVBM"MFBEJOH 7FSUJDBM4QBDJOHUP 5PQ-BZPVU(VJEF TLG.bottom equal A.top $FSUFS)PSJ[POUBMMZ JO$POUBJOFS 7JFXDFOUFS9FRVBM"DFOUFS9 $FOUFS7FSUJDBMMZ JO$POUBJOFS View.centerY equal A.centerY &RVBM8JEUIT View.width equal A.width &RVBM)FJHIUT View.height equal A.height A = ܻо ٘ېӒ೧ࢲ ֍ View View = ࠗݽView TLG = Top Layout Guide M = ӝࠄ݃
프로젝트 생성 및 UI UI (use Constraints) Leading Space to
Container Margin Trailing Space to Container Margin
프로젝트 생성 및 UI UI (use Constraints) 4ѐ Auto Layout
Tool (Stack, Align, Pin, Resolve)
프로젝트 생성 및 UI UI (use Constraints) Auto Layout Tool
(Align)
프로젝트 생성 및 UI UI (use Constraints) Auto Layout Tool
(Pin)
프로젝트 생성 및 UI UI (use Constraints) Auto Layout Tool
(Resolve)
프로젝트 생성 및 UI UI (use Constraints) ୶оػ ઁডઑѤ ࠁӝ
프로젝트 생성 및 UI UI (use Constraints) ઁডઑѤ ৌযࠁӝ
프로젝트 생성 및 UI UI (use Constraints) ઁডઑѤ ࣻೞӝ(୶оч)
프로젝트 생성 및 UI UI (use Constraints) ઁডઑѤ ࣻೞӝ(࠺ਯч)
프로젝트 생성 및 UI UI (use Constraints) ઁডઑѤ ࣻೞӝ(࠺ਯч)
프로젝트 생성 및 UI UI (use Constraints) ઁ
프로젝트 생성 및 UI UI (use Constraints) ܴ ӝ
프로젝트 생성 및 UI UI (use Constraints) ܴ ӝ
프로젝트 생성 및 UI UI (use Constraints) ಪઙܨٜ ߂ ഥ
Top Layout Guide View Bottom Layout Guide
프로젝트 생성 및 UI UI (use Constraints) Compact / Regular
프로젝트 생성 및 UI UI (use Constraints) ઁ৻ೠ Ѫٜ ࠗ١ഐ,
ࢶࣽਤ
UIView (UILabel, UIButton, UITextEdit)
프로젝트 생성 및 UI UIView UILabelҗ UITextEdit৬ UIButtonਸ 1:1:1ࣁ۽ߓ
프로젝트 생성 및 UI UIView UILabelҗ UITextEdit৬ UIButtonਸ 1:1:1ࣁ۽ߓ
프로젝트 생성 및 UI UIView ViewController.swiftܳ splitਵ۽ ڸӝ
프로젝트 생성 및 UI UIView ViewController.swift ੌױ ӝࠄز ೧ܳ ਤ೧
࠙р ࢤݺӝ ೣࣻ viewDidLoad݅ ࢎਊೞѷणפ.
프로젝트 생성 및 UI UIView ߸ࣻোѾ
프로젝트 생성 및 UI UIView ߸ࣻোѾ
프로젝트 생성 및 UI UIView ߸ࣻোѾ
프로젝트 생성 및 UI UIView Labelч оઉয়ח ۽Ӓڸਕࠁӝ
프로젝트 생성 및 UI UIView UIButton ܼ߮োѾ
프로젝트 생성 및 UI UIView UIButton ܼ߮োѾ
프로젝트 생성 및 UI UIView UIButton ܼ߮োѾ
프로젝트 생성 및 UI UIView ܼद TextEdit ੑ۱ч оઉ৬ UILabelী
ਊ೧ࠁӝ TextEditܳ ߸ࣻ۽ োѾ onClickೣࣻীࢲ TextEdit ੑ۱ чਸ ԁղ UILable textী ੑ
프로젝트 생성 및 UI 다음시간에는 1. (15࠙ ࢚) UIImageView(
with Assets, File ) 2. ࠂण (4ߣਸ ਤೠ ࠂण) (30࠙ ࢚) оੑ ಬ ഋध ചݶ ٜ݅ӝ(पण) ױ҅ 1 : UILabel, UITextEdit, UIButton ߓ (ID, PW, PWഛੋ, ܴ) ױ҅ 2 : ېझ۽ োѾ(UIView߸ࣻ, ߮ೣࣻ) ױ҅ 3 : ߡౡ ׂۥਸ ٸ ۽Ӓ۽ UITextEditчٜ ࠗ ڸਕࠁӝ 3. ۽Ӓହ (10࠙ ࢚) Dialog(AlertController, ഛੋ/ஂࣗ рױೠ ࣻળ) 4. ఃಁ٘ ܖӝ (20࠙ ࢚) ੑ۱೦ݾ ਵ۽ ನழय(FirstResponder), ৈߔ ఠद ఃಁ٘ ײӝ