about page now gets information from service

This commit is contained in:
Senad Uka
2014-09-07 07:18:07 +02:00
parent 90d0d8561b
commit 376072712a
15 changed files with 522 additions and 106 deletions

View File

@@ -0,0 +1,31 @@
//
// 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