03 2015 档案
摘要:山寨"每日故宫"应用的图层遮罩效果最终效果:应用中的效果:素材图片:源码://// ViewController.m// 每日故宫//// Created by XianMingYou on 15/3/30.// Copyright (c) 2015年 XianMingYou. All ri...
阅读全文
摘要:用于mask遮罩效果的图片配合resizableImage使用效果:作为素材用的图片:源码://// ViewController.m// Rect//// Created by YouXianMing on 15/3/29.// Copyright (c) 2015年 YouXianMin...
阅读全文
摘要:NMBottomTabBarControllerA customisable tab bar controller for iOS written in Objective C. It uses auto layout.一个自定义的Tabbar控制器,使用了自动布局。RequirementsiOS ...
阅读全文
摘要:ABCIntroViewABCIntroView is an easy to use onboarding which allows you to introduce your users to the applicaiton before reaching the Main Screen.ABCI...
阅读全文
摘要:非定制UIImagePickerController的使用效果:源码://// ViewController.m// ImagePic//// Created by XianMingYou on 15/3/26.// Copyright (c) 2015年 XianMingYou. All ...
阅读全文
摘要:CALayer的additive属性解析效果:源码:https://github.com/RylanJIN/ShareOfCoreAnimation//// CAPartAViewController.m// ShareOfCoreAnimation//// Created by xjin o...
阅读全文
摘要:技术博客网址http://ubuuk.com/https://github.com/vsouza/awesome-ioshttps://github.com/dkhamsing/open-source-ios-appshttp://www.zhihu.com/question/28518265/an...
阅读全文
摘要:DraggableYoutubeFloatingVideoDraggableYoutubeFloatingVideo allows you to play videos on a floating mini window at the bottom of your screen from sites...
阅读全文
摘要:手把手教你制作AppPreview视频并上传到appStore进行审核注意,你需要使用iMovie才能够制作AppPreview视频文件,用QuickTime录制的无效!最终效果1. 新建一个事件2. 创建应用程序预览3. 导入视频文件(该视频文件需要你用QuickTime事先进行录制,此处不赘述)...
阅读全文
摘要:创建一个对象先写一个People类//// People.swift// Class//// Created by YouXianMing on 15/3/18.// Copyright (c) 2015年 YouXianMing. All rights reserved.//import ...
阅读全文
摘要:使用Playground1. 新建Playground2. 写最简单的代码
阅读全文
摘要:iOS8 生成二维码与条形码效果图:源码://// ViewController.m// CodeCreator//// Created by YouXianMing on 15/3/16.// Copyright (c) 2015年 YouXianMing. All rights rese...
阅读全文
摘要:iOS8 CIGlassDistortion滤镜的使用此为CoreImage滤镜的使用素材效果混合用图片源码://// ViewController.m// CIGlass//// Created by XianMingYou on 15/3/15.// Copyright (c) 2015...
阅读全文
摘要:iOS8模糊效果UIVisualEffectView的使用效果:源码://// ViewController.m// EffectView//// Created by XianMingYou on 15/3/14.// Copyright (c) 2015年 XianMingYou. Al...
阅读全文
摘要:心形加载的view效果:素材图片:源码:StarView.h 与 StarView.m//// StarView.h// Star//// Created by XianMingYou on 15/3/13.// Copyright (c) 2015年 XianMingYou. All ri...
阅读全文
摘要:如何快速的给你的项目添加icon图标下载软件如何制作图片将制作的图标拖到项目当中设置启动页注意:如果手动添加了启动页的话,记得将Launch Screen中的东西清除掉
阅读全文
摘要:用Xcode来写C++程序[7] Class不带构造函数的Rectangle类//// Rectangle.h// Plus//// Created by YouXianMing on 15/3/12.// Copyright (c) 2015年 YouXianMing. All right...
阅读全文
摘要:设置AFNetworking网络请求的超时时间也许大家使用的时候已经察觉到,设置AFNetworking的超时时间并不管用,但可以用特殊的方式来处理。以下是笔者基于AFNetworking2.5.0封装的GET,POST请求用方法。POST请求+ (AFHTTPRequestOperation *)...
阅读全文
摘要:BFKitBFKit is a collection of useful classes todevelop Apps faster.BFKit是一个有用的工具集合,帮助你快速开发。Installing and UsagePodPod安装Create aPodfilein yourproject d...
阅读全文
摘要:用Xcode来写C++程序[6] Name visibility此小结包括了命名空间的一些使用细节命名空间#include using namespace std;namespace foo { // 函数 int value() { return 5; }}name...
阅读全文
摘要:用Xcode来写C++程序[5] 函数的重载与模板此节包括函数重载,隐式函数重载,函数模板,带参数函数模板函数的重载#include using namespace std;int operate (int a, int b) { return (a * b);}double operate ...
阅读全文
摘要:用Xcode来写C++程序[4] 函数此节包括引用函数,内联函数,防止修改函数入参,函数自身带有默认值.引用函数:防止复制对象,减少系统开销内联函数:编译的时候根据具体情形将代码嵌入进去,成不成功编译器说了算,减少系统开销提升性能引用函数(防止篡改初始值的入参声明方式):防止修改数据源函数参数带有默...
阅读全文
摘要:将字符串转换成贝塞尔曲线并执行动画部分开源代码支持:https://github.com/aderussell/string-to-CGPathRef效果:源码://// ShapeWordView.h// PathWord//// Created by XianMingYou on 15/3...
阅读全文
摘要:用Xcode来写C++程序[3] Constants以下是一些基本数据的含义:75 // int75u // unsigned int75l // long75ul // unsigned long 75lu // unsigned...
阅读全文
摘要:用Xcode来写C++程序[2] 操作变量此节讲解包括变量的初始化的几种方式,以及泛型编程的两种变量赋值方式.最基本的变量赋值以及操作:// operating with variables#include using namespace std;int main (){ // 声明变量 ...
阅读全文
摘要:用Xcode来写C++程序[1]新建C++项目工程第一节从新建工程并编译C++源码开始新建工程源码://// main.cpp// YeHelloWorld//// Created by XianMingYou on 15/3/5.// Copyright (c) 2015年 XianMin...
阅读全文
摘要:创建出条形间隔效果的背景LineBackgroundView效果:使用://// ViewController.m// LineBackgroundView//// Created by XianMingYou on 15/3/4.// Copyright (c) 2015年 XianMin...
阅读全文
摘要:iOS7中UIView的animateKeyframesWithDuration方法讲解在iOS7中,给UIView添加了一个方法用来直接使用关键帧动画而不用借助CoreAnimation来实现,那就是animateKeyframesWithDuration以下是使用源码://// ViewCon...
阅读全文
摘要:FBLikeLayoutThis is an UICollectionView layout inspired by the photo section of facebook. This layout loads squared items with randomic full size item...
阅读全文
摘要:IQAudioRecorderControllerIQAudioRecorderController is a drop-in universal library allows to record audio within the app with a nice User Interface. Th...
阅读全文
摘要:HSDatePickerViewControllerHSDatePickerViewControlleris an iOS ViewController for date and time picking, based on awesome look&feel of DropboxMailboxap...
阅读全文