If I say:

[myMatrix renewRows:5 columns:5];

and then later:

[myMatrix renewRows:3 columns:3];
int i = [[myMatrix cells] count]; // i is 25

Is this a bug? I know that renewRows:columns: doesn't release cells (the
docs tell me so), but I do expect that the "cells" method will report the
cells that are part of the actual matrix (i.e. rows * columns), not the
whole bag of extra cells that the matrix is keeping on hand just in case. m.

-- 
matt neuburg, phd = [email protected], <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide - Second Edition!
http://www.tidbits.com/matt/default.html#applescriptthings



_______________________________________________

Cocoa-dev mailing list ([email protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to