摘要: 一、UITabBarController 使用详解 UITabBarController是IOS中很常用的一个viewController,例如系统的闹钟程序,ipod程序等。UITabBarController通常作为整个程序的rootViewController,而且不能添加到别的cont... 阅读全文
posted @ 2015-09-06 16:49 筱筱心意 阅读(528) 评论(0) 推荐(0)
摘要: 界面之间的传值的方法有很多,最基本的是可以实例化对象进行传值,也可以使用block块或者是使用通知进行传值。这里记录一下关于通知进行传值: 首先使用通知你需要在接收方添加一个通知即注册通知监听器,通知中心(NSNotificationCenter)提供了方法来注册一个监听通知的监听器(Obs... 阅读全文
posted @ 2015-08-14 16:57 筱筱心意 阅读(1313) 评论(0) 推荐(0)
摘要: 分辨率 命名iphone4s 640px*960px default.pngiphone5 640px*1136px default@2x.pngiphone5s 640px*1136px default-568h@2x.pngiphone6 750px... 阅读全文
posted @ 2015-08-05 16:40 筱筱心意 阅读(330) 评论(0) 推荐(0)
摘要: //邮箱+ (BOOL) validateEmail:(NSString *)email{ NSString *emailRegex = @"[A-Z0-9a-z._%+-]+@[A-Za-z0-9.-]+\\.[A-Za-z]{2,4}"; NSPredicate *emailTest... 阅读全文
posted @ 2015-06-26 15:25 筱筱心意 阅读(188) 评论(0) 推荐(0)
摘要: Font Family: American TypewriterFont:AmericanTypewriterFont:AmericanTypewriter-BoldFont Family: AppleGothicFont: AppleGothicFont Family: ArialFont: Ar... 阅读全文
posted @ 2015-04-09 11:31 筱筱心意 阅读(340) 评论(0) 推荐(0)
摘要: 在cell.m文件中 1)初始化方法中: self.lalName=[[UILabel alloc] initWithFrame:CGRectMake(71, 5, 250, 40)]; [self addSubview:self.lalName]; 2)创建方法://给用户介绍赋值并且实... 阅读全文
posted @ 2015-04-03 14:14 筱筱心意 阅读(393) 评论(0) 推荐(0)
摘要: 1) 在iOS 7之前也有一种用于文字排版和渲染的技术——Core Text,而引入Text Kit的目的并非要取代Core Text。 Core Text是面􏰱􏲉层的文字排版和渲染技术,如果我们需要将文本内容􏲊接渲染到图形上下文时,从性能角度考虑 􏲋,最佳􏲌方案􏰣是使用Core T... 阅读全文
posted @ 2015-04-03 11:29 筱筱心意 阅读(3833) 评论(0) 推荐(1)
摘要: iAd广告是苹果官方广告平台,我们可以在iOS平台上放置iAd广告。对于在iAd中投放广告的商家有很高的门 􏷎􏲜制,不过相对而言对开发者的回报􏳦􏲦较好,􏶑􏷏􏷐的是,iAd广告􏱀持的国家很少􏵜。 􏱔广告􏲥􏱑􏱩􏱔􏱒一样􏷑在屏幕上,在屏幕中􏴶一位置􏲚有部分􏲛间。. 阅读全文
posted @ 2015-03-31 11:11 筱筱心意 阅读(1951) 评论(0) 推荐(0)
摘要: 原文地址:http://www.raywenderlich.com/2502/calayers-tutorial-for-ios-introduction-to-calayers-tutorial如果你已经在iPhone上做过开发,你可能对UIView和它的子类-Button,text,slider... 阅读全文
posted @ 2015-03-30 10:41 筱筱心意 阅读(196) 评论(0) 推荐(0)
摘要: 此类名为CWSingleSample,只为方便自己修改, 添加方法所记录! CWSingleSample.h//// CWSingleSample.h// students//// Created by ZKSoft on 14/11/13.// Copyright (c) 2014年... 阅读全文
posted @ 2015-03-27 14:16 筱筱心意 阅读(402) 评论(0) 推荐(0)