@@ -68,10 +68,20 @@ * \param firstObject The first object for the set * \return A new, autoreleased set with the specified objects */ + setWithObjects: (id)firstObject, ...; +/** + * \brief Creates a new set with the specified objects. + * + * \param objects An array of objects for the set + * \param count The number of objects in the specified array + * \return A new, autoreleased set with the specified objects + */ ++ setWithObjects: (id*)objects + count: (size_t)count; + /** * \brief Initializes an already allocated set with the specified set. * * \param set The set to initialize the set with * \return An initialized set with the specified set @@ -92,10 +102,20 @@ * \param firstObject The first object for the set * \return An initialized set with the specified objects */ - initWithObjects: (id)firstObject, ...; +/** + * \brief Initializes an already allocated set with the specified objects. + * + * \param objects An array of objects for the set + * \param count The number of objects in the specified array + * \return An initialized set with the specified objects + */ +- initWithObjects: (id*)objects + count: (size_t)count; + /** * \brief Initializes an already allocated set with the specified object and * va_list. * * \param firstObject The first object for the set