8#include <Foundation/Foundation.h>
20 objCInstance = [getAs<NSObject>() retain];
25 if ((objCInstance =
other.getAs<NSObject>()))
26 objCInstance = [
other.getAs<NSObject>() retain];
31 std::swap(objCInstance,
other.objCInstance);
43 objCInstance = [
other.getAs<NSObject>() retain];
58 void *released = objCInstance;
59 objCInstance =
nullptr;
67 objCInstance =
nullptr;
76 objCInstance = [getAs<NSObject>() retain];
StrongReference()=default
StrongReference & operator=(const StrongReference &other) noexcept
Combined button and popup list for selecting options.