본문 바로가기
반응형

Apple/SwiftUI4

[iOS] Apple의 Introducing SwiftUI 공부하기 3 2편은 여기에서 확인할 수 있다. [iOS] Apple의 Introducing SwiftUI 공부하기 2 1편은 여기에서 확인할 수 있다. [iOS] Apple의 SwiftUI Tutorials 공부하기 1 애플 개발자 문서에서 제공하는 SwiftUI Tutorials를 읽으면서 SwiftUI를 공부해보자. Introducing SwiftUI | Apple Developer Documentation SwiftUI please-amend.tistory.com 오늘은 세번째 소챕터 Handling User Input을 공부해보자. 랜드마크 즐겨찾기 기능을 구현한다. 1. SwiftUI Essentials a. Creating and Combining Views b. Building Lists and Navi.. 2023. 7. 27.
[iOS] Apple의 Introducing SwiftUI 공부하기 2 1편은 여기에서 확인할 수 있다. [iOS] Apple의 Introducing SwiftUI 공부하기 1 애플 개발자 문서에서 제공하는 튜토리얼인 Introducing SwiftUI를 읽으면서 SwiftUI를 공부해보자. Introducing SwiftUI | Apple Developer Documentation SwiftUI is a modern way to declare user interfaces for any Apple platform. Create please-amend.tistory.com 오늘은 두번째 소챕터 Building Lists and Navigation을 공부해보자. 1. SwiftUI Essentials a. Creating and Combining Views b. Building.. 2023. 7. 26.
[iOS] Apple의 Introducing SwiftUI 공부하기 1 애플 개발자 문서에서 제공하는 튜토리얼인 Introducing SwiftUI를 읽으면서 SwiftUI를 공부해보자. Introducing SwiftUI | Apple Developer Documentation SwiftUI is a modern way to declare user interfaces for any Apple platform. Create beautiful, dynamic apps faster than ever before. developer.apple.com 총 4개의 챕터로 이루어져 있고, 각 챕터마다 2-3개의 소챕터가 존재한다. 가장 첫번째 소챕터 Creating and Combining Views부터 시작해보자. 1. SwiftUI Essentials a. Creating and .. 2023. 7. 25.
[iOS] SwiftUI Text Fade 애니메이션 구현하기 아래 이미지와 같이 Text의 값이 바뀔 때 기존 값은 Fade Out 되고, 새로운 값은 Fade In 되는 애니메이션을 구현하고 싶었다. 페이드 인/아웃이 opcaity 변화이므로 .transition(.opacity)를 적용하고, count 값을 변경할 때 withAnimation을 사용하면 원하는 결과가 나올 것이라고 생각했는데, 결과는.. Text("\(count)") .transition(.opacity) withAnimation(.easeInOut(duration: 0.3)) { count += 1 } opacity는 그대로고 이상하게 움찔거리는 애니메이션만 적용되었다ㅠㅠ opacity transition이 제대로 작동하지 않은 이유는 transition은 뷰가 삭제/생성될 때만 적용되기 때.. 2022. 6. 28.
반응형