<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[YF0710的博客]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/YF0710</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; YF0710]]></copyright><item><title><![CDATA[第三方资源篇]]></title><link>https://blog.youkuaiyun.com/YF0710/article/details/102345633</link><guid>https://blog.youkuaiyun.com/YF0710/article/details/102345633</guid><author>YF0710</author><pubDate>Thu, 06 Apr 2017 16:26:00 +0800</pubDate><description><![CDATA[一：源代码实例
1:快速搭建项目源代码
地址：https://github.com/wujunyang/MobileProject
2:高仿美团iOS版
地址：https://github.com/lookingstars/meituan
3:模仿网易新闻做的精仿网易新闻
地址：https://github.com/dsxNiubility/SXNews
4:支付宝高仿版
地址：http...]]></description><category></category></item><item><title><![CDATA[修饰属性]]></title><link>https://blog.youkuaiyun.com/YF0710/article/details/102345630</link><guid>https://blog.youkuaiyun.com/YF0710/article/details/102345630</guid><author>YF0710</author><pubDate>Tue, 20 Dec 2016 15:29:00 +0800</pubDate><description><![CDATA[当修饰可变类型的属性时，如NSMutableArray、NSMutableDictionary、NSMutableString，用strong。
当修饰不可变类型的属性时，如NSArray、NSDictionary、NSString，用copy。


转载于:https://www.cnblogs.com/GJRBlog/p/6202851.html...]]></description><category></category></item><item><title><![CDATA[密码强度正则表达式]]></title><link>https://blog.youkuaiyun.com/YF0710/article/details/102345635</link><guid>https://blog.youkuaiyun.com/YF0710/article/details/102345635</guid><author>YF0710</author><pubDate>Wed, 23 Nov 2016 14:50:00 +0800</pubDate><description><![CDATA[数字字母字符：[-\da-zA-Z=\\;',./~!@#$%^&amp;*()_+|{}:&lt;&gt;?]*((\d+[a-zA-Z]+[-=\;',./~!@#$%^&amp;*()_+|{}:&lt;&gt;?]+)|(\d+[-=\\;',./~!@#$%^&amp;*()_+|{}:&lt;&gt;?]+[a-zA-Z]+)|([a-zA-Z]+\d+[-=\;',./~!...]]></description><category></category></item><item><title><![CDATA[打开 macOS Sierra 允许“任何来源”选项，运行第三方应用]]></title><link>https://blog.youkuaiyun.com/YF0710/article/details/102345632</link><guid>https://blog.youkuaiyun.com/YF0710/article/details/102345632</guid><author>YF0710</author><pubDate>Tue, 01 Nov 2016 09:21:00 +0800</pubDate><description><![CDATA[如果需要恢复允许“任何来源”的选项，请打开终端，在终端运行以下命令（可能会要求输入密码）：
sudo spctl --master-disable


转载于:https://www.cnblogs.com/GJRBlog/p/6018254.html...]]></description><category></category></item><item><title><![CDATA[IOS开发－UIView之动画效果的实现方法]]></title><link>https://blog.youkuaiyun.com/YF0710/article/details/102345631</link><guid>https://blog.youkuaiyun.com/YF0710/article/details/102345631</guid><author>YF0710</author><pubDate>Mon, 31 Oct 2016 10:51:00 +0800</pubDate><description><![CDATA[一、使用UIView类实现动画
基本写法，代码必须放在Begin和Commit之间：
[UIView beginAnimations:nil context:nil]; // 开始动画
// Code...
[UIView commitAnimations]; // 提交动画
简单例子：
[UIView beginAnimations:nil context:nil]; // 开始动画
...]]></description><category></category></item><item><title><![CDATA[跳转系统设置的方法]]></title><link>https://blog.youkuaiyun.com/YF0710/article/details/102345628</link><guid>https://blog.youkuaiyun.com/YF0710/article/details/102345628</guid><author>YF0710</author><pubDate>Fri, 14 Oct 2016 08:37:00 +0800</pubDate><description><![CDATA[iOS10.0之前跳转系统设置的方法
NSURL *url = [NSURL URLWithString:UIApplicationOpenSettingsURLString];[[UIApplication sharedApplication] openURL:url];
iOS10.0之后的跳转方法
// Option for openURL:options:CompletionHa...]]></description><category></category></item><item><title><![CDATA[iOS拨打电话（三种方法）]]></title><link>https://blog.youkuaiyun.com/YF0710/article/details/102345627</link><guid>https://blog.youkuaiyun.com/YF0710/article/details/102345627</guid><author>YF0710</author><pubDate>Sat, 08 Oct 2016 10:20:00 +0800</pubDate><description><![CDATA[1，这种方法，拨打完电话回不到原来的应用，会停留在通讯录里，而且是直接拨打，不弹出提示
NSMutableString * str=[[NSMutableString alloc] initWithFormat:@"tel:%@",@"186xxxx6979"];
// NSLog(@"str======%@",str);
[[UIApplication sharedApplicatio...]]></description><category></category></item><item><title><![CDATA[tableView索引]]></title><link>https://blog.youkuaiyun.com/YF0710/article/details/102345629</link><guid>https://blog.youkuaiyun.com/YF0710/article/details/102345629</guid><author>YF0710</author><pubDate>Fri, 30 Sep 2016 17:28:00 +0800</pubDate><description><![CDATA[当然在UITableView中还有关于索引的相关属性设置如下：
_myTableView.sectionIndexColor = [UIColorblueColor];／／设置默认时索引值颜色
_myTableView.sectionIndexTrackingBackgroundColor = [UIColorgrayColor];／／设置选中时，索引背景颜色
_myTableView....]]></description><category></category></item><item><title><![CDATA[Xcode8.0 Beta 6 - unable to read from device]]></title><link>https://blog.youkuaiyun.com/YF0710/article/details/102345626</link><guid>https://blog.youkuaiyun.com/YF0710/article/details/102345626</guid><author>YF0710</author><pubDate>Wed, 14 Sep 2016 16:38:00 +0800</pubDate><description><![CDATA[This is the error when the symbols are missing. Usually you get this error when your device has higher version than the Xcode such as iOS 10 vs Xcode 7.3 In this case Xcode 8 beta 6 failed to cop...]]></description><category></category></item><item><title><![CDATA[图片 360度旋转动画]]></title><link>https://blog.youkuaiyun.com/YF0710/article/details/102345625</link><guid>https://blog.youkuaiyun.com/YF0710/article/details/102345625</guid><author>YF0710</author><pubDate>Mon, 29 Aug 2016 17:18:00 +0800</pubDate><description><![CDATA[pragma mark --- 旋转动画

(void)rotate360DegreeWithImageView:(UIImageView )imageView
{
CABasicAnimation animation = [ CABasicAnimation
animationWithKeyPath: @"transform" ];
animation.fromValue = [NSV...]]></description><category></category></item><item><title><![CDATA[广告页面的跳过按钮倒计时功能可以通过定时器或者GCD实现]]></title><link>https://blog.youkuaiyun.com/YF0710/article/details/102345624</link><guid>https://blog.youkuaiyun.com/YF0710/article/details/102345624</guid><author>YF0710</author><pubDate>Mon, 29 Aug 2016 14:55:00 +0800</pubDate><description><![CDATA[// GCD倒计时

(void)startCoundown
{
__block

int timeout = showtime + 1;
//倒计时时间 + 1
dispatch_queue_t queue = dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0);



dispatch_source_t

_ti...]]></description><category></category></item><item><title><![CDATA[App 启动加载广告做法和思路]]></title><link>https://blog.youkuaiyun.com/YF0710/article/details/102345622</link><guid>https://blog.youkuaiyun.com/YF0710/article/details/102345622</guid><author>YF0710</author><pubDate>Mon, 29 Aug 2016 11:25:00 +0800</pubDate><description><![CDATA[需求
很多app(如淘宝、美团等)在启动图加载完毕后，还会显示几秒的广告，一般都有个跳过按钮可以跳过这个广告，有的app在点击广告页之后还会进入一个广告页面，点击返回进入首页。今天我们就来开发一个广告页面，效果如下。
思路
1.广告页加载思路。广告页的内容要实时显示，在无网络状态或者网速缓慢的情况下不能延迟加载，或者等到首页出现了再加载广告页。所以这里我不采用网络请求广告接口获取图片地址...]]></description><category></category></item><item><title><![CDATA[字符串中英文混合...获取字符串的字符长度]]></title><link>https://blog.youkuaiyun.com/YF0710/article/details/102345623</link><guid>https://blog.youkuaiyun.com/YF0710/article/details/102345623</guid><author>YF0710</author><pubDate>Mon, 29 Aug 2016 11:06:00 +0800</pubDate><description><![CDATA[-(int)convertToInt:(NSString)strtemp {
int strlength = 0;
char p = (char)[strtemp cStringUsingEncoding:NSUnicodeStringEncoding];
for (int i=0 ; i&lt;[strtemp lengthOfBytesUsingEncoding:NSUnicodeS...]]></description><category></category></item><item><title><![CDATA[iOS UILabel设置行间距和字间距，根据内容计算高度]]></title><link>https://blog.youkuaiyun.com/YF0710/article/details/102345621</link><guid>https://blog.youkuaiyun.com/YF0710/article/details/102345621</guid><author>YF0710</author><pubDate>Mon, 29 Aug 2016 11:04:00 +0800</pubDate><description><![CDATA[-(void)setLabelSpace:(UILabel)label withValue:(NSString)str withFont:(UIFont)font {
NSMutableParagraphStyle paraStyle = [[NSMutableParagraphStyle alloc] init];
paraStyle.lineBreakMode = NSLineBre...]]></description><category></category></item><item><title><![CDATA[自动调整Label高度\宽度]]></title><link>https://blog.youkuaiyun.com/YF0710/article/details/102345620</link><guid>https://blog.youkuaiyun.com/YF0710/article/details/102345620</guid><author>YF0710</author><pubDate>Tue, 02 Aug 2016 15:08:00 +0800</pubDate><description><![CDATA[NSDictionary *attributes = @{NSFontAttributeName:[UIFont systemFontOfSize:14],NSForegroundColorAttributeName:[UIColor whiteColor]};
CGSize captionSize = [caption boundingRectWithSize:CGSizeMake(1...]]></description><category></category></item><item><title><![CDATA[ios7.0和8.0上面如何修改弹框的的title的字体颜色。]]></title><link>https://blog.youkuaiyun.com/YF0710/article/details/102345618</link><guid>https://blog.youkuaiyun.com/YF0710/article/details/102345618</guid><author>YF0710</author><pubDate>Fri, 29 Jul 2016 10:38:00 +0800</pubDate><description><![CDATA[首先在iOS7.0修改UIActionSheet title的字体是很简单的，设置代理，在willPresentActionSheet方法中修改。代码如下：

(void)willPresentActionSheet:(UIActionSheet )actionSheet {
for (UIView subViwe in actionSheet.subviews) {
if ([subV...]]></description><category></category></item><item><title><![CDATA[IOS-TextField]]></title><link>https://blog.youkuaiyun.com/YF0710/article/details/102345619</link><guid>https://blog.youkuaiyun.com/YF0710/article/details/102345619</guid><author>YF0710</author><pubDate>Tue, 19 Jul 2016 17:24:00 +0800</pubDate><description><![CDATA[//初始化textfield并设置位置及大小
UITextField *text = [[UITextField alloc]initWithFrame:CGRectMake(20, 20, 130, 30)];
//设置边框样式，只有设置了才会显示边框样式
text.borderStyle = UITextBorderStyleRoundedRect;
typedef enum {
U...]]></description><category></category></item><item><title><![CDATA[对TextView的字数进行统计]]></title><link>https://blog.youkuaiyun.com/YF0710/article/details/102345617</link><guid>https://blog.youkuaiyun.com/YF0710/article/details/102345617</guid><author>YF0710</author><pubDate>Mon, 18 Jul 2016 09:45:00 +0800</pubDate><description><![CDATA[import "ViewController.h"
define MAXVALUE 10
define MINVALUE 5
@interface ViewController ()
@property (nonatomic, strong) UITextView textView;
@property (nonatomic, strong) UILabel tipLabel;
@end...]]></description><category></category></item><item><title><![CDATA[StoryBoard下ScrollView如何添加约束]]></title><link>https://blog.youkuaiyun.com/YF0710/article/details/102345616</link><guid>https://blog.youkuaiyun.com/YF0710/article/details/102345616</guid><author>YF0710</author><pubDate>Tue, 12 Jul 2016 11:45:00 +0800</pubDate><description><![CDATA[想了下就决定用ScrolleView， ContentSize可以设置为560. 这样在其他屏幕上没有太多的影响，在3.5的屏幕下也可以滑动了。但是在StoryBord拖过ScrollView，添加约束的时候发现他并不会按照你猜想的去执行。经过查阅资料，大致知道了原因。这是由于scrollview本身contentSize、contentInsets等复杂的特性导致，苹果文档在讲auto...]]></description><category></category></item><item><title><![CDATA[隐藏空的cell]]></title><link>https://blog.youkuaiyun.com/YF0710/article/details/102345615</link><guid>https://blog.youkuaiyun.com/YF0710/article/details/102345615</guid><author>YF0710</author><pubDate>Mon, 11 Jul 2016 10:24:00 +0800</pubDate><description><![CDATA[//隐藏空的cell
-(UIView )tableView:(UITableView )tableView viewForFooterInSection:(NSInteger)section
{
if ([self numberOfSectionsInTableView:tableView]==(section+1)) {
return [UIView new];
}
return n...]]></description><category></category></item></channel></rss>