> On Apr 30, 2017, at 08:37, Peter Hudson <peter.hud...@me.com> wrote:
> 
> I have a strange memory problem.
> 
> My app is a typical document based app. 
> 
> I have one method which checks on the indexes of selected rows in a table 
> view frequently.
> 
> After this method has been called ( without a problem ) many times,
> the app grinds to a halt - and points the finger at the address of the table 
> view….
> 
> [self  theOriginalTblVwPointer] : 0x2155180        // took a ref to it in 
> windowControllerDidLoadNib
> tblVw class pointer 0x2155180                // checking the value just 
> before the offending statement…
> 
> -[__NSArrayM numberOfRows]: unrecognized selector sent to instance 0x2155180
> 
> It seems that my table view has changed into an array !

My first guess is that something isn't being retained properly, so the address 
is being reused. It's hard to give a better guess without seeing code.

Steve via iPad

_______________________________________________

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

Reply via email to