Advertisement
Guest User

Untitled

a guest
Jan 28th, 2015
171
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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 {
  12.     NSArray *settingArray;
  13. }
  14.  
  15.  
  16. @synthesize name;
  17. @synthesize detail;
  18. @synthesize setOn;
  19. @synthesize setOff;
  20. @synthesize preferred;
  21.  
  22. -(NSArray *)getArray
  23. {
  24. // Create settings array
  25. BMSettings *setting1 = [BMSettings new];
  26. setting1.name = @"Live Call Confirmation";
  27. setting1.detail = @"An alert pops up and asks if you are sure that you would like to make to the studio";
  28. setting1.setOn = @"There will be a pop up that confirms that you really do wish to make the call";
  29. setting1.setOff = @"The call will go through right away";
  30.  
  31.  
  32. BMSettings *setting2 = [BMSettings new];
  33. setting2.name = @"Play On Launch";
  34. setting2.detail = @"The option to have Radio automatically start playing when the application launches";
  35. setting2.setOn = @"The radio will start playing when the application launches";
  36. setting2.setOff = @"The play button will need to have to be clicked for the audio to start playing";
  37.  
  38.  
  39. BMSettings *setting3 = [BMSettings new];
  40. setting3.name = @"Allow Landscape Orientation";
  41. setting3.detail = @"Enables the applications to be used in all orientations";
  42. setting3.setOn = @"The application could be used when the device is sideways";
  43. setting3.setOff = @"The application will only work in portrait style";
  44.  
  45.  
  46.  
  47. settingArray = [NSArray arrayWithObjects:setting1, setting2, setting3, nil];
  48. return settingArray;
  49. }
  50. @end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement