• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
[NSOutlineView] _outlineCell and _trackingOutlineCell vs 64-bit
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[NSOutlineView] _outlineCell and _trackingOutlineCell vs 64-bit


  • Subject: [NSOutlineView] _outlineCell and _trackingOutlineCell vs 64-bit
  • From: Iceberg-Dev <email@hidden>
  • Date: Wed, 22 Apr 2009 13:37:03 +0200

What's the official way to replace _outlineCell and _trackingOutlineCell in Cocoa 64-bit?

I do this for 32-bit:

@implementation NSOutlineView (PrivateCells)

- (NSButtonCell *) outlineCell
{
	return _outlineCell;
}

- (void) setOutlineCell:(NSButtonCell *) inButtonCell
{
	if (_outlineCell!=inButtonCell)
	{
		[_outlineCell release];

		_outlineCell=[inButtonCell retain];
	}
}

- (NSButtonCell *) trackingOutlineCell
{
	return _trackingOutlineCell;
}

- (void) setTrackingOutlineCell:(NSButtonCell *) inButtonCell
{
	if (_trackingOutlineCell!=inButtonCell)
	{
		[_trackingOutlineCell release];

		_trackingOutlineCell=[inButtonCell retain];
	}
}

@end

But 64-bit is not happy with it at all.

-----------

I need to replace among other things the drawWithFrame:inView: method to get a different rendering.


- (void)outlineView:(NSOutlineView *)outlineView willDisplayOutlineCell:(id)cell forTableColumn:(NSTableColumn *) tableColumn item:(id)item; is probably not what I'm looking for.




_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:
This email sent to email@hidden


  • Follow-Ups:
    • Re: [NSOutlineView] _outlineCell and _trackingOutlineCell vs 64-bit
      • From: Corbin Dunn <email@hidden>
  • Prev by Date: Re: file extensions and Mime Type
  • Next by Date: Re: How to make app login window to look like OS X user login window ?
  • Previous by thread: Re: file extensions and Mime Type
  • Next by thread: Re: [NSOutlineView] _outlineCell and _trackingOutlineCell vs 64-bit
  • Index(es):
    • Date
    • Thread