摘要:
NSOperation的使用细节 [2]这一节我们来写自定义nonconcurrent的operation,自定义nonconcurrent的operation很简单,重写main方法,之后处理好cancel事件即可。在开始写nonconcurrent的operation之前,我们需要先了解几个关于... 阅读全文
摘要:
NSOperation的使用细节 [1]NSOperation 使用起来并没有GCD直观,但它有着非常不错的面向对象接口,还可以取消线程操作,这一点是GCD所没有的,NSOperation本身是抽象类,不能够拿它直接使用。以下节选自ConcurrencyProgrammingGuide其中NSBlo... 阅读全文
摘要:
SSKeychainhttps://github.com/soffes/sskeychainSSKeychain is a simple wrapper for accessing accounts, getting passwords, setting passwords, and deletin... 阅读全文
摘要:
设置导航栏控制器背景色效果说明1. 去掉了原始导航栏控制器上面的黑线2. 可以定制背景透明度源码//// AppDelegate.m// UINavigationControllerSet//// Created by YouXianMing on 15/9/1.// Copyright (... 阅读全文
摘要:
Icon and Image SizesiOS Human Interface GuidelinesEvery app needs an app icon and a launch file or image. In addition, some apps need custom icons to ... 阅读全文
摘要:
UITabBar设置详解效果图说明1.设置tabBarItem中的图片以及标题2.设置标题文本样式3.修改tabBar背景色源码https://github.com/YouXianMing/UITabBarControllerIcon细节设置标题文本样式修改tabBar背景色真实图片呈现 阅读全文
摘要:
定制个性化按钮 效果 说明 通过捕捉一个按钮不同状态的值来定制我们自己的按钮动画,本人仅仅提供了实现的抽象基类以及一个简单的示例,剩下的需要你根据自己的想象力创造了. 源码 https://github.com/YouXianMing/UI-Component-Collection 细节 阅读全文
摘要:
用UIControl封装Button效果说明UIControl在处理超出触摸范围的触摸事件时有bug源码基础类//// BaseControl.h// BaseControl//// Created by YouXianMing on 15/8/26.// Copyright (c) 201... 阅读全文
摘要:
安装Xcode主题 下载地址 https://github.com/YouXianMing/Xcode-Themes 安装教程 1. 安装文件夹中的字体 2. 如下图,执行 ./cp_themes.sh 脚本操作 3. 重启Xcode即可 主题选择 主题效果 阅读全文
摘要:
iOS系统声音列表 效果 说明 1. 点击cell就能发出声音 2. 只需要给出声音编号,就可以,非常简单易用 源码 https://github.com/YouXianMing/iOS-Utilities 阅读全文