Re: Swift Compiler Bug?

2014-09-15 Thread Charles Jenkins
Duhh! I have created dictionaries already—there’s a sample one for testing in my app already—but the syntax of that prototype went right over my head. I’m accustomed to JSON and Python’s use of braces to declare dictionaries, and I was so fully convinced the variable was an array that I

Swift Compiler Bug?

2014-09-14 Thread Charles Jenkins
Now on to the next thing that doesn’t seem to work according to the documentation… These are the first few lines of my function which will save my document data: override func fileWrapperOfType( typeName: String!, error outError: NSErrorPointer ) - NSFileWrapper! { if

Re: Swift Compiler Bug?

2014-09-14 Thread Roland King
On 15 Sep 2014, at 10:47 am, Charles Jenkins cejw...@gmail.com wrote: Now on to the next thing that doesn’t seem to work according to the documentation… These are the first few lines of my function which will save my document data: override func fileWrapperOfType( typeName:

Re: Swift Compiler Bug?

2014-09-14 Thread Quincey Morris
On Sep 14, 2014, at 19:47 , Charles Jenkins cejw...@gmail.com wrote: let noWrappers: [AnyObject] = [] self.theFileWrapper = NSFileWrapper( directoryWithFileWrappers: noWrappers ) When I start typing “directoryWithFileWrappers,” Xcode displays its suggestion list showing the