• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Custom UIView and Interface Builder
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Custom UIView and Interface Builder


  • Subject: Custom UIView and Interface Builder
  • From: Ariel Rodriguez <email@hidden>
  • Date: Fri, 30 Jan 2009 20:08:03 -0200

My problem is this. I need to build a rather complex UIView with lot's of labels and widgets, but much of the information to be displayed is not now until runtime, and some data might not be available. In the case data is not available, i need the label to disappear, not just hide. For instance, let's say i have a section which can contain up to three labels:
[[Label A] [Label B] [Label C]]
In the best scenario, on runtime i will have all the data to fill the three label programmatically, but life is not always that nice, and then i could just not get data to fill Label B, in which case i to "print" out just Label A and Label C, centered in the same section,
[ [Label A] [Label C] ]
that's why hidden the label will not do the trick (because even hidden, the label will be there claiming screen real state.
Actually, the entire section might need to be "erased".
I do know this seems like a damn RTFM question, but i do read quite a few manuals (books) and i have found nothing. I do have found [this discussion][0] and i wonder if anyone could help me to find how to control my xib (nib) in order to publish labels on demand.
Best.


[0]: http://discussions.apple.com/thread.jspa?threadID=1582722&tstart=3
_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:
This email sent to email@hidden


  • Prev by Date: Re: Serial IO seems to be starving UI
  • Next by Date: Re: CoreData relationship/KVC question
  • Previous by thread: IKSlideshow and Custom Transitions
  • Next by thread: Subversion Problems
  • Index(es):
    • Date
    • Thread