Array Values in Cocoa App - Initializer not constant error
Im trying to set an array for a timer program im writing in xcode. the values are in seconds, and what i want is to have a button in the interface builder that starts a timer with that number of seconds. This is the struct im trying to declare to provide the times in a .h header file. its just an array with 2 arrays in it, that i could call with @collegeTimes.constructive or something similar.

Thanks in advance!
 

    - (NSDictionary *)debateTimes;
     id debateTimes = [[NSDictionary alloc] initWithObjectsAndKeys:
     [NSDictionary dictionaryWithObjectsAndKeys:
       @"540", @"constructive",
       @"360", @"rebuttal",
       @"180", @"cx",
       @"600", @"prep",
         nil], @"collegeTimes",
     [NSDictionary dictionaryWithObjectsAndKeys:
       @"480", @"constructive",
       @"300", @"rebuttal",
       @"180", @"cx",
       @"480", @"prep",
         nil], @"hsTimes",
                       nil]; \\error is called here.

Array Values in Cocoa App - Initializer not constant error
===

Im trying to set an array for a timer program im writing in xcode. the values are in seconds, and what i want is to have a button in the interface builder that starts a timer with that number of seconds. This is the struct im trying to declare to provide the times in a .h header file. its just an array with 2 arrays in it, that i could call with @collegeTimes.constructive or something similar.

Thanks in advance!
 

    - (NSDictionary *)debateTimes;
     id debateTimes = [[NSDictionary alloc] initWithObjectsAndKeys:
     [NSDictionary dictionaryWithObjectsAndKeys:
       @"540", @"constructive",
       @"360", @"rebuttal",
       @"180", @"cx",
       @"600", @"prep",
         nil], @"collegeTimes",
     [NSDictionary dictionaryWithObjectsAndKeys:
       @"480", @"constructive",
       @"300", @"rebuttal",
       @"180", @"cx",
       @"480", @"prep",
         nil], @"hsTimes",
                       nil]; \\error is called here.
