added objectOnCreate to NSObject+IOC category.