正负数转换 2019-04-02 本文已影响0人 等消息的人 - (NSInteger)change:(NSInteger)num { return num = num ? ~(num - 1) : ~num + 1; }