Automatically replacing part of text in a text label
Automatically replacing part of text in a text label
- Subject: Automatically replacing part of text in a text label
- From: Peter Zegelin <email@hidden>
- Date: Mon, 16 Mar 2009 17:20:19 +1100
I have some text labels in a registration dialog that contain the
application name eg
"xxx Demonstration"
"Thank you for purchasing xxx"
and so on.
I would like this registration dialog to be general enough that I can
use it in multiple applications. Is there a simple way to replace the
xxx with the actual application name at runtime? At the moment I'm
thinking I'll have to wire every label up to my registration
controller and do it in awakeFromNib, but I was hoping for something
easier.
Thanks!
Peter
_______________________________________________
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