xcodeで書いているタイマープログラムの配列を設定しようとしています。値は秒単位であり、私が望むのは、その秒数でタイマーを開始するボタンをインターフェースビルダーに持つことです。これは、.h ヘッダー ファイルで時刻を提供するために宣言しようとしている構造体です。@collegeTimes.constructive または同様のもので呼び出すことができる、2 つの配列を含む単なる配列です。
前もって感謝します!
- (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.