上一页 1 ··· 35 36 37 38 39 40 41 42 43 ··· 77 下一页
摘要: 1 随机数的使用头文件的引用#import #import srandom()的使用srandom((unsigned)(mach_absolute_time() & 0xFFFFFFFF));直接使用random()来调用随机数2 在UIImageView 中旋转图像float rotateAng... 阅读全文
posted @ 2015-08-14 22:25 小毛驴 阅读(191) 评论(0) 推荐(0) 编辑
摘要: ·UILable是iPhone界面最基本的控件,主要用来显示文本信息。·常用属性和方法有:1、创建CGRect rect = CGRectMake(100, 200, 50, 50);UILabel *label = [[UILabel alloc] initWithFrame:rect];2、te... 阅读全文
posted @ 2015-08-14 22:13 小毛驴 阅读(243) 评论(0) 推荐(0) 编辑
摘要: https://msdn.microsoft.com/en-us/data/jj574232.aspx场景是 A表中有B,B表中又C。都是一堆多的关系。怎样Mapping是个问题啊。varblogs1=context.Blogs.Include(b=>b.Posts.Select(p=>p.Com... 阅读全文
posted @ 2015-08-14 17:30 小毛驴 阅读(240) 评论(0) 推荐(0) 编辑
摘要: #import "EXFifthViewController.h"@interface EXFifthViewController ()@end@implementation EXFifthViewController@synthesize scrollView;@synthesize textVi... 阅读全文
posted @ 2015-08-14 14:34 小毛驴 阅读(254) 评论(0) 推荐(0) 编辑
摘要: 对时间处理,在开发时,时常碰到。一般有获取具体的年月日和星期,两个不同时间的差,某一天的前一天或后一天等 .现在只介绍获取具体的年月日和星期,及某一天的前一天或后一天的方法; 对时间的处理一般都会用到NSDate类和NSCalendar类两个类; 获取当前的时间是:NSDate *nowDate =... 阅读全文
posted @ 2015-08-14 14:28 小毛驴 阅读(222) 评论(0) 推荐(0) 编辑
摘要: Host: localhost:16648Connection: keep-aliveContent-Length: 36Accept: application/json, text/javascript, */*; q=0.01Origin: http://localhost:5627User-A... 阅读全文
posted @ 2015-08-14 10:28 小毛驴 阅读(258) 评论(0) 推荐(0) 编辑
摘要: UIView * farmeView=[[UIView alloc] initWithFrame:CGRectMake(0, 0, self.view.frame.size.width, self.view.frame.size.height)]; UITableView * conTentVie... 阅读全文
posted @ 2015-08-13 22:35 小毛驴 阅读(606) 评论(0) 推荐(0) 编辑
摘要: // GET api/values/5 [HttpGet("{logInName}/{pwd}/{orgId}")] public LogInOutPut Get(string logInName,string pwd, string orgId) { ... 阅读全文
posted @ 2015-08-13 14:56 小毛驴 阅读(351) 评论(0) 推荐(0) 编辑
摘要: 动态语言OC是一门不折不扣的动态语言,所以它的很多机制都是动态运行时决定的。这点和C语言不一样,C语言是静态绑定,也就是编译后所有的一切都已经决定了。这一点和C语言的函数指针有些类似,很多时候函数指针在编译的时候并不知道会指向哪个函数,所以此时就是动态绑定。举几个OC动态类型的例子,最为直接的就是i... 阅读全文
posted @ 2015-08-13 09:58 小毛驴 阅读(388) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2015-08-12 20:20 小毛驴 阅读(0) 评论(0) 推荐(0) 编辑
上一页 1 ··· 35 36 37 38 39 40 41 42 43 ··· 77 下一页