Modernize coding style

This commit is contained in:
Jonathan Schleifer 2018-11-05 22:22:12 +01:00
parent d6f82eb3d5
commit 3438e3569b
No known key found for this signature in database
GPG key ID: D83A76BFE376345E
37 changed files with 407 additions and 422 deletions

View file

@ -42,9 +42,9 @@
type: type] autorelease];
}
- initWithCategory: (OFString *)category
type: (OFString *)type
name: (OFString *)name
- (instancetype)initWithCategory: (OFString *)category
type: (OFString *)type
name: (OFString *)name
{
self = [super init];
@ -63,15 +63,15 @@
return self;
}
- initWithCategory: (OFString *)category
type: (OFString *)type
- (instancetype)initWithCategory: (OFString *)category
type: (OFString *)type
{
return [self initWithCategory: category
type: type
name: nil];
}
- init
- (instancetype)init
{
OF_INVALID_INIT_METHOD
}