码迷,mamicode.com
首页 >  
搜索关键字:groups @interface    ( 15105个结果
POJ 2769 Reduced ID Numbers
思路: 枚举 Reduced ID Numbers Time Limit: 2000MS Memory Limit: 65536K Total Submissions: 8847 Accepted: 3552 Description T. Chur teaches various groups of students at university U. Every U-student ...
分类:其他好文   时间:2014-08-21 17:24:04    阅读次数:166
[LeetCode] Anagrams
Given an array of strings, return all groups of strings that are anagrams.Note: All inputs will be in lower-case.用map记录出现的string的下标,避免了再次遍历。class Solu...
分类:其他好文   时间:2014-08-21 16:55:04    阅读次数:177
在openstack宿主机里删除一个虚拟机关联的网卡、端口及桥
在宿主机里删除一个虚拟机关联的网卡、端口及桥1)、用ovs-vsctl命令查看宿主机的所有的桥信息[root@os-node4~]#ovs-vsctlshow169dc0d6-0c44-42df-9bd5-5e1f380a8704Bridgebr-intPortint-br-intInterfaceint-br-intPortphy-br-intInterfacephy-br-intPort"em2"Interface"em2"Po..
分类:其他好文   时间:2014-08-21 15:15:24    阅读次数:321
用IOS做一个界面切换的效果(登录界面和注册界面和找回密码界面的切换)(用封装好的lable和textf创建界面)
创建一个类封装uitextfield和UIlabel (源代码.m文件) #import "TLView.h" @interface TLView () {     UILabel *_desLabel;    //左边的lable     UITextField *_textField;//右边的 } @end @implementatio...
分类:移动开发   时间:2014-08-21 13:28:14    阅读次数:643
如何封装UILable 输入框 和UIField 显示框 同时创建对象(经典)
源代码(.m文件) #import "TLView.h" //本类的延展 @interface TLView () {     UILabel *_desLabel;    //左边的lable     UITextField *_textField;//右边的lable } @end @implementation...
分类:其他好文   时间:2014-08-21 13:27:14    阅读次数:165
CentOS重新加载网卡报错 Active connection path: /org/freedesktop/NetworkManager/ActiveConnection/23
重新加载网卡时出现的错误如下: 1 [root@vdb1 dev]# service network restart 2 Shutting down interface eth0: Device state: 3 (disconnected) 3 ...
分类:Web程序   时间:2014-08-21 12:54:54    阅读次数:294
批量禁用隧道适配器
批量禁用隧道适配器:在CMD下分别执行如下三条命令。netsh interface teredo set state disable netsh interface 6to4 set state disable netsh interface isatap set state disable使用de...
分类:其他好文   时间:2014-08-21 12:51:34    阅读次数:192
OC实现简单的计算器
//注:只能实现简单的加减乘除,不可以连续运算#define kButton_Color [UIColor cyanColor]//定义键的背景颜色宏,便于更改颜色@interface YJAppDelegate () { UIView *_containter; UIButton *_numberButton; UILabel *_label; CGFloat n...
分类:其他好文   时间:2014-08-21 11:30:14    阅读次数:605
用iOS 做一个简易计算器 (功能完备)
源代码(.m文件) #import "ZKJAppDelegate.h" @interface ZKJAppDelegate () @property (retain,nonatomic) UIView *containView; @property (retain, nonatomic) UIButton *button; @pr...
分类:移动开发   时间:2014-08-21 11:29:04    阅读次数:427
自定义视图:视图的封装过程.
@interface LTView : UIView //1.是否采用安全模式 - (void)setSecureEntry:(BOOL)secureEntry; //2.设置键盘的类型 - (void)setKeyBoardType:(UIKeyboardType)keyBoardType; //3.设置textField代理 - (void)setDelegate:(id)delegate; ...
分类:其他好文   时间:2014-08-21 09:52:33    阅读次数:232
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!