I can not for the life of me figure this one out. Here is my code... PRINT_APPEND(@"\n%d", [theAttributedString retainCount]); DESCRIBE(theAttributedString); TRACE; [theSudokuTextField setAttributedStringValue: theAttributedString]; theAttributedString = [theSudokuTextField attributedStringValue]; PRINT_APPEND(@"\n%d", [theAttributedString retainCount]); DESCRIBE(theAttributedString); TRACE;
and this is the console output for an execution that works... 1 theAttributedString (NSConcreteAttributedString) ... 2 3 4 6 8 { NSFont = "\"BaskOldFace 9.00 pt. P [] (0x1589f0) fobj=0x46a5e0, spc=2.25\"";} -[Controller updatePossibilitiesDisplay:] @ 1133 3 theAttributedString (NSConcreteAttributedString) ... 2 3 4 6 8 { NSFont = "\"BaskOldFace 9.00 pt. P [] (0x1589f0) fobj=0x46a5e0, spc=2.25\"";} -[Controller updatePossibilitiesDisplay:] @ 1138 and this is the console output for an execution that works... 1 theAttributedString (NSConcreteAttributedString) ... 1 2 3 4 5 6 7 8 9{ NSFont = "\"BaskOldFace 9.00 pt. P [] (0x119ce0) fobj=0x3e25bc0, spc=2.25\"";} -[Controller updatePossibilitiesDisplay:] @ 1133 1 theAttributedString (NSConcreteAttributedString) ... -[Controller updatePossibilitiesDisplay:] @ 1138 Note that the retainCount has changed in the first case but not in the second. Does anyone have any ideas as to what is happening? Charlie Dickman 3tothe...@comcast.net _______________________________________________ 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