Live data from Hacker News

Github's modifications to Twitter's TwUI pulled into master

github.com

1–7 of 7 posts

Re: Github's modifications to Twitter's TwUI pulled into master

#2
TwUI's README says that it features "Simplified table view cells", does anyone know exactly what that entails? I kind of hate UIKit's native table view cells, particularly how difficult it is to get them to resize themselves appropriately based on the amount of content you need to display.

Re: Github's modifications to Twitter's TwUI pulled into master

#4
Awesome! I was just about to switch my repository from twitter's to joshaber's next week, so this is perfect timing. He's been rocking it, which is not easy given the size and complexity of the project.

Many thanks to Josh and GitHub for the continuing contributions to TwUI. It's always a great story to see a changeover like this in open source.

Re: Github's modifications to Twitter's TwUI pulled into master

#6
post #2

TwUI's README says that it features "Simplified table view cells", does anyone know exactly what that entails? I kind of hate UIKit's native table view cells, particularly how difficult it is to get them to resize themselves appropriately based on the amount of content you need to display.

It means that they're just an empty view. No implicit subviews with bizarre undefined behavior (no titleLabel, backgroundColor actually works).

Re: Github's modifications to Twitter's TwUI pulled into master

#7
post #2

TwUI's README says that it features "Simplified table view cells", does anyone know exactly what that entails? I kind of hate UIKit's native table view cells, particularly how difficult it is to get them to resize themselves appropriately based on the amount of content you need to display.

If you're trying to get tableview cells in iOS to "resize themselves" you're not quite getting how they're supposed to be built if you want them to scroll fast. The general way to achieve fast scrolling of complex, graphical cells is to precalculate the row heights once, as soon as you have the data. This should be no more difficult than adding some string and image heights together.