lifeistech / toybox

【iPhoneコース】サンプルコード集
MIT License
8 stars 1 forks source link

toyboxとは

Life is Tech! iPhoneアプリプログラミングコースのサンプルコード集プロジェクトです。 Swiftにはどんな技術があるのか、どんなコードを書けばどのように動くのか見て、触ってみることができます。コードの詰め合わせという意味から、そしてたくさん遊んで欲しいという思いを込めて、おもちゃ箱のtoyboxと名付けられました🎉 Swiftの機能がコンポーネントごとにtoyとして分かれていて、それぞれXcode Projectが作られています👀

Scrapboxからtoyの一覧・toyの相互関係を見ることができます!

使い方

  1. Githubページ中央の<> CodeボタンからDownload ZIPします
  2. ダウンロードしたzipファイルをダブルクリックで展開します
  3. それぞれのtoyがフォルダで分かれているので、見たいtoyのフォルダを開きます
  4. フォルダ内に入っている.xcodeprojの拡張子のファイルをダブルクリックするとXcodeが開きます
  5. ダウンロードしたプロジェクトを開くと警告が出る場合がありますが、その場合はTrust and Openボタンを押します
  6. READMEにそのtoyの技術について、概要や実装方法が記載されています

toybox

Codable

Codable

Codable

ColorAsset

ColorAsset

ColorAsset

ComputeShader

ComputeShader

ComputeShader

DoTryCatch

DoTryCatch

DoTryCatch

Generics

Generics

Generics

Kingfisher

Kingfisher

Kingfisher

MKMapView

MKMapView

MKMapView

Optional

Optional

Optional

SFSymbol

SFSymbol

SFSymbol

Singleton

switch

switch

Speech

Speech

Speech

SwiftCharts

SwiftCharts

SwiftCharts

TrailingClosure

TrailingClosure

TrailingClosure

UIButtonConfiguration

UIButtonConfiguration

UIButtonConfiguration

UICalendarView

UICalendarView

UICalendarView

UIFont

UIFont

UIFont

UIHostingConfiguration

UIHostingConfiguration

UIHostingConfiguration

UIImagePicker

UIImagePicker

UIImagePicker

UIMenu

UIMenu

UIMenu

UINavigationController

UINavigationController

UINavigationConrtoller

UIPickerView

UIPickerView

UIPickerView

UISegmentedControl

UISegmentedControl

UISegmentedControl

UISlider

UISlider

UISlider

UISwitch

UISwitch

UISwitch

UITabBarController

UITabBarController

UITabBarConrtoller

UIVisualEffectView

UIVisualEffectView

UIVisualEffectView

UNUserNotification

UNUserNotification

UNUserNotification

animation

animation

animation

delegate

delegate

delegate

enum

enum

enum

extension

extension

extension

for

for

for

if

if

if

switch

switch

switch

コントリビューション

コントリビューションは大歓迎です。

コントリビューションの手順

  1. Forkする
  2. 自分のブランチを作成する (git checkout -b feature/hogehoge)
  3. 変更をコミットする (git commit -m 'Add some feature')
  4. ブランチにプッシュする(git push origin hogehoge)
  5. 新しいPull Requestを作成する

Contribution

Contributions are more than welcome!

How to Contribute

  1. Fork it
  2. Create your feature branch (git checkout -b featyre/hogehoge)
  3. Commit your changes (git commit -m 'Add some feature')
  4. Push to the branch (git push origin hogehoge)
  5. Create new Pull Request