码迷,mamicode.com
首页 >  
搜索关键字:.property    ( 8449个结果
CAGradientLayer简介(处理视图渐变色)
CAGradientLayer可以方便的处理颜色渐变。Properties:@property(copy)NSArray*colors渐变颜色的数组[cpp]view plaincopy[NSArrayarrayWithObjects:(id)[[[UIColorblackColor]colorWi...
分类:其他好文   时间:2014-08-14 16:26:38    阅读次数:125
UVA - 12046 Great Numbers
Description Problem G - Great Numbers In this problem you have to count the number of great numbers of length n. Here a great number must have the following property: the number must be divis...
分类:其他好文   时间:2014-08-13 22:35:27    阅读次数:219
纯代码实现实现各种效果的圆角按钮。
#import @interface APRoundedButton : UIButton@property (nonatomic, assign) int style;@end//// Created by Alberto Pasca on 27/02/14.// Copyright (c) .....
分类:其他好文   时间:2014-08-13 12:32:26    阅读次数:212
iOS中中UIView头文件详细解析
@interface UIView : UIResponder/*** 通过一个frame来初始化一个UI控件*/- (id)initWithFrame:(CGRect)frame;// YES:能够跟用户进行交互@property(nonatomic,getter=isUserInteractio...
分类:移动开发   时间:2014-08-13 00:45:14    阅读次数:276
Android Property Animation
Property Animation介绍:  出生在3.0,是利用了View所拥有的属性,进行一系列的操作。比如一个View有什么样的setAbc的属性,那么理论上就可以设置它。 它不仅改变View的绘制,也改变了View的属性;而Tween Animation 只改变View的绘制。 ValueAnimator 为动画的基类,它有一个子类ObjectAnimator。需要Interpola...
分类:移动开发   时间:2014-08-12 22:04:44    阅读次数:339
UVALive 6093 Emergency Room --优先队列实现的模拟
题意:给n个医生,这些医生有一个上班时间,然后给一些病人,病人有一个到达的时间,以及一些诊断,诊断有property(优先级)和duration(诊断时间)这两个属性,每个病人可能要诊断多次,最后问每个病人的全部疗程完成离开医院的时间是多少。分析:用优先队列存储诊断,病人,然后模拟一个诊断过程,完成...
分类:其他好文   时间:2014-08-12 21:33:34    阅读次数:284
ObjectiveC 文件操作二
10,文件委托,以便操作文件。头部看起来像是这样。@interface MyFileManager : NSObject@property(strong)NSFileManager *fileManager;@end.m文件#import "MyFileManager.h"@implementati...
分类:其他好文   时间:2014-08-12 16:17:34    阅读次数:250
[转]C3P0连接池详细配置
<c3p0-config> ??<default-config> ?<!--当连接池中的连接耗尽的时候c3p0一次同时获取的连接数。Default:?3?--> ?<property?name="acquireIncrement">3</property> ? ?<!--定义在从数据库获取新连接失败...
分类:其他好文   时间:2014-08-12 14:03:04    阅读次数:175
UIAlertView控件
/*alertView.h*/#import@interfacealertView:UIViewController{//创建控件对象UIAlertView*iToast;}@property(nonatomic,retain)UIAlertView*iToast;//让警告框消失的方法-(void...
分类:其他好文   时间:2014-08-12 13:17:34    阅读次数:251
弄清 CSS3 的 transition 和 animation
原文:弄清 CSS3 的 transition 和 animation弄清 CSS3 的 transition 和 animation transition transition 属性是transition-property,transition-duration,transition-timing...
分类:Web程序   时间:2014-08-12 10:09:23    阅读次数:211
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!