ITeye博客

大锐哥iOS技术专栏(与CSDN博客同步更新)

prevention · 共 119 篇文章

中国社交视频规模达22亿元 用户1.02亿人

BiaNews7月11日消息 近日,艾瑞发布中国社交视频行业发展研究报告。对于中国社交视频的规模人数,报告作出了详细说明。 随着中国网民规模的日益壮大,互联网用户的需求更加多元化和个性化,像六间房、9158、YY这种可以在一个平台既提供娱乐,又满足人们社交需求的社交网络视频,会更加符合大众的喜好。 到2012年,中国社交视频行业市场规模约为22.0亿元,较2011年环比增长44.1%,预计2013年中国社交行业市场规模达到30.6亿元,未来几年整个社交视频行业仍会保持较高的增长率。预计2015年,网络广告收入将会大幅拉动中国社交视频企业市场规模的整体增长,增长率达到55.8%,2016年中国…

2014-01-21 00:45 · 评论(0)

中国人免信用卡更改iOS App Store店面为美国的方法

只说最关键的流程:到Mac的iTunes上去购买Free App,更改国旗为美国,然后选择注册新账号(一定不要用旧账号),此时信用卡会有一个None选项,其他任何方式更改电面都不会有None。 http://www.mac52ipod.cn/post/get-apple-usa-itunes-store-app-store-account-in-china-without-credit-card.php

2014-01-20 16:46 · 评论(0)

iOS Dev (34) UIViewController 的创建

iOS Dev (34) UIViewController 的创建 作者:CSDN 大锐哥 地址: http://blog.csdn.net/prevention - 用代码创建: RootViewController *vc = [[RootViewController alloc] init]; 用 xib 文件创建: RootViewController *vc = [[RootViewController alloc] initWithNibName:@"haha" bundle:nil]; 不过要注意的是,当用代码去创建 ViewController 时,如果有一个 xib 文件叫…

2014-01-19 02:18 · 评论(0)

iOS Dev (33) UIViewController 基本了解

iOS Dev (33) UIViewController 基本了解 作者:CSDN 大锐哥 地址: http://blog.csdn.net/prevention - 基本概念 视图控制器用来创建和管理一组视图,而它本身也提供了一个视图,是根视图。 常见的视图控制器 UIViewController UINavigationController UIImagePickerController UIVideoEditorController UITabBarController UITableViewController UISplitViewController(iPad 专用) 控件关系…

2014-01-19 01:43 · 评论(0)

iOS Dev (32) 画个棋盘

iOS Dev (32) 画个棋盘 作者:CSDN 大锐哥 地址: http://blog.csdn.net/prevention - 本人愚钝,写个非常简单的 UIView 的练习例子,也得写篇博文。 - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]]; for (in…

2014-01-19 00:50 · 评论(0)

iOS Dev (31) 动画进阶之一

iOS Dev (31) 动画进阶之一 作者:CSDN 大锐哥 地址: http://blog.csdn.net/prevention - 说点废话 设置动画在 commitAnimations 之后的发生日期(感觉上一般不会跟 delay 一起使用) setAnimationStartDate 设置动画从 commitAnimation 之后延迟多久开始 setAnimationDelay 设置动画持续的秒数 setAnimationDuration 设置动画过程的相对速度 setAnimationCurve 设置动画的重复次数 setAnimationRepeatCount 设置动画到达…

2014-01-18 21:29 · 评论(0)

iOS Dev (30) 用 beginAnimations 和 commitAnimations 来实现最简单的动画

iOS Dev (30) 用 beginAnimations 和 commitAnimations 来实现最简单的动画 作者:CSDN 大锐哥 地址: http://blog.csdn.net/prevention - 说点容易理解的 我发现自己一直很笨,啥玩意儿必须得自己敲他妈一遍才懂。有的3个小时看完一本书,然后就去写代码了。我还是要一点点敲一遍,以前自己吹过牛逼说15分钟就能学一个新语言,扯蛋。 所以,现在还是直接他妈的上代码吧。 [UIView beginAnimations:nil context:NULL]; [UIView setAnimationDuration:0.3]; …

2014-01-18 21:04 · 评论(0)

iOS Dev (29) UIViewContentMode

iOS Dev (29) UIViewContentMode 作者:CSDN 大锐哥 地址: http://blog.csdn.net/prevention - UIViewContentMode 都有哪些值: typedef NS_ENUM(NSInteger, UIViewContentMode) { UIViewContentModeScaleToFill, UIViewContentModeScaleAspectFit, // contents scaled to fit with fixed aspect. remainder is transparent UIViewConten…

2014-01-18 19:18 · 评论(0)

iOS Dev (28) 三种基本的 2D 放射变换

iOS Dev (28) 三种基本的 2D 放射变换 作者:CSDN 大锐哥 地址: http://blog.csdn.net/prevention - 基础 我们要用到的是: CGAffineTransform 的一些函数(是 C 形式的函数)。 缩放 scale 的定义: CGAffineTransform CGAffineTransformScale ( CGAffineTransform t, CGFloat sx, CGFloat sy ); 旋转 roate 的定义: CGAffineTransform CGAffineTransformRotate ( CGAffineTran…

2014-01-18 17:43 · 评论(0)

Redmine Tricks (1) How to make Target Version field required?

Redmine Tricks (1) How to make Target Version field required? 作者:CSDN 大锐哥 地址: http://blog.csdn.net/prevention - How to make Target Version field required? This works in the current Redmine > 2.1.x You can go to Administration > Workflow > Field Permissions and set the respective fields for each tra…

2014-01-17 14:00 · 评论(0)

iOS Dev (27) 初步了解下UIView的最常用知识

iOS Dev (27) 初步了解下UIView的最常用知识 作者:CSDN 大锐哥 地址: http://blog.csdn.net/prevention - 向一个已知 UIVIew 中加入子视图 最常用的三个方法: - (void)addSubview:(UIView *)view; - (void)insertSubview:(UIView *)view belowSubview:(UIView *)siblingSubview; - (void)insertSubview:(UIView *)view aboveSubview:(UIView *)siblingSubview; 很…

2014-01-17 01:30 · 评论(0)

iOS Dev (26) 初步了解下UIColor的最常用知识

iOS Dev (26) 初步了解下UIColor的最常用知识 作者:CSDN 大锐哥 地址: http://blog.csdn.net/prevention - 内置的颜色有啥? // Some convenience methods to create colors. These colors will be as calibrated as possible. // These colors are cached. + (UIColor *)blackColor; // 0.0 white + (UIColor *)darkGrayColor; // 0.333 white + (UI…

2014-01-17 00:44 · 评论(0)

iOS Dev (25) 解决“The executable was signed with invalid entitlements.”问题

iOS Dev (25) 解决“The executable was signed with invalid entitlements.”问题 作者:CSDN 大锐哥 地址: http://blog.csdn.net/prevention 问题描述 我们从网上下载一些现成的 Project 时,有时会遇到这个问题: The executable was signed with invalid entitlements. 详细的提示信息为: The entitlements specified in your application’s Code Signing Entitlements fi…

2014-01-10 10:34 · 评论(0)

What will be the next big thing after Facebook and Twitter? Why?

The next big thing willnot come out of an incubator. The next big thing will not involve people who attend or speak at tech conferences. The next big thing will not be discussed on Quora as being the next big thing until it is already obvious. The next big thing will not be created by people who we…

2014-01-09 17:25 · 评论(0)

iOS Dev (24) 最简单的M3U8播放器

iOS Dev (24) 最简单的M3U8播放器 作者:CSDN 大锐哥 地址: http://blog.csdn.net/prevention 概述 用 MediaPlayer Framework 中的 MPMoviePlayerController 构造一个最简单的 M3U8 播放器。 Show Me the Codes 创建一个空项目,然后改写 AppDelegate: AppDelegate.h #import <UIKit/UIKit.h> @class PlayerViewController; @interface AppDelegate : UIResponder <UIAp…

2014-01-09 15:26 · 评论(0)