GithubHelp home page GithubHelp logo

seasonal-flowers's Introduction

アプリについて

アプリ名

Seasonal Flowers

概要

このアプリはiOSアプリ開発の学習を目的として作成されたシンプルなアプリです。
季節ごとの花の一覧を表示し、花の名前、説明、写真を閲覧することができます。

デモ動画

demo

ソースコード

GitHub
API

アプリ開発の目的

このアプリはiOSアプリ開発の一通りのプロセスを学習するために開発しました。
自分で設計・作成したAPI(jsonファイル)をサーバーに配置し、非同期でのデータの取得・表示に焦点を当てています。

実装内容

データ取得モジュール

  • 自身で設計したAPIからデータを取得しています。
    • このAPIはGitHub Pagesをエンドポイントとして使用しています。
  • データの読み込みはasync機能を利用した非同期処理で実装しており、エラーハンドリング機能も組み込まれています。
  • データの取得状態を管理する型を用意し、状態に応じて画面の表示を切り替えています。
    • 状態は読込中読み込み完了読み込み失敗の3つです。
  • データ取得が失敗した場合には、再度データを読み込むリトライ機能も実装しています。

UIレイアウト

  • UIレイアウトに関しては一覧画面と詳細画面の2画面を提供しています。
  • ScrollViewを使用して一覧表示を実現し、NavigationStackを使用して画面遷移を行っています。

使用技術

  • Swift 5.9
  • SwiftUI
  • Xcode 15

確認デバイス

実機

  • iPhone13

シュミレーター

  • iPhone15 Pro
  • iPhone15

seasonal-flowers's People

Contributors

yuzyuzx avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.