Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

extra @ character #59

Closed
Munger41 opened this issue Sep 1, 2012 · 4 comments
Closed

extra @ character #59

Munger41 opened this issue Sep 1, 2012 · 4 comments

Comments

@Munger41
Copy link

Munger41 commented Sep 1, 2012

  • (NSString *)description
    {
    return [@{@"filePath": self.filePath,
    @"fileName": self.fileName,
    @"fileAttributes": self.fileAttributes,
    @"creationDate": self.creationDate,
    @"modificationDate": self.modificationDate,
    @"fileSize": @(self.fileSize),
    @"age": @(self.age),
    @"isArchived": @(self.isArchived)} description];
    }

extra @ character
does not compile

@iliaskarim
Copy link

this is the new dictionary syntax and not a bug--please update your compiler!

@morgant
Copy link

morgant commented Jan 25, 2013

I just ran into this as well. It seems the new array & dictionary literals syntax requires Xcode 4.4 or newer, but Xcode 4.4 and newer no longer support the Mac OS X 10.6 SDK.

The development requirements listed on the ARC page should probably be updated to reflect this (I know, it's not ARC-specific, but it's the the only place requirements are listed). It could also be added to the ProblemSolution page.

@bpoplauschi
Copy link
Member

@morgant thanks for the suggestion, i've updated the ARC section, the ProblemSolution section and the readme

@morgant
Copy link

morgant commented Nov 1, 2013

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants