The "Custom View" item in Interface Builder is actually just a placeholder. When the nib gets loaded your custom view is instantiated in place of the custom view placeholder in the nib.
So, all you need to do is create your NSView subclass in Xcode, and then enter its class name into the attributes of the custom view in Interface builder.