jasudev / ncdp2023 Goto Github PK
View Code? Open in Web Editor NEWNCDP 2023 for SwiftUI
Home Page: https://youtu.be/jpxmOR6BJl8
License: MIT License
NCDP 2023 for SwiftUI
Home Page: https://youtu.be/jpxmOR6BJl8
License: MIT License
안녕하세요, 영상을 너무 잘 봤습니다 :)
아주 쉬운 예시를 통해 쉽게 설명해주시는 내용도 좋았고, SwiftUI로 만드셨다는 화려한 발표자료도 좋았습니다. 유익했어요~
그런데, 영상 중간에 제가 이해를 잘 못한 부분이 있어서 질문을 좀 드릴까 합니다. 영상 16:00에서 SwiftUI 디자인에 종속적이지 않은 컴포넌트 구조 설계 가능이라고 하셨잖아요. 그리고 environmentObject 는 말씀하신 대로 어떤 모델을 속성을 선언하는 것만으로 참조할 수 있게 해주는 프로퍼티 래퍼이구요.
다음으로 라디오 버튼을 예시로 들었는데, 이 라디오 버튼도 UIKit의 스택뷰를 사용해서 만들면 각각의 커스텀 클래스로 따로 안만들고 구현할 수는 있잖아요. 하지만 보통은 디자인이 일부 수정될 수 있으니까 유지보수나 관리의 목적으로 말씀하신대로 따로따로 만들긴 하지만요.
그러면, 같은 맥락으로 SwiftUI로 컴포넌트를 작성하는것도 라디오 버튼처럼 하나의 디자인으로 여러 형태를 커버해버리면 결국에 해당 컴포넌트가 좀 복잡해지지 않나요 ? UIKit의 스택뷰로 구현하는 것과 마찬가지로 그냥 따로 나누어서 만드는게 나은것인지 궁금합니다.
아니면, UIKit+스택뷰가 아니라 UIkit+오토레이아웃을 가정하시고 설명을 하신걸까요 ? 그러면 확실히 무조건 따로 만들어야 될 것 같긴 한데..
"SwiftUI는 디자인에 종속적이지 않은 컴포넌트 구조 설계 가능" 이라는 말이 명확히 이해가 잘 되지 않아 추가 질문 드립니다. 시간 되실 때 편하게 답변해주세요~
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.