redribben icon

BMSetting

redribben | PRO | 02/01/15 04:11:16 AM UTC | 0 ⭐ | 544 👁️ | Never ⏰ | []
Objective C |

0 B

|

None

|

0 👍

/

0 👎

//
//  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 SKey;
 
- (NSArray *)getArray {
// 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";
setting1.SKey = @"Call Alert";
 
 
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";
setting2.SKey = @"AutoPlay";
    
 
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";
setting3.SKey = @"Orientation";
 
 
//settingArray = [NSArray arrayWithObjects:setting1, setting2, setting3, nil];
 
    return [NSArray arrayWithObjects:setting1, setting2, setting3, nil];
}
 
@end

Comments