Replace [view onShapeDeleted::] as [view onShapeDeleted:].