NSAttributedString attribute stylesheet
NSAttributedString attribute stylesheet
- Subject: NSAttributedString attribute stylesheet
- From: Carmin Politano <email@hidden>
- Date: Sat, 14 Apr 2007 19:47:19 -0400
NSAttributedString quote from manual:
If you must change attribute values, and are sure that the change
will apply to the correct range, there are two strategies you can adopt:
Use an attribute value whose isEqual: and hash do not depend on the
values you are modifying.
Use indirection: use the attribute value as a lookup key into a table
where the actual value can be changed. For instance, this might be
the appropriate approach for having a “stylesheet”-like attribute.
I donot understand how to "use the attribute value as a lookup key
into a table".
Carmin_______________________________________________
Cocoa-dev mailing list (email@hidden)
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