Fix build error "Property with 'retain (or strong)' attribute must be of object type"