mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-09-20 17:30:41 +00:00
Normalize application naming in ./Tests/Manual
Ensure: * CamelCase, ending in Test * No hyphens, spaces, underscores or other non-alpha characters Updated application directory names. Update Jakefiles.
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
/*
|
||||
* NotificationStatistics.j
|
||||
* CPTextViewDelegateAndNotifications
|
||||
*
|
||||
* Created by Martin Carlberg on December 22, 2017.
|
||||
* Copyright 2017, Oops AB All rights reserved.
|
||||
*/
|
||||
|
||||
@import <Foundation/CPObject.j>
|
||||
|
||||
@implementation NotificationStatistics : CPObject {
|
||||
CPString name @accessors;
|
||||
CPUInteger order @accessors;
|
||||
CPUInteger count @accessors;
|
||||
}
|
||||
|
||||
+ (id)notificationStatisticsWithName:(CPString)aName
|
||||
{
|
||||
return [[NotificationStatistics alloc] initWithName:aName];
|
||||
}
|
||||
|
||||
- (id)initWithName:(CPString)aName
|
||||
{
|
||||
self = [super init];
|
||||
if (self) {
|
||||
[self setName: aName];
|
||||
[self setOrder:0];
|
||||
[self setCount:0];
|
||||
}
|
||||
return self;
|
||||
}
|
||||
|
||||
@end
|
||||
Reference in New Issue
Block a user