• 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: [ANN] Cocoa Style for ObjC: 1 and 2
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ANN] Cocoa Style for ObjC: 1 and 2


  • Subject: Re: [ANN] Cocoa Style for ObjC: 1 and 2
  • From: Scott Stevenson <email@hidden>
  • Date: Wed, 27 Oct 2004 13:57:17 -0700


On Oct 27, 2004, at 1:08 PM, The Amazing Llama wrote:

infoByURL (a dictionary of URL objects pointing to "info" objects)
pagesByDate (a dictionary of date objects pointing to "page" arrays (because of the plural))

etc. This makes it very easy to use later on, when you might have multiple dictionaries pointing to the same data via different keys. It is also relatively easy to expand this to accessors,

Yeah, this is a good one.


-infoForURL:
or
-infoWithURL:

although I'm still trying to decide which makes more sense, for or with.

There was a thread on this either here or at macosx-dev not to long ago. Based on existing API, the conclusion was "no conclusion."

And don't forget "From". :)


- Scott


--
http://treehouseideas.com/
http://theobroma.treehouseideas.com/ [blog]

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden
  • Follow-Ups:
    • Re: [ANN] Cocoa Style for ObjC: 1 and 2
      • From: Marco Scheurer <email@hidden>
    • Re: [ANN] Cocoa Style for ObjC: 1 and 2
      • From: Glenn Andreas <email@hidden>
References: 
 >[ANN] Cocoa Style for ObjC: 1 and 2 (From: Scott Stevenson <email@hidden>)
 >Re: [ANN] Cocoa Style for ObjC: 1 and 2 (From: The Amazing Llama <email@hidden>)

  • Prev by Date: Re: [ANN] Cocoa Style for ObjC: 1 and 2
  • Next by Date: Re: [ANN] Cocoa Style for ObjC: 1 and 2
  • Previous by thread: Re: [ANN] Cocoa Style for ObjC: 1 and 2
  • Next by thread: Re: [ANN] Cocoa Style for ObjC: 1 and 2
  • Index(es):
    • Date
    • Thread