码迷,mamicode.com
首页 >  
搜索关键字:interface eth0    ( 16652个结果
第二十七天 春之细雨润物于无形 —Spring的依赖注入
IT人习惯把具体的事物加工成的形状一致的类,正是这样的一致,加上合适的规范,才能彰显对象筋道的牙感和bean清香的味道。Spring比谁都清楚OO的奥妙,让组件之间的依赖关系由容器在运行时期决定,称作依赖注入(Dependency Injection)。...
分类:编程语言   时间:2014-06-19 11:03:35    阅读次数:402
java接口的高级应用
直接上菜 /*接口类*/ public interface MsgListener{ public void afterMsgRecived(String msgData); } /*工具类*/ public class Tools{ public static void getMsgData(String reciver,MsgListener listener){ reciver+...
分类:编程语言   时间:2014-06-19 10:57:26    阅读次数:295
Blocks实现代理传值
一、RootViewController: #import "RootViewController.h" #import "SecondViewController.h" @interface RootViewController () { UILabel *_myLabel; } @end @implementation RootViewController - (id)in...
分类:其他好文   时间:2014-06-19 10:24:12    阅读次数:283
OC-内存管理的一些要点
创建一个BOOK对象,对其属性进行声明 定义。 @property 属性声明 定义了对属性的赋值  -(void) dealloc 方法在对象销毁的时候进行调用; #import @interface Book : NSObject @property (nonatomic,assign) int price; @end #import "Book.h" @imp...
分类:其他好文   时间:2014-06-16 12:05:04    阅读次数:271
1.1.3 Getting Started_Budding Your First App_Building a Simple User Interface
The graphical user interface for an Android app is built using a hierarchy ofViewandViewGroupobjects.Viewobjects are usually UI widgets such asbuttons...
分类:移动开发   时间:2014-06-16 10:43:38    阅读次数:268
自定义相机(一) -- 预览视频流
实现功能: 自定义视频流,实时预览。运行环境: 1. XCODE 5.1.1 2. 真机(IPHONE5 , IOS6.1.4)#import #import //导入 - "视频流"@interface MCViewController : UIViewController@p...
分类:其他好文   时间:2014-06-16 06:01:42    阅读次数:254
自定义相机(二) -- 拍照
实现功能: 相机拍照,把图像保持到系统相册。运行环境: 1. XCODE 5.1.1 2. 真机(IPHONE5 , IOS6.1.4)#import #import //导入 - "视频流"@interface MCViewController : UIViewControll...
分类:其他好文   时间:2014-06-13 20:05:06    阅读次数:324
Vmware 克隆CentOS 网络IP配置
在VMware里克隆出来的CentOS Linux。。ifconfig...没有看到eth0.。然后重启网卡又报下面错误。故障现象:service network restartShutting down loopback insterface: ...
分类:其他好文   时间:2014-06-13 17:35:14    阅读次数:384
NSUserDefault 保存自定义对象
由于NSUserDefaults 不支持保存自定类,保存的对象需要实现NSCoding协议,不过自定的类型就算实现了NSCoding也不可以保存,可以通过以下方法实现://h文件#import @interface People : NSObject@property(nonatomic,copy)...
分类:其他好文   时间:2014-06-13 17:17:52    阅读次数:177
Spring 3.2 ClassMetadataReadingVisitor 错误
nested exception is java.lang.IncompatibleClassChangeError: class org.springframework.core.type.classreading.ClassMetadataReadingVisitor has interface...
分类:编程语言   时间:2014-06-13 16:38:47    阅读次数:373
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!