解决编译不过的两个问题

This commit is contained in:
薛明浩 2018-03-11 11:24:32 +08:00
parent 615a7d4a51
commit ae72c0eaeb
2 changed files with 3 additions and 1 deletions

View File

@ -63,7 +63,8 @@
} }
else if ([modelInArray isKindOfClass:[NIMTimestampModel class]]) else if ([modelInArray isKindOfClass:[NIMTimestampModel class]])
{ {
cellHeight = [modelInArray height]; NIMTimestampModel *model = (NIMTimestampModel *)modelInArray;
cellHeight = [model height];
} }
else else
{ {

View File

@ -22,6 +22,7 @@
#include <fcntl.h> #include <fcntl.h>
#include <errno.h> #include <errno.h>
#include <pthread.h> #include <pthread.h>
#include <sys/_select.h>
@implementation ShakeManager @implementation ShakeManager