码迷,mamicode.com
首页 >  
搜索关键字:interface method/field    ( 13706个结果)
地图(基本应用,location管理器,注解)
#import "ViewController.h"#import @interface ViewController () //这里为什么要把它设置成为属性?为了就是解决强引用的问题,如果不设置,locationManger会在花括号之后,就会释放掉,这样就看不到了我们想要的地址改变信息,arc情...
分类:其他好文   时间:2014-07-16 16:59:24    阅读次数:240
UICollectionView的使用
文件结构:一:先定义cell,这里是Cell类,继承自UICollectionViewCell,用xib画出cellCollectionCell.h1 #import 2 3 @interface CollectionCell : UICollectionViewCell4 5 @endCollec...
分类:其他好文   时间:2014-07-16 15:49:37    阅读次数:355
c# 关键字delegate、event(委托与事件)[MSDN原文摘录][2]
//Demo1:Declaring an event in an interface and implementing it in //a class.// event_keyword.csusing System;public delegate void MyDelegate(); // de.....
分类:其他好文   时间:2014-07-16 15:41:01    阅读次数:246
Linux netstat 命令查看80端口状态
Netstat 命令用于显示各种网络相关信息,如网络连接,路由表,接口状态 (Interface Statistics),masquerade 连接,多播成员 (Multicast Memberships) 等等。输出信息含义执行netstat后,其输出结果为Active Internet conn...
分类:Web程序   时间:2014-07-16 15:35:09    阅读次数:363
《软硬件接口》课程大纲
《软硬件接口》课程大纲 Coursera课程 The Hardware/Software Interface是华盛顿大学提供的一门课程,其中汇编语言、进程结构、Java实现等章节内容我认为对于学编程的同学来说非常有用。教学环境是Fedora,顺带介绍了一些常用工具的使用。 课程大纲 这门课程将会让学生知道当软件运行时到底发生了什么,并说明这个问题可以通过硬件架构层、汇编层、C语言层和...
分类:其他好文   时间:2014-07-16 14:46:28    阅读次数:249
mybatis 的简单使用
需要用到的包:(这里只是其中一个版本,其他的百度) mysql-connector-java-5.1.6-bin mybatis-3.2.2 先看项目目录: 配置文件mybatisconfig.xml: <!DOCTYPE configuration PUBLIC "-//mybatis.org//DTD Config 3.0//EN" "http://mybati...
分类:其他好文   时间:2014-07-16 13:47:07    阅读次数:234
windows系统命令行方式设置ip、路由、dns
win+Rcmdroute-f#首先清本机路由netsh#准备设置interface#进入接口模式ip#进入ipv4设置addaddress"本地连接2"172.16.168.44255.255.0.0gateway172.16.168.2gwmetric1#指定设备并对其设置ip、路由adddns"本地连接2"8.8.4.4index=1#指定设备并对其设置首选dnsadddns"本地连接2"20..
分类:Windows程序   时间:2014-07-16 13:12:17    阅读次数:296
Validating Receipts Locally
Validating Receipts Locally Perform receipt validation immediately after your app is launched, before displaying any user interface or spawning any child processes. Implement this check in the ma...
分类:其他好文   时间:2014-07-16 11:48:20    阅读次数:267
创建透明的UIToolbar
TranslucentToolbar.h文件 #import @interface TranslucentToolbar : UIToolbar @end TranslucentToolbar.m文件 #import "TranslucentToolbar.h" @implementation TranslucentToolbar - (id)initWi...
分类:其他好文   时间:2014-07-16 11:22:19    阅读次数:210
Java中的回调函数学习-深入浅出
Java中的回调函数一般来说分为以下几步: 声明回调函数的统一接口interface A,包含方法callback();在调用类caller内将该接口设置为私有成员private A XXX;在caller内提供实现A接口的public方法(将外部该接口的实现类通过形参传入caller的XXX);caller的某个方法dosth()中会用到XXX.callback()方法;在caller的实...
分类:编程语言   时间:2014-07-16 09:06:18    阅读次数:321
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!