Skip to content

Default for modern Objective-C #43

Description

@buzzdeee

For new projects, it would be nice to default to modern objective-c .m and .h templates, as well as default to add -fobjc-arc to the compiler flags. and to encourage to use ARC and @Property etc.

Or alike this in the main.m:

int
main(int argc, const char *argv[])
{
@autoreleasepool
{
return NSApplicationMain (argc, argv);
}
}

or when creating a new Application, the AppController.m

to not call [super dealloc] in the -dealloc method.

Or let the user choose in General PC settings, to default to current old-school templates and settings, or switch to modern objective-c.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions