1、一个错误The current deployment target does not support automated __weak references这个错误被所述支持iOS版本号不支持相对低的weakkeyword,要替换 unsafe_unretained 问题得以克服。 ...
分类:
移动开发 时间:
2015-09-30 16:05:34
阅读次数:
232
#! /usr/bin/env python ###### Linked List python implementation###### @reference Data Structures and Algorithm Analysis in C:Second Edition : Mark All...
分类:
编程语言 时间:
2015-09-30 12:44:23
阅读次数:
223
方法一、在Activity的onCreate中添加如下代码getWindow().setFormat(PixelFormat.TRANSLUCENT); reference to : http://www.jb51.net/article/72719.htm
分类:
移动开发 时间:
2015-09-30 12:36:25
阅读次数:
489
利用国庆假期,复习了一下之前学的知识,发现之前的知识自己都忘的差不多了,赶紧的抓紧时间好好的练习练习,为下个月找工作做好准备啊......#import "ViewController.h"@interface ViewController ()@property (weak, nonatomic)...
分类:
Web程序 时间:
2015-09-30 10:53:22
阅读次数:
264
1. ISO是一个组织,OSI是一个模型。2. OSI不是协议,是网络体系结构的概念模型3. OSI参考模型全称为:Open System Interconnection Reference Model(开放式系统互连的参考模型)来自为知笔记(Wiz)
分类:
其他好文 时间:
2015-09-29 23:32:43
阅读次数:
202
还是前面例子中的问题,如果想在xml中设置球的半径,应该怎么办?我们先了解下自定义属性的知识。一、属性文件中format首先我们要查看values目录下是否有attrs.xml,如果没有要创建一个。format可选项reference //引用colorbooleandimension /尺寸flo...
分类:
移动开发 时间:
2015-09-29 23:24:34
阅读次数:
231
使用NSTimer的类#import "TBTimerTestObject.h"#import "TBWeakTimerTarget.h"@interface TBTimerTestObject()@property (nonatomic, weak) NSTimer *timer;@end@imp...
分类:
移动开发 时间:
2015-09-29 18:23:21
阅读次数:
308
有时候我们需呀输入的内容是联动的,比如省份与城市,书名与章节等,这时候我们可以使用UIPickerVIew来实现.首先向设计界面中拖入一个pickerView并关联代码,同时设置dataSource和delegate代理.注:不要忘了在.h文件中添加协议@property (weak, nonato...
分类:
其他好文 时间:
2015-09-29 16:55:14
阅读次数:
160
1. 文档中英文 Spring Framework Reference Documentation http://docs.spring.io/spring/docs/4.1.7.RELEASE/spring-framework-reference/htmlsingle/ https://www.g...
分类:
编程语言 时间:
2015-09-29 11:10:48
阅读次数:
150
Linux下编译程序时,经常会遇到“undefined reference to XXX” 报错,这里总结一些可能的原因和解决方案,给需要的朋友:说道undefined reference error,先提一下Linux gcc链接规则:链接的时候查找顺序是:-L 指定的路径, 从左到右依次查找由 ...
分类:
系统相关 时间:
2015-09-28 23:47:05
阅读次数:
203