This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

Constant.m

By: a guest on Jul 25th, 2013  |  syntax: Objective C  |  size: 0.22 KB  |  views: 7  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. #import "Constant.h"
  2.  
  3. NSArray *array;
  4.  
  5. @implementation Constant
  6.  
  7. +(NSArray*)getArray
  8. {
  9.     return array;
  10. }
  11.  
  12. +(void)setArray:(NSArray*)arraytoset
  13. {
  14.     array=[[NSArray alloc] initWithArray:arraytoset];
  15. }
  16. @end
clone this paste RAW Paste Data