• 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
Re: Output of NSHTTPCookieStorage to NSTableView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Output of NSHTTPCookieStorage to NSTableView


  • Subject: Re: Output of NSHTTPCookieStorage to NSTableView
  • From: Jens Alfke <email@hidden>
  • Date: Sun, 29 Jun 2008 12:56:20 -0700


On 29 Jun '08, at 9:39 AM, Chris Purcell wrote:

Thank you for the reply. I think right now the simplest would be to convert the cookies array to an array of NSStrings. What would be the easiest way to do this?

Keep the array as an array of NSHTTPCookies. But your - objectValueForTableColumn: should look up the cookie object for the row, and then get the right attribute of the cookie based on the column identifier. For instance, if the column shows URLs, then you should get the URL of the cookie and return its absoluteString. If it shows dates, return an NSDate.


—Jens_______________________________________________

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: Output of NSHTTPCookieStorage to NSTableView
      • From: Chris Purcell <email@hidden>
References: 
 >Output of NSHTTPCookieStorage to NSTableView (From: Chris Purcell <email@hidden>)
 >Re: Output of NSHTTPCookieStorage to NSTableView (From: "Shawn Erickson" <email@hidden>)
 >Re: Output of NSHTTPCookieStorage to NSTableView (From: Chris Purcell <email@hidden>)

  • Prev by Date: Re: How to converting a Carbon nib to Cocoa?
  • Next by Date: Re: NSTextView to replace NSTextList confused
  • Previous by thread: Re: Output of NSHTTPCookieStorage to NSTableView
  • Next by thread: Re: Output of NSHTTPCookieStorage to NSTableView
  • Index(es):
    • Date
    • Thread