본문 바로가기

IOS

(11)
5. IOS - Swift UI Covid App github.com/ParkJinhui/Sample-IOS-Covid ParkJinhui/Sample-IOS-Covid Contribute to ParkJinhui/Sample-IOS-Covid development by creating an account on GitHub. github.com rapidapi.com/ RapidAPI - The Next Generation API Platform Use RapidAPI to Find, Connect, & Share 1000s of APIs using our Multi-cloud platform. Improve Developer Experience with API Design, Testing, Monitoring, & More! rapidapi.com P..
3. IOS 강의 Enroute Picker, Core Data www.youtube.com/watch?v=fCfC6m7XUew&feature=youtu.be www.youtube.com/watch?v=yOhyOpXvaec&feature=youtu.be 소스 FilterFlights.swift import SwiftUI struct FilterFlights: View { @FetchRequest(fetchRequest: Airport.fetchRequest(.all)) var airports: FetchedResults @FetchRequest(fetchRequest: Airline.fetchRequest(.all)) var airlines: FetchedResults @Binding var flightSearch: FlightSearch @Binding var is..
3. IOS 강의 Data Flow, Modal Presentation and Navigation www.youtube.com/watch?v=0i152oA3T3s&feature=youtu.be www.youtube.com/watch?v=CKexGQuIO7E&feature=youtu.be @Binding @EnvironmentObject @Environment TextField Form zIndex @EnvironmentObject @EnvironmentObject 소스 EmojiArtDocumentStore.swift import SwiftUI import Combine class EmojiArtDocumentStore: ObservableObject { let name: String func name(for document: EmojiArtDocument) -> String { if document..
3. IOS 강의 Gestures JSON www.youtube.com/watch?v=mz-rNLWJ0bk 소스 EmojiArt.swift // // EmojiArt.swift // EmojiArt // // Created by user on 2021/01/18. // Copyright © 2021 CS193p Instructor. All rights reserved. // import Foundation struct EmojiArt: Codable { var backgroundURL: URL? var emojis = [Emoji]() struct Emoji: Identifiable, Codable, Hashable { let text: String var x: Int var y: Int var size: Int let id: Int filepr..
3. IOS 강의 Multithreading EmojiArt www.youtube.com/watch?v=tmx-OwkBWxA 소스 EmojiArt.swift // // EmojiArt.swift // EmojiArt // // Created by user on 2021/01/18. // Copyright © 2021 CS193p Instructor. All rights reserved. // import Foundation struct EmojiArt { var backgroundURL: URL? var emojis = [Emoji]() struct Emoji: Identifiable { let text: String var x: Int var y: Int var size: Int let id: Int fileprivate init(text: String, x: ..
3. IOS 강의 Animation www.youtube.com/watch?v=3krC2c56ceQ 소스 GridLayout.swfit // // GridLayout.swift // Memorize // // Created by CS193p Instructor. // Copyright © 2020 Stanford University. All rights reserved. // import SwiftUI struct GridLayout { private(set) var size: CGSize private(set) var rowCount: Int = 0 private(set) var columnCount: Int = 0 init(itemCount: Int, nearAspectRatio desiredAspectRatio: Double = 1,..
3. IOS 강의 ViewBuilder Shape ViewModifier www.youtube.com/watch?v=oDKDGCRdSHc 소스 GridLayout.swift // // GridLayout.swift // Memorize // // Created by CS193p Instructor. // Copyright © 2020 Stanford University. All rights reserved. // import SwiftUI struct GridLayout { private(set) var size: CGSize private(set) var rowCount: Int = 0 private(set) var columnCount: Int = 0 init(itemCount: Int, nearAspectRatio desiredAspectRatio: Double = 1,..
3. IOS 강의 Grid enum Optionals www.youtube.com/watch?v=eHEeWzFP6O4&list=PLpGHT1n4-mAtTj9oywMWoBx0dCGd51_yG&index=4 소스 EmojiMemoryGameView.swift // // ContentView.swift // Memorize // // Created by user on 2021/01/15. // import SwiftUI struct EmojiMemoryGameView: View { @ObservedObject var viewModel: EmojiMemoryGame var body: some View { Grid(viewModel.cards) { card in CardView(card: card).onTapGesture { viewModel.choose(card:..