use of ch.cyberduck.binding.foundation.NSMutableArray in project cyberduck by iterate-ch.
the class PlistSerializer method setListForKey.
@Override
public <T extends Serializable> void setListForKey(final Collection<T> value, final String key) {
final NSMutableArray list = NSMutableArray.array();
for (Serializable serializable : value) {
list.addObject(serializable.<NSDictionary>serialize(new PlistSerializer()));
}
dict.setObjectForKey(list, key);
}
Aggregations