{"by":"sylwester","descendants":30,"id":48610816,"kids":[48611470,48613092,48611281,48611113,48611811,48611932,48623287,48620477,48611196,48612552,48612962,48611468,48614911,48611851,48613230,48618523,48610817,48657241,48611466],"score":103,"text":"I read HN on my phone every day and never really settled on a reader, so I\nwrote my own and finally tidied it up enough to put out\nthere.<p>It&#x27;s plain SwiftUI with no third-party dependencies. A few things I spent the\nmost time on:<p>Comments are parsed and drawn as native text instead of being dumped into a web\nview. Links, italics, quotes and code blocks behave like the rest of the OS,\ntext selection works, and threads collapse instantly. The whole comment tree\ncomes back from the Algolia API in a single request, which felt a lot nicer than\nwalking the Firebase API node by node.<p>Accessibility. Nothing depends on color on its own, so\npoints, read state and selection all carry a shape or an icon too. VoiceOver\nreads each story as one coherent element with proper actions, Dynamic Type and\nReduce Motion are respected, and there&#x27;s a color-blind mode. The first-run setup\nactually looks at your device&#x27;s accessibility settings, switches on the matching\noptions, and tells you what it changed instead of making you hunt for them.<p>Then the usual things you&#x27;d expect: Top&#x2F;New&#x2F;Best&#x2F;Ask&#x2F;Show&#x2F;Jobs, search, saved\nstories, read tracking, an in-app reader, light and dark, and a handful of\naccent colors.<p>It only talks to the public HN APIs, there&#x27;s no account and nothing is tracked.\nSource and screenshots are in the repo.<p>I&#x27;d most like feedback on the comment rendering and the accessibility choices,\nsince those were the parts I cared about getting right. Happy to answer anything\nabout how it&#x27;s put together.","time":1781974838,"title":"Show HN: Ember, a native iOS Hacker News reader I built around accessibility","type":"story","url":"https://github.com/DatanoiseTV/ember-hackernews"}