Monobjc / monobjc

Git Repository for the Monobjc Project
http://www.monobjc.net/
17 stars 3 forks source link

Add extension methods to NSMutableDictionnary to handle attributed string attributes #349

Closed letiemble closed 11 years ago

letiemble commented 11 years ago

(This issue was orignally reported by Laurent Etiemble on 2012-08-25 14:30:01)

Add extension methods to NSMutableDictionnary to handle attributed string attributes.

For example:

public static void SetFont(this NSMutableDictionnary target, NSFont font) { target.SetValueForKey(font, NSAttributedString_AppKitAdditions.NSFontAttributeName); }