728x90

๐Ÿ“ฑ App Development Study 63

[Android] AVD ์— apk ์„ค์น˜ํ•˜๊ธฐ ( window, mac, Linux )

Android Virtual Device์— apk ๋ฅผ ์„ค์น˜ํ•˜๋Š” ๋ฐฉ๋ฒ•์€ ์•„๋ž˜์™€ ๊ฐ™๋‹ค. ์ฆ‰, adb ๋กœ ์„ค์น˜๊ฐ€๋Šฅํ•˜๋‹ค. https://stackoverflow.com/questions/3480201/how-do-you-install-an-apk-file-in-the-android-emulator How do you install an APK file in the Android emulator? I finally managed to obfuscate my Android application, now I want to test it by installing the APK file and running it on the emulator. How can I install an APK f... stackoverflow..

[Udemy iOS & Swift Bootcamp] App Design

[Colour Palette] *Colour Moods 1) Red: ์‚ฌ๋ž‘, ์—๋„ˆ์ง€, ๊ฐ•๋„. ex) ์ž๋™์ฐจ, ํŒ๋งค๊ด‘๊ณ  2) Yellow: ๊ธฐ์จ, ํ–‰๋ณต, ์ง€์„ฑ, ๊ด€์‹ฌ๋Œ๊ธฐ. ex) ํ”„๋กœํ‹ด์‰์ดํฌ 3) Green: ์‹ ์„ ํ•จ, ์•ˆ์ •์„ฑ, ์„ฑ์žฅ. ex) ์‹ํ’ˆ ๋ธŒ๋žœ๋“œ 4) Blue: ์•ˆ์ •, ์‹ ๋ขฐ, ํ‰์˜จ ex) ์˜ํ•™, ๋ณด๊ฑด 5) Purple: ์™•์กฑ, ๋ถ€, ์—ฌ์„ฑ์„ฑ ex) ๋‹จ๊ธฐ์†Œ์•ก๋Œ€์ถœ์—…์ฒด *Colour Mattching ์š”์ฆ˜์—” ๋น„์Šทํ•œ ์ƒ‰์œผ๋กœ ์„ž๋Š” Monochromatic ์ด ์œ ํ–‰์ด๊ณ  ์„ธ๋ จ๋œ ๋Š๋‚Œ์„ ์คŒ. *Colour Design Tools https://colorhunt.co/ Color Palettes for Designers and Artists - Color Hunt Discover the newest hand-pick..

[Udemy iOS & Swift Bootcamp] Swift Structures, Access Levels, Tuples

* Structures vs Classes 1) Struct ๊ธฐ๋ณธ๊ตฌ์กฐ struct MyStruct { var aProperty: String func aMethod() { // Do Something } } 2) struct ์™€ calss ๊ณตํ†ต์ ๊ณผ ์ฐจ์ด์  struct class ๊ณตํ†ต์  ์ด๋ฆ„ ๋Œ€๋ฌธ์ž๋กœ ์‹œ์ž‘. ์†์„ฑ๊ณผ ๋ฉ”์„œ๋“œ๋ฅผ ๊ฐ€์งˆ ์ˆ˜ ์žˆ์Œ. ์ฐจ์ด์  ์ƒ์†๋ฐ›๊ธฐ ์•ˆ๋จ stack ์— ์ €์žฅ (๊ฐ€์žฅ ์ตœ๊ทผ ๋ฐ์ดํ„ฐ์— ๋น ๋ฅด๊ฒŒ ์ ‘๊ทผ ๊ฐ€๋Šฅ) vlaue ํ˜•์‹(๊ฐ’์ด ๋ณต์‚ฌ๋จ) ์ƒ์†๋ฐ›๊ธฐ ๋จ Heap ์— ์ €์žฅ (์ฐธ์กฐ๋ฅผ ์ด์šฉํ•ด์„œ ๊ฐ’์„ ์ฐพ์Œ) reference ํ˜•์‹(์ฃผ์†Œ๊ฐ€ ๋ณต์‚ฌ๋จ) ํœด๋Œ€ํฐ์€ ์ ‘๊ทผ์ด ์‰ฌ์šด ๊ฐ€๋ฒผ์šด RAM ๋ฉ”๋ชจ๋ฆฌ์— Stack, Heap ์ž๋ฃŒ๊ตฌ์กฐ๋กœ ๋ฐ์ดํ„ฐ๋ฅผ ์ €์žฅํ•จ. 3) ์˜ˆ์‹œ์ฝ”๋“œ ClassHero ํด๋ž˜์Šค์™€ StructHero ๊ตฌ์กฐ..

[Udemy iOS & Swift Bootcamp] Advanced Swift (Swift Structures, Internal/External Parameters, Access Levels, Tuples)

๊ณ„์‚ฐ๊ธฐ ์•ฑ์„ ๋งŒ๋“ค๋ฉด์„œ Advanced Swift ๋ฅผ ๋ฐฐ์›Œ๋ณด์ž. 1. ๋จผ์ € ์•„๋ž˜ ๋งํฌ์—์„œ Skeleton Project ๋ฅผ ๋‹ค์šด๋ฐ›์•„์ฃผ์ž. https://github.com/appbrewery/Calculator-Advanced-Swift-iOS13 GitHub - appbrewery/Calculator-Advanced-Swift-iOS13: Learn to Code While Building Apps - The Complete iOS Development Bootcamp Learn to Code While Building Apps - The Complete iOS Development Bootcamp - GitHub - appbrewery/Calculator-Advanced-Swift-iOS13: Lear..

[Udemy iOS & Swift Bootcamp] Advanced Swift Properties (Computed/Observed Properties)

1. Computed Properties : ๊ฐ’์ด ๊ณ„์† ๊ฐฑ์‹ ๋˜๋Š” ์†์„ฑ Pizza Inch ์— ๋”ฐ๋ผ Slice ์˜ ๊ฐœ์ˆ˜๋ฅผ ์•Œ์•„๋ณด์ž. Pizza Inch ๊ฐ€ ์ฃผ์–ด์กŒ์„ ๋•Œ Inch - 4 ๋ฅผ ํ•˜๋ฉด Slice ๊ฐœ์ˆ˜๋ฅผ ์•Œ ์ˆ˜ ์žˆ๋‹ค. import Foundation let pizzaInInches: Int = 10 var nunberOfSlices: Int = 6 print(pizzaInInches) ์ด๋ฅผ ์ง์ ‘ ๋ณ€์ˆ˜์•ˆ์— ๊ฐ’์„ ์ง€์ •ํ•ด์„œ ๋„ฃ๋Š” ๋ฐฉ๋ฒ•์€ ์œ„์™€ ๊ฐ™๋‹ค. ์ด์™ธ์— Slice ๊ฐœ์ˆ˜๋ฅผ ๊ตฌํ•˜๋Š” ํ•จ์ˆ˜๋ฅผ ๋งŒ๋“ค์–ด์„œ ๋ฐ˜ํ™˜ํ•  ์ˆ˜๋„ ์žˆ๋‹ค. import Foundation let pizzaInInches: Int = 10 var nunberOfSlices: Int { return pizzaInInches - 4 } print(pi..

[Udemy iOS & Swift Bootcamp] Todo App(Local Data Persistance)

Local ์— ๋ฐ์ดํ„ฐ๊ฐ€ ์ €์žฅ๋˜๋Š” ToDo List ์•ฑ์„ ๋งŒ๋“ค์–ด๋ณด์ž. 1. Project Clone GitHub - appbrewery/Todoey-iOS13: Learn to Code While Building Apps - The Complete iOS Development Bootcamp Learn to Code While Building Apps - The Complete iOS Development Bootcamp - GitHub - appbrewery/Todoey-iOS13: Learn to Code While Building Apps - The Complete iOS Development Bootcamp github.com 2. Table View Controller ๋งŒ๋“ค๊ธฐ Table View ..

[Udemy iOS & Swift Bootcamp] Project Catalyst

macOS app ์€ AppKit ๋ฅผ ์‚ฌ์šฉํ•˜๊ณ  iOS app ์€ UIKit ๋ฅผ ์‚ฌ์šฉํ•œ๋‹ค. ๊ทผ๋ฐ apple์ด 2019๋…„ MacOS 10.15 ์นดํƒˆ๋ฆฌ๋‚˜(Catalina) ๋ฅผ ๋ฐœํ‘œํ•˜๋ฉด์„œ macOS ์—๋„ UIKit ๋ฅผ ๊ฐ€์ ธ์™€์„œ MacOS app ์„ ๋งŒ๋“ค ์ˆ˜ ์žˆ๊ฒŒ ํ•˜๋Š”Xcode ๊ธฐ๋Šฅ์„ ๋ฐœํ‘œํ–ˆ๋‹ค. ๋‹จ์ง€ ์ฒดํฌ๋ฐ•์Šค ํ•˜๋‚˜๋งŒ์œผ๋กœ! 1. iOS ํ”„๋กœ์ ํŠธ๋ฅผ ์—ด์–ด์„œ ํ”„๋กœ์ ํŠธ ์•„์ด์ฝ˜ ํด๋ฆญ ํ›„ ์•ฑ ์„ค์ •์œผ๋กœ ์ด๋™. 2. App ์„ค์ •์—์„œ Deployment Info > Mac Catalyst ์ฒดํฌ ! 3) apple id ๋กœ๊ทธ์ธ ๋ฐ Team ์„ ํƒ 4) ์œ„์— target ์ด Mac ์œผ๋กœ ๋ฐ”๋€ ๊ฒƒ ํ™•์ธ. 5) ์ฃผ์˜์‚ฌํ•ญ. macOS ํƒ€๊ฒŸ ๋ฒ„์ „์ด ์ปดํ“จํ„ฐ macOS ๋ฒ„์ „๋ณด๋‹ค ๋†’์œผ๋ฉด ๋นŒ๋“œ๊ฐ€ ์•ˆ๋œ๋‹ค. ๊ทผ๋ฐ ๋‚œ Big Sur(11.6)์— 11.5๋กœ..

[Udemy iOS & Swift Bootcamp] SwiftUI Layout Design - Spacers, Subviews (SwiftUI ๋กœ ๊ธฐ๋Šฅ์ด ์žˆ๋Š” ์•ฑ ๋งŒ๋“ค๊ธฐ)

๊ธฐ์กด์— ๋งŒ๋“ค์—ˆ๋˜ Dice ์•ฑ์„ SwiftUI ๋ฅผ ํ™œ์šฉํ•ด์„œ ๋‹ค์‹œ ๋งŒ๋“ค์–ด๋ณด์ž. 1. ์ด๋ฏธ์ง€ Asset ์ถ”๊ฐ€ https://drive.google.com/uc?export=download&id=1IubA1ewlMRNRh9JKDAT4DY4fMbZONX9j image asset์„ ๋‹ค์šด๋ฐ›์•„์„œ Assets ํŒŒ์ผ์— import ํ•ด์ค€๋‹ค. ๊ฐ ๋‹จ๋ง๊ธฐ์— ๋งž๊ฒŒ ์•Œ์•„์„œ ๋งž์ถฐ ๋“ค์–ด๊ฐ€ ์žˆ๋Š” image ๋“ค... 2. ๋ฐฐ๊ฒฝ ์ด๋ฏธ์ง€ ์ถ”๊ฐ€ํ•˜๊ธฐ 1) ContentView ์˜ ์ดˆ๊ธฐ ๋ชจ์Šต์— ๋ฐฐ๊ฒฝ image ์ฝ”๋“œ ์ถ”๊ฐ€ํ•˜๊ธฐ. import SwiftUI struct ContentView: View { var body: some View { Text("Hello, world!") .padding() } } struct ContentView_Previ..

[Udemy iOS & Swift Bootcamp] H4XOR News(List, ObservedObject, WKWebView)

Algolia Search's API ๋ฅผ ์ด์šฉํ•ด์„œ Hacker News ์‚ฌ์ดํŠธ์˜ ๋ฐ์ดํ„ฐ๋ฅผ iOS ์•ฑ์—์„œ ๋ฆฌ์ŠคํŠธ์™€ ์›น๋ทฐ๋กœ ๋ณด์—ฌ์ฃผ์ž. [Hacker News ์‚ฌ์ดํŠธ] https://news.ycombinator.com/ Hacker News news.ycombinator.com [Algolia Search's API] https://hn.algolia.com/api HN Search powered by Algolia Hacker News Search, millions articles and comments at your fingertips. hn.algolia.com 1. Project ์ƒ์„ฑ H4XOR News ๋ผ๋Š” ์ด๋ฆ„์œผ๋กœ iOS ํ”„๋กœ์ ํŠธ๋ฅผ ์ƒ์„ฑํ•ด์ฃผ์ž. SwiftUI ๋กœ ๋งŒ๋“ค ๊ฒƒ์ด๋‹ค. import Swif..

[Udemy iOS & Swift Bootcamp] Complex Designs and Layouts using SwiftUI

SwiftUI๋กœ ์ข€ ๋” ๋ณต์žกํ•œ ๋””์ž์ธ์€ ์–ด๋–ป๊ฒŒ ๋งŒ๋“ค๊นŒ? 1. background color ์ง€์ •ํ•˜๊ธฐ import SwiftUI struct ContentView: View { var body: some View { ZStack { Color(red: 1.00, green: 0.69, blue: 0.25) .edgesIgnoringSafeArea(.all) Text("Hello, world!") .padding() } } } struct ContentView_Previews: PreviewProvider { static var previews: some View { ContentView() } } Zstack ์œผ๋กœ ์Œ“๋„๋ก ํ•ด์ฃผ๊ณ , ๋งจ ๋ฐ‘์— Color๋ฅผ ๊น”์•„์ค€๋‹ค. Xcode ์—์„œ ์ œ๊ณตํ•˜๋Š” ์ƒ‰์ด ๋ง˜์— ์•ˆ๋“ค๋ฉด ..

728x90