use base  mac  objccaststrict here or use base  mac  objccast and remove the call to  iskindofclass  since objccast does the check already bool isequal  id object dialogconfigurationidentifier  other base  mac  objccast dialogconfigurationidentifier object return other other uniqueid  uniqueid 