无标题文章

通过打开生成的老协议实现文件,发现里面有很多IO读写函数的实现以及setter函数的实现,随便举个例子:

- (ApnsYTVoice*) SetFromuuid:(uint32_t) value {
  self.hasFromuuid = YES;
  self.fromuuid = value;
  return self;
}

- (ApnsYTVoice*) SetFrominfo:(Account*) value {
  self.hasFrominfo = YES;
  self.frominfo = value;
  return self;
}

- (ApnsYTVoice*) SetMsgId:(uint64_t) value {
  self.hasMsgId = YES;
  self.msgId = value;
  return self;
}

- (ApnsYTVoice*) SetVoiceType:(int32_t) value {
}

sadf

你可能感兴趣的:(无标题文章)