On Jul 19, 2013, at 9:30 AM, Koen van der Drift <koenvanderdr...@gmail.com> 
wrote:

> 
> The problem I foresee though is that at the time I create the tableView, the 
> dataSource method for the number of rows (= 2) hasn't been called yet, and 
> therefore the table doesn't know what the contentSize will be.

Try calling -layoutSubviews on the table view before querying its contentSize.

> 
> An alternative I just thought of could be to create a tableView with three 
> rows, where the top one contains my customView.

Or maybe put it in the header view for that section?

Either way you should definitely check to see what kind of interface this 
produces for an accessibility user.

--Kyle Sluder
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to