// // BMSettings.m // IBcells // // Created by Bogdan Michalchuk on 1/28/15. // Copyright (c) 2015 PDXRR. All rights reserved. // #import "BMSettings.h" @implementation BMSettings { NSArray *settingArray; } @synthesize name; @synthesize detail; @synthesize setOn; @synthesize setOff; @synthesize preferred; - (id) init { // Create settings array BMSettings *setting1 = [BMSettings new]; setting1.name = @"Live Call Confirmation"; setting1.detail = @"An alert pops up and asks if you are sure that you would like to make to the studio"; setting1.setOn = @"There will be a pop up that confirms that you really do wish to make the call"; setting1.setOff = @"The call will go through right away"; BMSettings *setting2 = [BMSettings new]; setting2.name = @"Play On Launch"; setting2.detail = @"The option to have Radio automatically start playing when the application launches"; setting2.setOn = @"The radio will start playing when the application launches"; setting2.setOff = @"The play button will need to have to be clicked for the audio to start playing"; BMSettings *setting3 = [BMSettings new]; setting3.name = @"Allow Landscape Orientation"; setting3.detail = @"Enables the applications to be used in all orientations"; setting3.setOn = @"The application could be used when the device is sideways"; setting3.setOff = @"The application will only work in portrait style"; settingArray = [NSArray arrayWithObjects:setting1, setting2, setting3, nil]; return self; } @end