bunpro-srs / BunPro-iOS

iOS companion app for the BunPro Japanese grammar learning service.
https://bunpro.jp/
MIT License
5 stars 1 forks source link

Implement a native way to do reviews #10

Open Jeehut opened 5 years ago

Jeehut commented 5 years ago

Original creator: @Rion-Kaneshiro

ZKVfP5fiSqaYD_jBfquxHQ

The app currently uses a web view for actually doing the reviews. This is due to the heavy fluctuation of changes in the early days of Bunpro. Since the Review Screen does not change as frequently anymore, a native review screen supporting all the main features the website does should be implemented.

I do have a design in mind and will create a sketch design for it. For the time being a detailed and finely handcrafted posit is attached...

There is one problem that needs to be figured out:

Furigana

This one is a headache. I should be supported by iOS via Ruby Annotations, but it's broken since iOS 11.

My current experimental solution is to create a CollectionView that has cells for Kanji, a sequence of Kana and a Placeholder for the user input. Kanji Cells would have two labels on top of each other; one for Furigana, one for the Kanji. Doing it this way has some drawbacks though.

First it requires every other cell to also have an empty label or some other way to ensure that all characters align on the same baseline. It also has some problems with Kanji-Kana-Kanji words like 押し入れ.