上一页 1 ··· 5 6 7 8 9
#import <UIKit/UIKit.h>@interface YS_PageControl : UIPageControl@end//////////////////////////////////#import "YS_PageControl.h"@implementation YS_PageControl//@synthesize activeImage;//@synthesize inactiveImage;- (id)initWithFrame:(CGRect)frame { self = [super initWithFrame:frame]; Read More
posted @ 2013-01-07 15:12 leevaboo Views(200) Comments(0) Diggs(0) Edit
- (id)initWithFrame:(CGRect)frame{ self = [super initWithFrame:frame]; if (self) { // Initialization code _backImage = [[UIImageView alloc] initWithFrame:CGRectMake(0, 0, frame.size.width, frame.size.height - 20)]; _backImage.userInteractionEnabled = YES; _backImage... Read More
posted @ 2013-01-07 11:11 leevaboo Views(558) Comments(0) Diggs(0) Edit
本来已经写了很多,就因为切换页面就没有了,以后切之前得注意了 mac电脑的伤不起UI里面有很多控件比如UIView UIControl UILabel UIButton UIScrollView UIWindow UIWebView UITabBarUITableViewUITableViewCellUIToolbarUITextFieldUITextView UIImageViewUIPageControlUIPickerViewUIProgressViewUIAlertViewUISearchBarUISegmentedControlUISearchBarUISliderUISwitchU Read More
posted @ 2013-01-02 01:08 leevaboo Views(298) Comments(0) Diggs(0) Edit
不得不给自己一个教训,切换之前发表一下,后面可以在编辑这样不至于写的东西就全没有了 Read More
posted @ 2013-01-01 23:42 leevaboo Views(124) Comments(0) Diggs(0) Edit
2011年-----开始oc 、ui的学习,与项目开发技术论坛 : http://stackoverflow.comhttp://www.cocoachina.comhttp://www.csdn.net,http://code4app.comhttp://www.devdiv.comhttp://www.51cto.comhttp://www.xw.hb.cn或者相关博客csdn博客: http://blog.csdn.net博客园: http://www.cnblogs.comcsdn移动开发技术新闻 http://mobile.csdn.net自己的技术博客 1.http://www.c Read More
posted @ 2012-12-30 17:00 leevaboo Views(777) Comments(1) Diggs(1) Edit
PropertiesalwaysBounceHorizontal //一个布尔值,决定是否弹跳总是出现水平滚动时达到结束内容的看法。默认值是NO 。@property(nonatomic) BOOL alwaysBounceHorizontal //如果这个属性被设置为YES而且bounces的值是YES,水平拖动是允许的内容,即使小于滚动视图的边界。默认值是NOalwaysBounceVertical //一个布尔值,决定是否反弹总是发生在垂直滚动到达结束内容。默认值是NO 。@property(nonatomic) BOOL alwaysBounceVertical... Read More
posted @ 2012-05-17 10:00 leevaboo Views(1545) Comments(0) Diggs(0) Edit
+ (BOOL)isBlankString:(NSString *)string{if (string == nil) {returnYES;}if (string == NULL) {returnYES;}if ([string isKindOfClass:[NSNullclass]]) {returnYES;}if ([[string stringByTrimmingCharactersInSet:[NSCharacterSetwhitespaceAndNewlineCharacterSet]] length]==0) {returnYES;}returnNO;} Read More
posted @ 2012-05-04 09:51 leevaboo Views(540) Comments(0) Diggs(0) Edit
转载:iPhone/Mac Objective-C内存管理教程和原理剖析最近做了一期ipad平台的项目,感觉对Objective-C的内存管理机制有了更深入的理解,偶然间在cocoa论坛看到了“iPhone/Mac Objective-C内存管理教程和原理剖析”这篇文章,其中的总结跟我的体会有很多相似之处,这篇文章条理清晰,很完整的总结了一些内存管理的规则和范式,帮助我把一些零散的对内存管理的理解系统的串联起来,很感谢这篇文章的作者,转载过来,方便以后参考 :) 版权声明此文版权归作者Vince Yuan (vince.yuan#gmail.com)所有。欢迎非营利性转载,转载时必须包含原始链 Read More
posted @ 2011-12-15 13:04 leevaboo Views(184) Comments(0) Diggs(0) Edit
上一页 1 ··· 5 6 7 8 9