SHOW:
|
|
- or go back to the newest paste.
1 | // | |
2 | // BMSettings.m | |
3 | // IBcells | |
4 | // | |
5 | // Created by Bogdan Michalchuk on 1/28/15. | |
6 | // Copyright (c) 2015 PDXRR. All rights reserved. | |
7 | // | |
8 | ||
9 | #import "BMSettings.h" | |
10 | ||
11 | - | @implementation BMSettings { |
11 | + | @implementation BMSettings |
12 | - | NSArray *settingArray; |
12 | + | |
13 | @synthesize name; | |
14 | @synthesize detail; | |
15 | @synthesize setOn; | |
16 | @synthesize setOff; | |
17 | @synthesize preferred; | |
18 | ||
19 | -(NSArray *)getArray | |
20 | { | |
21 | // Create settings array | |
22 | BMSettings *setting1 = [BMSettings new]; | |
23 | setting1.name = @"Live Call Confirmation"; | |
24 | setting1.detail = @"An alert pops up and asks if you are sure that you would like to make to the studio"; | |
25 | setting1.setOn = @"There will be a pop up that confirms that you really do wish to make the call"; | |
26 | setting1.setOff = @"The call will go through right away"; | |
27 | ||
28 | ||
29 | BMSettings *setting2 = [BMSettings new]; | |
30 | setting2.name = @"Play On Launch"; | |
31 | setting2.detail = @"The option to have Radio automatically start playing when the application launches"; | |
32 | setting2.setOn = @"The radio will start playing when the application launches"; | |
33 | setting2.setOff = @"The play button will need to have to be clicked for the audio to start playing"; | |
34 | ||
35 | ||
36 | BMSettings *setting3 = [BMSettings new]; | |
37 | setting3.name = @"Allow Landscape Orientation"; | |
38 | setting3.detail = @"Enables the applications to be used in all orientations"; | |
39 | setting3.setOn = @"The application could be used when the device is sideways"; | |
40 | setting3.setOff = @"The application will only work in portrait style"; | |
41 | ||
42 | return [NSArray arrayWithObjects:setting1, setting2, setting3, nil];; | |
43 | } | |
44 | @end |