전체 글
-
[SwiftUI] 8. Interfacing with UIKit [마지막]iOS Dev/SwiftUI 2023. 5. 11. 01:41
SwiftUI로 이루어진 뷰에 UIKit 요소를 적용시킬 수 있을까? 이번 튜토리얼에서는 UIKit 요소를 어떻게 활용할 수 있는지를 알아본다. Section 1. Create a View to Represent a UIPageViewController UIView 요소를 사용하고 싶다면 UIViewRepresentable을, UIViewController 요소를 사용하고 싶다면 UIViewControllerRepresentable 프로토콜을 채택해야 한다. Views 그룹에 PageView 라는 이름의 그룹을 만들고, 그 안에 PageViewController.swift 파일을 만든다. 다음과 같은 내용으로 채워준다. import SwiftUI import UIKit struct PageViewCont..
-
WWDC23 Swift Student Challenge 참가 후기iOS Dev/WWDC23 2023. 5. 9. 00:50
https://developer.apple.com/kr/wwdc23/swift-student-challenge/ WWDC23 Swift Student Challenge Showcase your love of coding by submitting your app playground to the Swift Student Challenge by April 19. developer.apple.com 매년 열리는 WWDC의 스페셜 이벤트, Swift Student Challenge이다.(이하 SSC) 이게 있는지 이번에 처음 알았다. 3월 30일에 wwdc가 열린다는 소식을 보고, 들어가서 봤는데 우연히 챌린지를 접하게 되었다. 조금 찾아보니 매년 하고 있었는데, 작년에 애플 디벨로퍼 아카데미 1기에서 우승자를 ..
-
[Tuist] Tuist를 활용하여 SwiftUI 클린 아키텍쳐를 적용한 모듈로 나눈 후 Github에 업로드 하기 2탄!iOS Dev 2023. 5. 7. 01:04
1탄 : https://sunrinnote.tistory.com/172 [Tuist] Tuist를 활용하여 SwiftUI 클린 아키텍쳐를 적용한 모듈로 나눈 후 Github에 업로드 하기 Tuist라는 툴이 있다. 모듈화, 패키지 의존 관리, 타겟 관리 등등을 지원해준다고 한다. Tuist 자체를 소개해주는 블로그는 많이 있으니 건너뛴다. https://nsios.tistory.com/183 https://nsios.tistory.com/195 목표 sunrinnote.tistory.com 자동완성이 안되는 이유를 알았다. 그것은.. public을 안줘서..ㅠ tuist edit으로 edit 페이지에 들어간 다음 Tuist/ProjectDescriptionHelpers/Project+Templates 코..
-
[SwiftUI] 7. Working with UI ControlsiOS Dev/SwiftUI 2023. 5. 6. 23:44
https://developer.apple.com/tutorials/swiftui/working-with-ui-controls Working with UI Controls | Apple Developer Documentation In the Landmarks app, users can create a profile to express their personality. To give users the ability to change their profile, you’ll add an edit mode and design the preferences screen. developer.apple.com 이제 UI Control 요소들과 어떻게 상호작용하는지 알아보자. Section 1. Display a Use..
-
[SwiftUI] 6. Composing Complex InterfacesiOS Dev/SwiftUI 2023. 5. 4. 01:50
https://developer.apple.com/tutorials/swiftui/composing-complex-interfaces Composing Complex Interfaces | Apple Developer Documentation The category view for Landmarks shows a vertically scrolling list of horizontally scrolling landmarks. As you build this view and connect it to your existing views, you’ll explore how composed views can adapt to different device sizes and orientations. developer..
-
[SwiftUI] 5. Animating Views and TransitionsiOS Dev/SwiftUI 2023. 5. 4. 00:47
https://developer.apple.com/tutorials/swiftui/animating-views-and-transitions Animating Views and Transitions | Apple Developer Documentation When using SwiftUI, you can individually animate changes to views, or to a view’s state, no matter where the effects are. SwiftUI handles all the complexity of these combined, overlapping, and interruptible animations for you. developer.apple.com Section 1..
-
[SwiftUI] 4. Drawing Paths and ShapesiOS Dev/SwiftUI 2023. 4. 30. 17:04
https://developer.apple.com/tutorials/swiftui/drawing-paths-and-shapes Drawing Paths and Shapes | Apple Developer Documentation Users receive a badge whenever they visit a landmark in their list. Of course, for a user to receive a badge, you’ll need to create one. This tutorial takes you through the process of creating a badge by combining paths and shapes, which you then overlay developer.apple..
-
[Tuist] Tuist를 활용하여 SwiftUI 클린 아키텍쳐를 적용한 모듈로 나눈 후 Github에 업로드 하기 1탄iOS Dev 2023. 4. 5. 00:37
2탄 업로드!! 구조 개선 및 소스코드 자동완성 추가! : https://sunrinnote.tistory.com/177 [Tuist] Tuist를 활용하여 SwiftUI 클린 아키텍쳐를 적용한 모듈로 나눈 후 Github에 업로드 하기 2탄! 1탄 : https://sunrinnote.tistory.com/172 [Tuist] Tuist를 활용하여 SwiftUI 클린 아키텍쳐를 적용한 모듈로 나눈 후 Github에 업로드 하기 Tuist라는 툴이 있다. 모듈화, 패키지 의존 관리, 타겟 관리 등등을 지원 sunrinnote.tistory.com Tuist라는 툴이 있다. 모듈화, 패키지 의존 관리, 타겟 관리 등등을 지원해준다고 한다. Tuist 자체를 소개해주는 블로그는 많이 있으니 건너뛴다. htt..
-
[SwiftUI] 3. Handling User InputiOS Dev/SwiftUI 2023. 3. 30. 03:10
https://developer.apple.com/tutorials/swiftui/handling-user-input Handling User Input | Apple Developer Documentation In the Landmarks app, a user can flag their favorite places, and filter the list to show just their favorites. To create this feature, you’ll start by adding a switch to the list so users can focus on just their favorites, and then you’ll add a star-sh developer.apple.com 이제 지금까지..
-
[SwiftUI] 2. Building Lists and NavigationiOS Dev/SwiftUI 2023. 3. 28. 01:28
https://developer.apple.com/tutorials/swiftui/building-lists-and-navigation Building Lists and Navigation | Apple Developer Documentation With the basic landmark detail view set up, you need to provide a way for users to see the full list of landmarks, and to view the details about each location. developer.apple.com Section 1. Create a Landmark Model json 데이터 파일을 프로젝트로 끌어오자. 다음, Landmark.swift 파..