Fixed Depreacted property Assignment

objects->isa has been deprecated to favour object_setClass(id object, Class class)