IBOutletCollection with watchkit

Hi, I'm tried create a IBOutletCollection to group multiple WKInterfaceGroup on an array, but interface builder not allow connect the outlets.


How does apple developer to group an array on WWDC session "Layout and animation techniques for watchkit"?



for (NSInteger i = 0; i < self.outerGroups.count; i++) {

WKInterfaceGroup *group = self.outerGroups[i];

dispa tch_time_t time = dispatch_time(DISPATCH_TIME_NOW, (int64_t)delay);
dispatch_after(time, dispatch_get_main_queue(), ^{
[self animateWithDuration:duration animations:^{
[group setAlpha:alpha];

}];

});

}


IBOutletCollections aren't currently supported in WatchKit interfaces.

The code you refer to from WWDC initialized the outerGroups array in code from 12 separate outlet connections to each one of the groups.

IBOutletCollection with watchkit
 
 
Q