Adds implementation of Action model.

This commit is contained in:
2020-09-05 18:19:18 -07:00
parent bc947f5c10
commit fbbecce6e6
2 changed files with 14 additions and 0 deletions

View File

@@ -12,6 +12,11 @@ NS_ASSUME_NONNULL_BEGIN
@interface Action : NSObject
@property NSString* name;
@property NSString* actionDescription;
-(id)initWithName: (NSString*)name andDescription: (NSString*)description;
@end
NS_ASSUME_NONNULL_END

View File

@@ -10,4 +10,13 @@
@implementation Action
-(id)initWithName: (NSString*)name andDescription: (NSString*)description {
self = [super init];
self.name = name;
self.actionDescription = description;
return self;
}
@end