-
Notifications
You must be signed in to change notification settings - Fork 395
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
Warnings for method collision #16
Comments
This should be in the data modeler, but since mogenerator + Xmo'd is all about picking up Apple slack, I agree we should roll it in. Patches welcome and/or a comprehensive list of such troublesome names. |
Vincent Gable pointed out a doc that lists some/most/all of the problematic method names: |
Looks like Xcode's gotten smarter since this feature was requested. its data model editor now won't allow attributes with the following names:
|
@zorn #74 says "type" is a problem (as does chockenberry). I can't find anything that suggests "name" or "value" are problematic? |
…riggers Apple's piss-poor private-API-use detector when submitting to the App Store. Closes rentzsch#16.
Can someone tell me how to suppress the primitive accessors? We don't use them and 1.28 appears to still be generating them. |
While |
The bizarre thing I'm experiencing on my iOS project, is that of the 15 or so entities I have, primitiveType and setPrimitiveType are only generated for one of the classes! This on version 1.28. |
@rentzsch Is there a way to suppress the primitive accessors, and possibly also some of the other generated code as well? |
…Is: primitiveValue`, similar to rentzsch#74 and rentzsch#16, so this avoids generating `primativeValue` methods Wonder if it would be better to amend the main code base similar to this commit?: rentzsch@cd9809d
One thing that seems to burn me often is giving one of my Entities an attribute with a name that clashes with the other methods in Cocoa.
It would be cool if mogenerator gave me a warning that although I have an attribute named description the class mogenerator will create will have a method that will collide with NSObject's -description.
I've seen similar issues with -name -type -value and a few others.
The text was updated successfully, but these errors were encountered: