Menu

1 / 3

Building an iPad PDF Reader with AI: What I Learned Beyond Generating Code

DEV Community: ios·Takuma Yamada·12 days ago
#ddUF1O7v
#devtoios#devto#dev#development#code
Reading 0:00
15s threshold

I read books I have scanned myself. I wanted a more comfortable way to read those PDFs on my iPad.

My main frustration was how PDF readers handled right-to-left reading and cover pages. I wanted the cover to appear on its own, followed by two-page spreads. When a PDF contained reading-direction and page-layout settings, I wanted the reader to use them automatically.

Some free viewers I tried offered related options, but I could not find one that opened my PDFs the way I expected. So I started building a reader for my own needs.

The app is called MihirakiPDFViewer in English and 見開きPDFビューア in Japanese. Mihiraki is a Japanese word for the two facing pages of an open book.

This is a look at what happened after I began asking AI to write the code: repeated layout fixes, problems discovered through daily use, tests with predictable results, and checks on the version prepared for App Store submission.

Figure 1.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.