公用类库代码 常用方法namespace UtilityLibary{ public
interface ILog { int FileSize { get; set; } /// /// 写入log到指定文件 /// ...
分类:
其他好文 时间:
2014-05-09 17:07:24
阅读次数:
431
前言: 注:如果需要得到支持批Python3.x以及包含了勘误表,附录,和说明的更新版规范,请查看PEP
3333 摘要: 这篇文档详细说明了一套在web服务器与Python
web应用程序(web框架)之间的已提出的标准接口,从而方便web应用在各种web服务器之间的移植。理论和目标 Python...
分类:
编程语言 时间:
2014-05-09 16:52:10
阅读次数:
721
刚学习苹果开发的时候不懂代理,Block,感觉好麻烦,就知道大概意思,现在回头看,发现就懂了,留一份自己的Demo希望初学的人能够看出点什么。代理传值:在第二个界面输入值传给第一个界面MainViewController#import
@interface MainViewController : ...
分类:
其他好文 时间:
2014-05-09 16:51:06
阅读次数:
394
介绍:AIDL 即 Android Interface Definition
Language使用:1.新建.aidl文件1 //AIDL 文件所在的包2 package com.houny.demo_aidl.aidl;3 4
//接口名必须和AIDL文件名一致5 interface ISay{6...
分类:
移动开发 时间:
2014-05-08 21:32:42
阅读次数:
511
1.类目类目就是为已存在的类添加新的方法。但是不能添加实例变量。比如系统的类,我们看不到他的.m文件,所以没有办法用直接添加方法的方式去实现。首先先建个类目
command+n给什么类写类目下面就写那个类的名字 上面填的是给这个类添加的方法的名字@interface NSMutableArray (...
分类:
其他好文 时间:
2014-05-08 21:10:20
阅读次数:
284
IntroductionThis document provides instructions
for integrating Openfire authentication, users, and groups with your custom
database tables. This is u...
分类:
数据库 时间:
2014-05-05 12:46:39
阅读次数:
672
题目:Given an array of strings, return all groups of
strings that are anagrams.Note: All inputs will be in lower-case.class Solution
{public: vector ...
分类:
其他好文 时间:
2014-05-04 20:48:08
阅读次数:
608
OC点语法和变量作用域一、点语法(一)认识点语法声明一个Person类: 1 #import 2 3
@interface Person : NSObject 4 { 5 int _age;//默认为@protected 6 } 7 8 -
(void)setAge:(int)age;...
分类:
其他好文 时间:
2014-05-04 10:25:07
阅读次数:
311
1.[root@rusky ~]# id #显示当前用户的主组和备用组uid=0(root)
gid=0(root)
groups=0(root),1(bin),2(daemon),3(sys),4(adm),6(disk),10(wheel)[root@rusky ~]#
groups #显...
分类:
其他好文 时间:
2014-05-03 23:23:18
阅读次数:
647
OC面向对象—封装一、面向对象和封装面向对象的三大特性:封装(成员变量)、继承和多态在OC语言中,使用@interface和@implementation来处理类。@interface就好像暴露在外面的时钟表面,像外界提供展示以及接口。@implementation就好像隐藏在时钟内部的构造实现,把...
分类:
其他好文 时间:
2014-05-03 22:59:45
阅读次数:
365