摘要:
这里 错误的原因是因为没有加上以下代码:if(cell == nil) { cell = [[[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:CellIdentif... 阅读全文
摘要:
一般的软件 都有一个 登陆的功能,然后根据登陆的UserID 查看不同的信息,这也就意味着UserID 是一个 全局变量,之后的类我们都需要用到,所以 这也就需要定义 全局变量来解决问题,这里提供2种方法:第一种把全局变量设置到AppDelegate中使用很简单,在AppDelegate.h文件中 ... 阅读全文