I've put together a TVC with a custom TVC cell class consisting mainly of 
UILabels, but have the problem where the labels will have varying amounts of 
lines of text.

The main issue is that in iOS 5.x, UILabels still can't be vertically aligned 
to the top.  

There is a fair amount of source that explains how to add a label as a subView, 
but it is all non ARC code so, as cells get reused, the UILabel will get 
recreated whenever cellForRowAtIndexPath is called.

Does anyone have ideas on when to remove the last subview of the content cell 
or how to check for presence of the view already so that It doesn't get to 
allocated again every time the cell displays in the cellForRowAtIndexPath code?

Thanks, 
- Alex Zavatone
_______________________________________________

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