自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

欢迎来到Jack的程序世界

做一名合格的程序员

  • 博客(7)
  • 收藏
  • 关注

原创 AVplayer实现播放本地和网络视频(Swift3.0)

AVplayerAn AVPlayer is a controller object used to manage the playback and timing of a media asset. It provides the interface to control the player’s transport behavior such as its ability to

2016-12-28 17:20:38 11042

翻译 AVFoundation Programming Guide - Using Assets

Using AssetsAssets can come from a file or from media in the user’s iPod library or Photo library. When you create an asset object all the information that you might want to retrieve for t

2016-12-28 11:06:36 563

原创 Swift3-字符串String.Index和Range详解

String.Index:表示在字符的CharacterView实例中的位置,进入头文件就可以看到,其实是publictypealias Index =String.CharacterView.Index。下面看一个官方例子: let hearts = "Hearts <3 ♥︎

2016-12-26 10:21:03 22392 1

翻译 AVFoundation Programming Guide - About AVFoundation

About AVFoundationAVFoundation is one of several frameworks that you can use to play and create time-based audiovisual media. It provides an Objective-C interface you use to work on a detail

2016-12-18 23:21:04 869

原创 HTTP概述

Web浏览器、服务器和相关的Web应用程序都是通过HTTP相互通信的。HTTP是现代全球因特网中使用的公共语言,初步了解以下几点:1:Web客户端与服务器是如何通信的2:(表示Web内容的)资源来自何方3:Web事务是怎样工作的4:HTTP通信所使用的报文格式5:底层TCP网络传输6:因特网上安装的大量HTTP架构组件中的一部分Web客户端与服务器

2016-12-12 20:34:05 500

原创 iOS邮箱、手机号等常用验证功能

手机号验证/* 手机号码 13[0-9],14[5|7|9],15[0-3],15[5-9],17[0|1|3|5|6|8],18[0-9] 移动:134[0-8],13[5-9],147,15[0-2],15[7-9],178,18[2-4],18[7-8] 联通:13[0-2],145,15[5-6],17[5-6],18[5-6] 电信:133,1349,149,153,173,

2016-12-11 11:54:54 3051

原创 UITextField限制中文输入下的字符长度

需求是这样的:有一个输入框,输入框内输入文字,文字字数限制在20字。我采用了UITextField作为我的输入框控件,并且在委托方法:- (BOOL)textField:(UITextField *)textField shouldChangeCharactersInRange:(NSRange)range replacementString:(NSString *)string中实现了对

2016-12-08 16:14:44 1355

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除