Files
old-festivalhelper/FestivalHelper/about/FESAboutEntry.m

32 lines
779 B
Mathematica
Raw Normal View History

//
// FESAboutEntry.m
// FestivalHelper
//
// Created by Hamo Hapic on 06/09/14.
// Copyright (c) 2014 Senad Uka. All rights reserved.
//
#import "FESAboutEntry.h"
@implementation FESAboutEntry
@synthesize aboutId;
@synthesize aboutAppRateUrl;
@synthesize aboutDescription;
@synthesize aboutFestivalName;
-(id)initWithJSONData:(NSDictionary*)aboutData {
self = [super init];
if(self){
//NSLog(@"initWithJSONData method called");
self.aboutId = [[aboutData objectForKey:@"id"] integerValue];
self.aboutAppRateUrl = [aboutData objectForKey:@"appRateUrl"];
self.aboutDescription = [aboutData objectForKey:@"description"];
self.aboutFestivalName = [aboutData objectForKey:@"festivalName"];
}
return self;
};
@end