mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-09-30 22:27:42 +00:00
Deploying to gh-pages from @ cappuccino/cappuccino@f56855010f 🚀
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