Since there isn't native support for displaying ePub format in iOS/macOS (besides Apple Books app) and I can't find an active 3rd party framework that works, I've spent the past 5 hours trying to build my own reader in #Chunk….ugh. Might have to punt on this for now. So far no dice and I'm not sure why at this point… #SwiftUI #Swift #indiedev
@gobert it's just HTML in a zip file with a table of contents, putting together a simple reader should be straightforward — but I've only ever written a builder, not a reader
@stroughtonsmith You’re correct. I've even built a basic reader a couple of years ago (but can't find that code). 🥴 But for some reason I'm having trouble now. I'm sure its something dumb i'm doing. Currently having issues unzipping from local file after downloading file using ZIP framework.
@f Ha. Same I've built one before too. It can get tricky depending on the file structure but I just keep running into issues. I think I just need to step away for a moment. I'm sure its me overlooking something basic. But thats for the encouragement.
@stroughtonsmith I probably just need to step away for a while. I'm sure its me being dumb about something. Thanks for reminding me of the structure of the file tho
@f Ahh thank you. Haven't seen this one. I need support for macOS as well. But i'll give it a shot. I've got so far in my code. I feel like i'm 95% of the way there. Gonna take a break a take a look with fresh eyes.