• 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: More Xcode 7 inconsistency?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: More Xcode 7 inconsistency?


  • Subject: Re: More Xcode 7 inconsistency?
  • From: Shane Stanley <email@hidden>
  • Date: Thu, 15 Oct 2015 10:36:05 +1100

On 15 Oct 2015, at 4:02 AM, David Duncan <email@hidden> wrote:
>
> The helpful followup is that it is generally encouraged to use empty containers (@[] or @{}) over nil when there is no semantic difference, as is the case for the aforementioned API.

OK, but the docs still say: "The dictionary contains values from Document Types and must at least contain NSDocumentTypeDocumentAttribute." That suggests to me that an empty dictionary is not allowed.

--
Shane Stanley <email@hidden>
<www.macosxautomation.com/applescript/apps/>


_______________________________________________

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: More Xcode 7 inconsistency?
      • From: Charles Srstka <email@hidden>
    • Re: More Xcode 7 inconsistency?
      • From: David Duncan <email@hidden>
References: 
 >More Xcode 7 inconsistency? (From: Graham Cox <email@hidden>)
 >Re: More Xcode 7 inconsistency? (From: Shane Stanley <email@hidden>)
 >Re: More Xcode 7 inconsistency? (From: Charles Srstka <email@hidden>)
 >Re: More Xcode 7 inconsistency? (From: David Duncan <email@hidden>)

  • Prev by Date: Re: CGContextShowTextAtPoint
  • Next by Date: Re: More Xcode 7 inconsistency?
  • Previous by thread: Re: More Xcode 7 inconsistency?
  • Next by thread: Re: More Xcode 7 inconsistency?
  • Index(es):
    • Date
    • Thread