tukuyo / phoneticGuidesApp

A sample application project that inputs Japanese text (mixed kanji and kana) and outputs the text converted to ruby.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

phoneticGuidesApp ~ ふりがな(ルビ)ガイドアプリ ~

漢字の文章を全て平仮名に変換し表示してくれるアプリ.

Arcitecture アーキテクチャ

  • MVVM

※1の記事を参考に作成

Requirements 必要事項

このアプリでは以下の条件下で動作を確認しています.

  • Xcode: 11.4
  • iOS: 13+
  • Swift: 5.0

また、このアプリではCocoaPodsを使用してるため、それらをインストールする必要があります.

cocoapodsのインストール

sudo gem install cocoapods

ライブラリの追加
プロジェクトのルートで以下のコマンドを実行

pod install

APIキーの取得

本アプリでは、gooラボのAPIを利用しています.
そのため、事前にgooラボAPI利用登録をしAPIキー(アプリケーションID)を取得してください.

取得後、プロジェクト内のAPI_KEY.swift内の****の部分にAPIキー(アプリケーションID)貼り付けてください.

let API_KEY = "*******"

References

※1 OSをMVC,MVP,MVVM,Clean Architectureで実装してみた

※2 goo ラボ ひらがな化API

Author

About

A sample application project that inputs Japanese text (mixed kanji and kana) and outputs the text converted to ruby.


Languages

Language:Swift 98.1%Language:Ruby 1.9%