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
On Sep 14, 2014, at 19:47 , Charles Jenkins wrote:
> let noWrappers: [AnyObject] = []
> self.theFileWrapper = NSFileWrapper( directoryWithFileWrappers:
> noWrappers )
> When I start typing “directoryWithFileWrappers,” Xcode displays its
> suggestion list showing the prototype:
>
> N
> On 15 Sep 2014, at 10:47 am, Charles Jenkins 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: String!,
>
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 self.t