摘要:
用过UIScrollView的都会发现UIScrollView不会响应touch事件,这样就无法在touches相关的方法中做一些事情了,比如收回键盘等等。其实写个categroy就可以解决这个问题了。具体实现如下:@implementation UIScrollView (UITouchEvent... 阅读全文
摘要:
//学生结构体typedef struct student{ char name[20]; //姓名 char sex; //性别 int age; //年龄}Student;int main(int argc, const char * argv[])... 阅读全文