Better HN
topnewbestaskshowjobs
Log inSign up

dzenbot

6 karma · joined Jan 29, 2014 (12y ago) · 10 submissions

iOS @SlackHQ. Speaker. Designer. Sometimes I contribute to open source. https://github.com/dzenbot
Submissions

1.

Iconic: An auto-generated icon font library for iOS and tvOS (check it out)(github.com ↗)

2 points · by dzenbot · 10y ago · discuss

2.

New auto-generated icon font library for iOS [beta](github.com ↗)

1 points · by dzenbot · 10y ago · discuss

comment 12y ago · link · parent

We do the same thing, custom views, mostly drawn in -drawRect:, reused in different cells. It's actually a very nice technique but like you said, the are some sacrifices to take. Still, these cells depend of a tableViewcCell which has unique properties and special APIs that collectionViewCells don't. I think the most trikcy part here is to be able to build a custom UICollectionViewLayout allowing to display cells from the bottom. Haven't found any third-party doing it well enough yet. Do you know of any?

comment 12y ago · link · parent

Most definitely! UICollectionViewLayout should be the right answer, but the thing is: the Slack iOS app was already built using UITableView, drawing many many custom cells. We'll probably port someday to UICollectionView ;)

comment 12y ago · link · parent

By subclassing SlackTextViewController, you'll get a tableView or collectionView, and a toolbar at the bottom containing the growing text input. That's basically it. You may decide later to override some methods for disabling or enabling more features.

comment 12y ago · link · parent

Try this out and let us know what you think. It's been designed in a way where you shouldn't care about the growing text input and trivial features related to it, but to build your tableView/collectionView cells and content.

comment 12y ago · link · parent

thanks a lot @aaronbrethorst!

comment 12y ago · link · parent

I believe that atomic commits makes things easier later, if you need to roll back, stash, or branch out. It's just hard to keep the habit going and not become lazy :)

comment 12y ago · link · parent

Atomic commits yo! But yes, it was built with much love and attention to details.

comment 12y ago · link · parent

Great library for scrapping UIWebView content! Thanks for sharing @ianmurrays