HN user

bradya

206 karma

Lead iOS engineer at Slack

Follow me on Twitter: @bradyy

Email me: brady.archambo at gmail

Posts2
Comments12
View on HN

UITableView lays out cells from the top. If there aren't enough cells to fill the screen, there will be an empty area in the bottom part of the table view, between the last cell and the bottom of the table view (as you would expect).

Unfortunately, there isn't a standard way to invert a UITableView, and have cells laid out from the bottom.

So, the easiest solution for us was to set the table's transform to CGAffineTransformMake(1, 0, 0, -1, 0, 0) (flip the whole table upside down) and then give the cells the same transform (to cancel out the table view's transform).

A bit hacky, and causes indexPaths to be inverted as well (0,0 is now at the bottom), but worked for us.

Seen a few other people take this approach as well: https://twitter.com/tapbot_paul/status/461161920402563072

We tried other popular text input projects for iOS, but none felt right and worked fully for our needs. We ended up spending a big portion of our time maintaining custom versions of other projects.

For that reason, we decided to build our own growing text input from scratch, and we've just released it as open source. We hope you all will find it useful!

Using LittleSnapper (or equivalent tool) to take and archive screenshots of well-done page designs is a really good way to enhance brainstorming.

After months or years of doing this, you build up an asset that has real value to you and other designers.

You should consider posting your screenshot library - I'm sure quite a few designers would be interested in it (or at least links to the pages, to avoid any copyright issues). New webapp idea?

My feelings are almost exactly the same. I work 60+ hours a week and make an upper middle class income. I'm trying my hardest to change that because I'd like to have time to enjoy life while I'm young (I'm 23).

Congrats! This is inspiring and motivated my business partner and I to consider selling our mobile app business. We just hit 1 million users across our portfolio of relatively unknown apps.

If we are able to sell our company, we would be able to use the cash to pay for living expenses so we can start another company.