public static NSSet MakeNSObjectSet <T> (T [] values) where T : NSObject { NSArray a = NSArray.FromNSObjects(values); return((NSSet)Runtime.GetNSObject(MonoMac.ObjCRuntime.Messaging.IntPtr_objc_msgSend_IntPtr(class_ptr, selSetWithArray, a.Handle))); }
public NSOrderedSet(params NSObject [] objs) : this(NSArray.FromNSObjects(objs)) { }
public NSSet(NSObject [] objs) : this(NSArray.FromNSObjects(objs)) { }
public static NSOrderedSet MakeNSOrderedSet <T> (T [] values) where T : NSObject { NSArray a = NSArray.FromNSObjects(values); return(Runtime.GetNSObject <NSOrderedSet> (MonoMac.ObjCRuntime.Messaging.IntPtr_objc_msgSend_IntPtr(class_ptr, Selector.GetHandle(selSetWithArray), a.Handle))); }