frog-frog / pokedex Goto Github PK
View Code? Open in Web Editor NEWPokedex is iOS application using PokeAPI.
License: MIT License
Pokedex is iOS application using PokeAPI.
License: MIT License
せっかくアーキテクチャがきれいなので、単体テストを書くと変更しやすくなります。
ポケモンをランダムで表示する
タップしたら詳細画面に遷移
ポケモンの各ステータスの数値を表示するだけだとわかりにくい。
最大値は255なので、それを元に割合でカラーバーを表示するとわかりやすくなりそう。
synchronizeは即時実行してしまうので、クラッシュしてしまう可能性を秘めているので、非推奨になった記憶があります、、、。
It would be nice to have a button to see what the pokemon evolves into, as well as what it evolves from.
There appears to be a call needed to /evolution-chain/id
to get that info, and I cant get my head around the architecture to add that call in to get that information .
実機でビルドしようとすると以下のエラーが出てアプリがクラッシュする
dyld: Library not loaded: @rpath/DataStore.framework/DataStore
Referenced from: /private/var/containers/Bundle/Application/43434F50-E6DC-4C5B-BF7C-45F7E69AAB4C/Pokedex.app/Pokedex
Reason: no suitable image found. Did find:
/private/var/containers/Bundle/Application/43434F50-E6DC-4C5B-BF7C-45F7E69AAB4C/Pokedex.app/Frameworks/DataStore.framework/DataStore: code signature invalid for '/private/var/containers/Bundle/Application/43434F50-E6DC-4C5B-BF7C-45F7E69AAB4C/Pokedex.app/Frameworks/DataStore.framework/DataStore'
UIテストがあるとよりいいです。
現状だと単体テストがないと思うのですが、最低限ビルドが通るかのCIはあって損はないと思います!
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.