SwiftUI/Document 예제
-
Handling User Input 예제 정리SwiftUI/Document 예제 2020. 12. 19. 10:00
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-shaped button that a user taps to flag a landmark as a favorite. Download the starter project and follow along with this tutorial, or open the finis..
-
Building Lists and Navigation 예제 정리SwiftUI/Document 예제 2020. 12. 18. 10:00
이전에 만든 Landmarks 앱에서 랜드마크 리스트와 각각의 위치를 보여주는 디테일 뷰를 추가해 볼 것이다. 각 랜드마크의 정보를 보여주는 뷰를 만들고 랜드마크를 보여주는 detail view를 볼 수 있는 scroll 가능한 리스트를 동적으로 만들어 볼 것이다. UI를 위해, 사이즈가 다른 device 들을 다수의 preview로 볼 것이다. 지금 보니 애플이 다운받으라는 프로젝트를 다운받아도 쓸건 이미지 밖에 없는 것 같다. 완성하면 나중에 지워도 될 것 같다, *참고 예제 : developer.apple.com/tutorials/swiftui/building-lists-and-navigation 위 예제를 보면서 진행해주세요 :) Section 1 Create a Landmark Model In ..
-
Introducing Swift UI 예제 정리SwiftUI/Document 예제 2020. 12. 16. 10:00
SwiftUI is a modern way to declare user interfaces for any Apple platform. Create beautiful, dynamic apps faster than ever before. 해석 : 스유는 애플 플랫폼을 위해 UI를 선언하는 현대적인 방법이다. 아름답고, 전래없이 빠른 동적 앱들을 창조해보세요. 생각 : 흠.. 역시 애플. 아름다움을 강조하는 구만. 근데 스유의 어떤게 아름다운진 모르겠다만 ㅋㅋ *애플 예제를 보면서 참고해주세요 :)* - 예제 링크 : developer.apple.com/tutorials/swiftui/creating-and-combining-views Creating and Combining Views This tutoria..