https://github.com/YouXianMing

10 2014 档案

摘要:显示脉冲效果的PulsingView效果如下:源码:PulsingView.h 与PulsingView.m//// PulsingView.h// PulsingView//// Created by YouXianMing on 14/10/29.// Copyright (c) 201... 阅读全文
posted @ 2014-10-31 23:48 YouXianMing 阅读(393) 评论(0) 推荐(0) 编辑
摘要:定制选择范围的按钮RangeButton效果:源码:RangeButton.h 与RangeButton.m//// RangeButton.h// PulsingView//// Created by YouXianMing on 14/10/29.// Copyright (c) 201... 阅读全文
posted @ 2014-10-30 22:24 YouXianMing 阅读(550) 评论(0) 推荐(0) 编辑
摘要:获取系统屏幕尺寸参数的类WxHxD源码://// WxHxD.h// PM2.5//// Created by YouXianMing on 14/10/29.// Copyright (c) 2014年 YouXianMing. All rights reserved.//#import ... 阅读全文
posted @ 2014-10-29 21:29 YouXianMing 阅读(602) 评论(2) 推荐(0) 编辑
摘要:解决UITableView在iOS7中UINavigationController里的顶部留白问题出现问题时候的截图:源码:用到的类:UIViewController+TitleTextAttributes.h 与UIViewController+TitleTextAttributes.m//// ... 阅读全文
posted @ 2014-10-29 21:21 YouXianMing 阅读(1511) 评论(0) 推荐(0) 编辑
摘要:INSSearchBar效果:An animating search bar.一个带动画效果的search bar.Originally developed for ShopNow v2. (http://www.shopnow.de)最开始这种效果是用在ShopNow v2中的.(http://w... 阅读全文
posted @ 2014-10-28 21:54 YouXianMing 阅读(393) 评论(0) 推荐(0) 编辑
摘要:可以简易设置文字内边距的EdgeInsetsLabel最终效果:源码:EdgeInsetsLabel.h 与EdgeInsetsLabel.m//// EdgeInsetsLabel.h// EdgeInsetsLabel//// Created by YouXianMing on 14/10... 阅读全文
posted @ 2014-10-27 16:32 YouXianMing 阅读(7765) 评论(4) 推荐(1) 编辑
摘要:STAlertViewThe idea of this component is to improve the readability while using the native UIAlertView. The UIKit alert view works with delegates. Whe... 阅读全文
posted @ 2014-10-26 20:16 YouXianMing 阅读(408) 评论(2) 推荐(0) 编辑
摘要:keyWindow与delegate中Window的区别源码://// ViewController.m// UIWindowRelated//// Created by YouXianMing on 14/10/25.// Copyright (c) 2014年 YouXianMing. ... 阅读全文
posted @ 2014-10-25 09:22 YouXianMing 阅读(3791) 评论(1) 推荐(0) 编辑
摘要:定制二选一按钮SwitchButton效果:源码:SwitchButton.h 与SwitchButton.m//// SwitchButton.h// KongJian//// Created by YouXianMing on 14/10/24.// Copyright (c) 2014... 阅读全文
posted @ 2014-10-24 20:51 YouXianMing 阅读(1234) 评论(0) 推荐(1) 编辑
摘要:如何让触摸事件穿透一个View偶然间发现,如何屏蔽或者让触摸事件穿透一个view是一个很简单的事情。现象:源码://// ViewController.m// UserInteraction//// Created by YouXianMing on 14/10/23.// Copyrigh... 阅读全文
posted @ 2014-10-23 21:24 YouXianMing 阅读(2485) 评论(0) 推荐(0) 编辑
摘要:使用最新版SDWebImage1. 下载源码:2. 测试能否编译成功:3. 用Xcode6新建一个工程,然后将文件夹拖入到工程当中:4. 查看其主要的源码,发现之前使用版本的方法都被弃用了:5. 常规的使用:以下就来解析源码:-源码实现的细节--option参数的详解-你想自己使用它的源码实现下载图... 阅读全文
posted @ 2014-10-22 09:54 YouXianMing 阅读(691) 评论(3) 推荐(2) 编辑
摘要:CBStoreHouseTransitionWhat is it?A custom transition inspired byStorehouseiOS app, also support pop gesture.一个自定义转场效果,灵感来自于Storehouse的app,支持pop的手势.Fea... 阅读全文
posted @ 2014-10-21 14:05 YouXianMing 阅读(404) 评论(0) 推荐(0) 编辑
摘要:openweathermap-免费的天气预报接口其官方网址为:http://www.openweathermap.org/api静态截图:具备以下的一些特点:1.Current weather data 当前天气的数据2.5 and 16 day forecast 5到16天的天气预报3.His... 阅读全文
posted @ 2014-10-21 08:57 YouXianMing 阅读(21044) 评论(1) 推荐(0) 编辑
摘要:AsyncDisplayKitAsyncDisplayKit is an iOS framework that keeps even the most complex user interfaces smooth and responsive. It was originally built to ... 阅读全文
posted @ 2014-10-18 21:37 YouXianMing 阅读(762) 评论(0) 推荐(0) 编辑
摘要:封装用于解析NSDate的便利的类此类可以从NSDate中解析出年份,月份,日期,时,分,秒,毫秒,足够用来做好多事情了,现提供源码如下:以下是核心的类:TimeInfo.h 与TimeInfo.m//// TimeInfo.h// ShowTime//// Created by YouXia... 阅读全文
posted @ 2014-10-17 20:41 YouXianMing 阅读(276) 评论(2) 推荐(0) 编辑
摘要:使用CADisplayLink写秒表效果:源码:StopWatch.h 与StopWatch.m//// StopWatch.h// ShowTime//// Created by YouXianMing on 14-10-16.// Copyright (c) 2014年 YouXianM... 阅读全文
posted @ 2014-10-16 19:43 YouXianMing 阅读(1217) 评论(0) 推荐(0) 编辑
摘要:倒计时特效的CountAnimationLabel效果:源码:CountAnimationLabel.h 与CountAnimationLabel.m//// CountAnimationLabel.h// YouXianClock//// Created by YouXianMing on ... 阅读全文
posted @ 2014-10-15 21:18 YouXianMing 阅读(988) 评论(0) 推荐(0) 编辑
摘要:设计能长按并有动画效果且能触发事件的高级view效果图:源码:LongTapAnimationView.h 与LongTapAnimationView.m//// LongTapAnimationView.h// YouXianMingClock//// Created by YouXianM... 阅读全文
posted @ 2014-10-14 20:35 YouXianMing 阅读(626) 评论(0) 推荐(0) 编辑
摘要:使用Facebook开源代码FBShimmering封装进度显示的ShimmeCircleView效果图:静态图:源码:ShimmeCircleView.h 与ShimmeCircleView.m//// ShimmeCircleView.h// YouXianMingClock//// Cr... 阅读全文
posted @ 2014-10-13 21:39 YouXianMing 阅读(983) 评论(0) 推荐(1) 编辑
摘要:便利的获取系统的时分秒源码如下:GlobalNormalTime.h 与GlobalNormalTime.m//// GlobalNormalTime.h// YouXianMingClock//// Created by YouXianMing on 14-10-12.// Copyrig... 阅读全文
posted @ 2014-10-12 19:47 YouXianMing 阅读(549) 评论(0) 推荐(0) 编辑
摘要:用POP动画模拟真实秒钟摆动效果静态图:动画图:此处用到了POP中的Spring系列动画,现提供源码如下:SecondClockView.h 与SecondClockView.m//// SecondClockView.h// YouXianMingClock//// Created by Y... 阅读全文
posted @ 2014-10-12 19:34 YouXianMing 阅读(1607) 评论(5) 推荐(1) 编辑
摘要:解析苹果的官方例子LazyTableImages实现图片懒加载原理首先在官网下载源码:https://developer.apple.com/library/ios/navigation/#section=Resource%20Types&topic=Sample%20Code打开运行:仔细观察你会... 阅读全文
posted @ 2014-10-11 21:49 YouXianMing 阅读(711) 评论(0) 推荐(0) 编辑
摘要:支持xcode6的缓动函数Easing以及使用示例用xcode6新建工程后,直接导致不支持之前的Easing缓动函数的代码,经过修改后就可以正常使用了,虽然比不上POP高大上的动画,但用缓动函数的动画还是能够实现很复杂的效果的。注:Easing缓动函数服务于关键帧动画,理解这一点很重要,需要你对Co... 阅读全文
posted @ 2014-10-10 12:22 YouXianMing 阅读(605) 评论(0) 推荐(0) 编辑
摘要:iOS 动画库 Pop 和 Canvas 各自的优势和劣势是什么?http://www.zhihu.com/question/23654895/answer/25541037拿 Canvas 来和 Pop 比其实不大合适,虽然两者都自称「动画库」,但是「库」这个词的含义有所区别。本质上 Canvas... 阅读全文
posted @ 2014-10-09 22:20 YouXianMing 阅读(500) 评论(0) 推荐(0) 编辑
摘要:NSJSONSerialization能够处理的JSONDataYou use the NSJSONSerialization class to convert JSON to Foundation objects and convert Foundation objects to JSON.你用N... 阅读全文
posted @ 2014-10-08 20:42 YouXianMing 阅读(684) 评论(0) 推荐(0) 编辑
摘要:USING GIT IN XCODEKEEPING IN SYNC WITH REMOTE REPOSITORIESAs you make changes in your local working copy you will want to keep them in sync with the r... 阅读全文
posted @ 2014-10-07 14:45 YouXianMing 阅读(601) 评论(0) 推荐(0) 编辑
摘要:USING GIT IN XCODEUSING BRANCHESBranches can be a very effective tool to isolate new features or experiments in code. Xcode has pretty good support fo... 阅读全文
posted @ 2014-10-07 14:23 YouXianMing 阅读(273) 评论(0) 推荐(0) 编辑
摘要:USING GIT IN XCODELOOKING AT HISTORYXcode provides a Versions editor, which has three different perspectives on the git history for a file. To use the... 阅读全文
posted @ 2014-10-07 10:39 YouXianMing 阅读(303) 评论(0) 推荐(0) 编辑
摘要:USING GIT IN XCODEMAKING AND COMMITTING CHANGESOnce you have a working copy of your project, it’s time to get to work. As you make changes to the proj... 阅读全文
posted @ 2014-10-07 10:18 YouXianMing 阅读(220) 评论(0) 推荐(0) 编辑
摘要:USING GIT IN XCODEhttp://www.cimgf.com/2013/12/10/using-git-in-xcode/USING AN EXISTING REMOTE PROJECT IN XCODETo clone a copy of an existing remote re... 阅读全文
posted @ 2014-10-07 09:04 YouXianMing 阅读(272) 评论(0) 推荐(0) 编辑
摘要:USING GIT IN XCODEhttp://www.cimgf.com/2013/12/10/using-git-in-xcode/Git has become a very popular version control system in iOS and Mac development. ... 阅读全文
posted @ 2014-10-07 08:09 YouXianMing 阅读(361) 评论(0) 推荐(0) 编辑
摘要:GTAppMenuControllerhttps://github.com/gianlucatursi/GTAppMenuControllerThis is a simple project inspired byPaperapplication of Facebook.这是一个很简单的工程,其效果... 阅读全文
posted @ 2014-10-06 19:05 YouXianMing 阅读(236) 评论(0) 推荐(0) 编辑
摘要:ATTutorialControllerhttps://github.com/AfonsoTsukamoto/ATTutorialControllerA simple to use tutorial controller, highlight style.一个简单易用的高亮风格的教程控制器。Usag... 阅读全文
posted @ 2014-10-06 18:51 YouXianMing 阅读(191) 评论(0) 推荐(0) 编辑
摘要:ZCSHoldProgress以下是使用效果:https://github.com/zshannon/ZCSHoldProgress"Your users be pressin' long, but do they know how long they need to be pressin'?"“你... 阅读全文
posted @ 2014-10-05 08:40 YouXianMing 阅读(262) 评论(0) 推荐(0) 编辑
摘要:测试SDWebImage淡入淡出效果在UITableView中的重用显示问题这个是在上一篇教程的基础上所添加的测试环节!效果图(从效果图中看是没有任何重用问题的):源码:ImageCell.h 与ImageCell.m//// ImageCell.h// SDWebImageFade//// ... 阅读全文
posted @ 2014-10-05 08:13 YouXianMing 阅读(1268) 评论(0) 推荐(0) 编辑
摘要:使用SDWebImage淡入淡出的方式加载图片效果:请通过以下方式下载源码:找到它修改文件的地方:以下是使用源码://// ViewController.m// SDWebImageFade//// Created by YouXianMing on 14-10-5.// Copyright... 阅读全文
posted @ 2014-10-05 07:13 YouXianMing 阅读(2305) 评论(0) 推荐(0) 编辑
摘要:动态将彩色图片动画过渡到黑白图片的BlackAndWhiteView效果如下:BlackAndWhiteView.h 与 BlackAndWhiteView.m//// BlackAndWhiteView.h// BlackAndWhiteView//// Created by YouXian... 阅读全文
posted @ 2014-10-04 22:17 YouXianMing 阅读(1013) 评论(0) 推荐(0) 编辑
摘要:屏蔽响应事件继续向父视图传递的category这篇教程是上一篇教程的升级版,将复杂的代码封装成了category,更便于使用:)效果:源码:UIGestureRecognizer+EnvetInCurrentView.h 与UIGestureRecognizer+EnvetInCurrentView... 阅读全文
posted @ 2014-10-03 09:34 YouXianMing 阅读(595) 评论(0) 推荐(0) 编辑
摘要:在手势中屏蔽响应事件继续向父视图传递没有屏蔽时候的现象:屏蔽时候的现象:源码如下(用到了上一篇教程的源码)://// ViewController.m// BackgroundView//// Created by YouXianMing on 14-10-3.// Copyright (c... 阅读全文
posted @ 2014-10-03 08:51 YouXianMing 阅读(2626) 评论(0) 推荐(0) 编辑
摘要:渐变显示渐变消失的BackgroundView效果如下:源码:BackgroundView.h 与BackgroundView.m//// BackgroundView.h// TestHUD//// Created by YouXianMing on 14-9-30.// Copyrigh... 阅读全文
posted @ 2014-10-03 07:57 YouXianMing 阅读(1169) 评论(0) 推荐(0) 编辑
摘要:基于dispatch_after封装YXTimer本人根据dispatch_after封装了一个定时器,支持block以及代理的方式来激活定时器,适用于对精度要求低,耗时短的地方,高端大气上档次,低调奢华有内涵:)源码:YXTimer.h 与YXTimer.m//// YXTimer.h// Y... 阅读全文
posted @ 2014-10-02 10:45 YouXianMing 阅读(601) 评论(0) 推荐(1) 编辑
摘要:对MBProgressHUD进行二次封装并精简使用https://github.com/jdg/MBProgressHUD几个效果图:以下源码是MBProgressHUD支持最新的iOS8的版本,没有任何的警告信息MBProgressHUD.h 与MBProgressHUD.m//// MBPro... 阅读全文
posted @ 2014-10-02 07:24 YouXianMing 阅读(5131) 评论(0) 推荐(1) 编辑

点击右上角即可分享
微信分享提示