• 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
Table sort image question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Table sort image question


  • Subject: Table sort image question
  • From: "Jon C. Munson II" <email@hidden>
  • Date: Mon, 5 Jan 2009 14:20:13 -0500
  • Organization: JTA Enterprises LLC

Namaste!

I have the following call:

- (void)tableView:(NSTableView *)tv didClickTableColumn:(NSTableColumn
*)tableColumn
{
     NSImage *sortImage = [tv indicatorImageInTableColumn:tableColumn];
     ...
}

The tableColumn in question has an up-triangle in the right side of the
column header.

Can anyone tell me why sortImage comes back with a 0x0 value?

Essentially what I’m trying to do is determine the sort of the column.  One
way I've found is to pull out the indicator image.  I plan on comparing that
to a named image for one of the indicator images.  If there is a better way
to do that, I'd love to know as I haven't dredged anything up on that yet.

Peace, Love, and Light,
 

Jon C. Munson II
"And Jesus looking upon them saith, With men it is impossible, but not with
God: for with God all things are possible." [Mark 10:27; KJV]
I sign "Peace, Love, and Light" for at least two reasons.  First, it is my
truest desire for this planet and her people to live in Peace, with Love,
and in the Light of God.  Second, to be an Ascended Master, one must Be.  As
I wish to Be an Ascended Master (someday if not sooner), I must also Be -
thus I choose to Be Peace, Love, and Light as much as I can for everyone and
am therefore reflecting those thoughts to you.


_______________________________________________

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: Table sort image question
      • From: Graham Cox <email@hidden>
  • Prev by Date: Re: Basic: How to go about implementing such a view?
  • Next by Date: Re: Reversing a String
  • Previous by thread: Test-I've received no mail here since 2008... just checking
  • Next by thread: Re: Table sort image question
  • Index(es):
    • Date
    • Thread