Well, if you're able to put the tracks into a table and have the track's title show up, the track is loaded enough to show whether it's starred or not, so you can just check the starred
property of the track.
Otherwise, you could do:
UITableViewCell *cell = …;
SPTrack *track = …;
[SPAsyncLoading waitUntilLoaded:track timeout:kSPAsyncLoadingDefaultTimeout then:^(NSArray *loadedItems, NSArray *notLoadedItems) {
if (notLoadedItems.count > 0) {
// Track didn't load, so bail out.
return;
}
if (track.starred) {
cell.imageView.image = [UIImage imageNamed:@"starred"];
} else {
cell.imageView.image = nil;
}
}];