// // main.Swift // 字典 // // Created by zhangbiao on 14-6-15. // Copyright (c) 2014年 理想. All rights reserved. // import Foundation println("字典") /* 字典 ...
分类:
编程语言 时间:
2016-11-20 10:58:21
阅读次数:
176
iOS进程间通信之CFMessagePort iOS系统是出了名的封闭,每个应用的活动范围被严格地限制在各自的沙盒中。尽管如此,iOS还是提供了若干进程间通信机制,CFMessagePort就是其中之一。 从类名可以看出,CFMessagePort属于Core Foundation层的东西,其实现部 ...
分类:
移动开发 时间:
2016-11-17 10:40:53
阅读次数:
243
一下载验证文件为了搭建课程环境,首先需要RHCIfoundation和课程foundation,文件如下:Thecurrentlistoffilesforthefoundationlayer:
*RHCIfoundation-RHEL71-*.icmf(manifestfile)
*rhel-server-7.1-x86_64-dvd.iso(RHEL7.1DVD)
*foundation-config-7.x-*.rpm(student/instru..
分类:
其他好文 时间:
2016-11-16 03:25:17
阅读次数:
243
https://github.com/twbs/bootstrap https://github.com/semantic-org/semantic-ui/ https://github.com/zurb/foundation-sites https://github.com/dogfalo/mat... ...
分类:
其他好文 时间:
2016-11-15 20:08:03
阅读次数:
174
enumerateobjectsusingblock:不是Array的方法在NSArray使用。如果你想使用它,你需要一个实例NSArray而不是Array。 import Foundation var array: NSArray = ["Some", "strings", "in", "an", ...
分类:
编程语言 时间:
2016-11-14 15:23:22
阅读次数:
148
可以先在程序打印沙盒路径: NSLog(@"路径%@",NSHomeDirectory()); 其中一个沙盒存储更新与读取方法方法 #import <Foundation/Foundation.h> @interface ConfigData : NSObject //保存到沙盒中 + (void) ...
分类:
移动开发 时间:
2016-11-13 18:53:59
阅读次数:
209
(一) (1)import带预处理,防止重复包含,include需要手写。 (2)import是引入,@class是声明这个类。 (3)Foundation/Foundation.h包含了其他大量的头文件。 (4)类方法无法访问到成员变量,但是好处很多,当不依赖成员变量的时候,多用类方法。 (5)对 ...
分类:
其他好文 时间:
2016-11-10 16:50:18
阅读次数:
236
// // UIImagePickerController.h // UIKit // // Copyright (c) 2008-2015 Apple Inc. All rights reserved. // #import <Foundation/Foundation.h> #import <U ...
分类:
其他好文 时间:
2016-11-09 11:00:30
阅读次数:
202
一、概述 Windows Communication Foundation(WCF)是由微软发展的一组数据通信的应用程序开发接口,可以翻译为Windows通讯接口,它是.NET框架的一部分。由 .NET Framework 3.0 开始引入。 WCF的最终目标是通过进程或不同的系统、通过本地网络或是 ...
分类:
其他好文 时间:
2016-11-08 17:27:19
阅读次数:
143
2.1 算术运算函数 2.1.1 rand()函数:产生随机数 2.1.2 abs()函数/labs()函数:整数的绝对值 2.1.3 fabs()/fabsf()/fabsl()函数:浮点数的绝对值 2.1.4 floor()/floorf()/floorl()函数:向下取整 2.1.5 ceil ...
分类:
其他好文 时间:
2016-11-08 17:21:19
阅读次数:
283