mnaruse / swiftui100knocks Goto Github PK
View Code? Open in Web Editor NEWSwiftUI 100 Knocks
SwiftUI 100 Knocks
150✖︎150サイズに画像をリサイズし、丸く切り取り、黒い枠を付けて表示させてください。
GithubのAPI( https://api.github.com/search/repositories?q=swift&sort=stars&page=1&per_page=30 )を叩きリポジトリの情報をリストに表示してください。
一番下までスクロールされたら追加で取得してください。
GithubのAPI( https://api.github.com/search/repositories?q=swift&sort=stars&page=1&per_page=30 )を叩きリポジトリの情報をリストに表示してください。
一番下までスクロールされたら追加で取得してください。
GithubのAPI( https://api.github.com/search/repositories?q=swift&sort=stars&page=1&per_page=30 )を叩きリポジトリの情報をリストに表示してください。
Combineを使用してください。
150✖︎200サイズに画像をリサイズして表示させてください。
アスペクト比が異なる場合は余白を赤色で表示してください。
GithubのAPI( https://api.github.com/search/repositories?q=swift&sort=stars&page=1&per_page=30 )を叩きリポジトリの情報をリストに表示してください。
Closureを使用してください。
Picker を表示する
画像を等間隔で横に並べてください。
Version 14.1 (14B47b)
画面遷移時に値を渡してください。
https://github.com/SDWebImage/SDWebImageSwiftUI
SwiftUI 画像読み込みフレームワークです。
非同期画像読み込み、メモリ/ディスクキャッシュ、アニメーション画像再生、パフォーマンスなど、SDWebImage から好きな機能をすべてもたらします。
このフレームワークは、SwiftUIフレームワークのガイドラインに一致するAPIを持つ、異なるView構造体を提供します。Image に慣れていれば、WebImage と AnimatedImage を使うのは簡単だと分かるでしょう。
NavigationViewを隠す
150✖︎200サイズに画像をリサイズして表示させてください。
アスペクト比が異なる場合ははみ出た箇所を切り取って表示してください。
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.