• 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: matching brace not found
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: matching brace not found


  • Subject: Re: matching brace not found
  • From: Kyle Sluder <email@hidden>
  • Date: Mon, 10 Aug 2015 10:56:39 -0500

On Sat, Jul 25, 2015, at 01:45 PM, Jan E. Schotsman wrote:
> Consider this piece of code:
>
> if !track.formatDescriptions.isEmpty
> 	{
> 	let firstFormatDescription = (track.formatDescriptions as!
> [CMFormatDescription])[0]
> 	let asbd =
> CMAudioFormatDescriptionGetStreamBasicDescription
> (firstFormatDescription)
> 	numSndChannels += Int( asbd.memory.mChannelsPerFrame )
> 	}
>
> If I click on the first curly brace the editor beeps (the code
> compiles).
> If I remove  "as! [CMFormatDescription]" the closing curly brace *is*
> selected.
> Look like a minor bug.

Have you filed it via bugreport.apple.com? While this list is good at
alerting other Xcode users to issues you've found, it's not really a
substitute for an official bug report.

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

This email sent to email@hidden


  • Prev by Date: Re: What to do when git munches your project file. Xcode 6.3.2
  • Next by Date: Re: Finding the constraint violator
  • Previous by thread: Pref for date format in generated files?
  • Next by thread: Re: Finding the constraint violator
  • Index(es):
    • Date
    • Thread