How create the datasource array images for random number of elements
images = @[@"alarm.png", @"camera.png", @"time.png", @"dots.png", @"email.png", @"map.png", @"message.png", @"movie.png", @"music.png", @"passbook.png", @"phone.png", @"photo.png", @"run.png", @"setting.png", @"spiral.png", @"stopwatch.png", @"translate.png", @"twitter.png", @"weather.png", @"weixin.png",];
how to create this array for random number of items, suppose i want to put stopwatch.png in centre and weixin.png very close to stopwatch.png, just the need the pattern
sorry for late. I design this base on row. If you want to put something in centre, really inconvenient. rows arithmetic in function _layoutHexWidthWithCount: I think that modify layout arithmetic is better
thanks for your nice reply, yeah i understand you.