https://github.com/YouXianMing

02 2015 档案

摘要:MagicalRecord使用中的注意事项使用CoreData [1]使用CoreData [2]使用CoreData [3]使用CoreData [4]使用MagicalRecord操作CoreData将bundle中的CoreData相关文件复制到沙盒目录中并使用复制这三个文件然后用单例初始化/... 阅读全文
posted @ 2015-02-28 22:22 YouXianMing 阅读(948) 评论(0) 推荐(0) 编辑
摘要:动态实时设置CAShapeLayer贝塞尔曲线的坐标点效果图:源码:PathDirectionView.h 与 PathDirectionView.m//// PathDirectionView.h// Path//// Created by XianMingYou on 15/2/27.//... 阅读全文
posted @ 2015-02-27 22:38 YouXianMing 阅读(1399) 评论(0) 推荐(0) 编辑
摘要:滑动cell的时候执行动画效果效果图:源码://// ViewController.m// AniTab//// Created by XianMingYou on 15/2/26.// Copyright (c) 2015年 XianMingYou. All rights reserved... 阅读全文
posted @ 2015-02-26 22:20 YouXianMing 阅读(1068) 评论(0) 推荐(0) 编辑
摘要:用GCD线程组与GCD信号量将异步线程转换为同步线程有时候我们会碰到这样子的一种情形:同时获取两个网络请求的数据,但是网络请求是异步的,我们需要获取到两个网络请求的数据之后才能够进行下一步的操作,这个时候,就是线程组与信号量的用武之地了.线程组用以监听线程的执行情况,而信号量就是用来将异步线程转化为... 阅读全文
posted @ 2015-02-25 18:50 YouXianMing 阅读(611) 评论(1) 推荐(1) 编辑
摘要:ALMoviePlayerControllerALMoviePlayerController is a drop-in replacement for MPMoviePlayerController that exposes the UI elements and allows for maximu... 阅读全文
posted @ 2015-02-24 23:05 YouXianMing 阅读(778) 评论(0) 推荐(0) 编辑
摘要:如何在ScrollView滑动的瞬间禁用拖拽手势效果:在UIScrollView滑动的瞬间禁用pan手势,可以防止用户按着屏幕不放后导致出现的一些莫须有的bug.//// ViewController.m// TableViewDemo//// Created by XianMingYou o... 阅读全文
posted @ 2015-02-23 22:15 YouXianMing 阅读(2888) 评论(0) 推荐(0) 编辑
摘要:TCBlobDownloadTCBlobDownload usesNSOperationsto download large files (typically videos, music... well: BLOBs) usingNSURLConnectionin background thread... 阅读全文
posted @ 2015-02-22 18:42 YouXianMing 阅读(1209) 评论(0) 推荐(0) 编辑
摘要:修改UIView的默认Layer后,修改View的值会动态修改Layer的值效果图:如上图所示,当我们修改了一个UIView的子类中的Layer内置类型时(如上图中我们将CALayer直接替换成了CAGradientLayer类),会直接作用到其内置的Layer当中.我们可以用这个特性将Layer封... 阅读全文
posted @ 2015-02-22 06:51 YouXianMing 阅读(1475) 评论(0) 推荐(0) 编辑
摘要:设计模式 - 组合组合设计模式是为了实现一个复杂的功能而把一些模块集中在一起统一管理使用,核心要点就是要统一模块间接口的差异,也就是说,实现组合模式的类需要给各个模块提供统一的接口来统一行为模式.以上动画是用组合模式实现的,如果用普通方式,基本上实现不了哦. 阅读全文
posted @ 2015-02-20 22:50 YouXianMing 阅读(300) 评论(0) 推荐(0) 编辑
摘要:子类继承父类实现父类的代理方法父类提供虚函数(OC中称为代理方法),子类继承后实现虚函数来实现特定的功能.父类方法:NumberCount.h 与NumberCount.m//// NumberCount.h// YXMWeather//// Created by XianMingYou on... 阅读全文
posted @ 2015-02-19 18:51 YouXianMing 阅读(1727) 评论(0) 推荐(0) 编辑
摘要:CircleView效果图:源码://// CircleView.h// YXMWeather//// Created by XianMingYou on 15/2/17.// Copyright (c) 2015年 XianMingYou. All rights reserved.//#i... 阅读全文
posted @ 2015-02-17 21:13 YouXianMing 阅读(462) 评论(0) 推荐(1) 编辑
摘要:LabelView此LabelView是用来将Label显示在固定的View上的,需要计算Label的高度与宽度.源码:NSString+StringHeight.h 与NSString+StringHeight.m//// NSString+StringHeight.h// USA//// ... 阅读全文
posted @ 2015-02-16 22:39 YouXianMing 阅读(1133) 评论(0) 推荐(0) 编辑
摘要:AnchoredFloatViewFloat View over TableView to indicate selected row directionFloat View 可以用来指示 TableView 中被选择的cell.This is a Float View to indicate th... 阅读全文
posted @ 2015-02-15 21:19 YouXianMing 阅读(369) 评论(0) 推荐(0) 编辑
摘要:AFNetworking 2.5.0版本的使用http://afnetworking.com/http://cocoadocs.org/docsets/AFNetworking/2.5.0/1. 下载源码并进行编译源码地址 http://pan.baidu.com/s/1jG24w3W2. 判断当前... 阅读全文
posted @ 2015-02-14 17:07 YouXianMing 阅读(3011) 评论(1) 推荐(0) 编辑
摘要:使用Github的高级搜索功能1. 首先,提供Github高级搜索帮助页面https://help.github.com/categories/search/2. 搜索语法https://help.github.com/articles/search-syntax/比方说,你要搜索心数大于一定数目的... 阅读全文
posted @ 2015-02-14 07:19 YouXianMing 阅读(13782) 评论(1) 推荐(4) 编辑
摘要:IDMPhotoBrowserIDMPhotoBrowser is a new implementation based onMWPhotoBrowser.IDMPhotoBrowser实现了图片浏览器的功能,基于MWPhotoBrowser.We've added both user experi... 阅读全文
posted @ 2015-02-14 06:33 YouXianMing 阅读(2094) 评论(0) 推荐(0) 编辑
摘要:GONMarkupParserhttps://github.com/nicolasgoutaland/GONMarkupParser NSString *inputText = @"Simple input text, using a preconfigured parser.\nThis t... 阅读全文
posted @ 2015-02-13 20:38 YouXianMing 阅读(1864) 评论(0) 推荐(0) 编辑
摘要:ASCScreenBrightnessDetectorASCScreenBrightnessDetector lets you easily detect screen brightness changes and provides some useful delegate methods.For ... 阅读全文
posted @ 2015-02-12 23:00 YouXianMing 阅读(497) 评论(0) 推荐(0) 编辑
摘要:精美UI界面欣赏[4] 阅读全文
posted @ 2015-02-12 20:20 YouXianMing 阅读(301) 评论(1) 推荐(1) 编辑
摘要:FeSpinnerThe loader collection for iOS app.收集的iOS加载动画。REQUIREMENTFeSpinner work on any version iOS and compatible with ARC or non-ARC. But your projec... 阅读全文
posted @ 2015-02-11 22:56 YouXianMing 阅读(554) 评论(0) 推荐(1) 编辑
摘要:用适配器模式处理复杂的UITableView中cell的业务逻辑适配器是用来隔离数据源对cell布局影响而使用的,cell只接受适配器的数据,而不会与外部数据源进行交互.源码:ModelCell.h 与ModelCell.m//// ModelCell.h// Adapter//// Crea... 阅读全文
posted @ 2015-02-10 22:36 YouXianMing 阅读(945) 评论(0) 推荐(1) 编辑
摘要:FBNetworkReachabilityYou can use FBNetworkReachabilty class to get network reachability on iOS device.你可以用FBNetworkReachabilty来获悉网络链接是否可用。Usage(1) Get... 阅读全文
posted @ 2015-02-10 21:15 YouXianMing 阅读(465) 评论(0) 推荐(0) 编辑
摘要:VENCalculatorInputViewhttps://github.com/venmo/VENCalculatorInputViewVENCalculatorInputView is the calculator keyboard that is used in theVenmoiOS app... 阅读全文
posted @ 2015-02-09 22:35 YouXianMing 阅读(418) 评论(0) 推荐(0) 编辑
摘要:将字典或者数组转换成JSON数据或者字符串源码:NSDictionary+JSON.h 与NSDictionary+JSON.m//// NSDictionary+JSON.h// Category//// Created by YouXianMing on 15-2-09.// Copyr... 阅读全文
posted @ 2015-02-09 22:14 YouXianMing 阅读(717) 评论(0) 推荐(1) 编辑
摘要:VICMAImageViewhttps://github.com/vitoziv/VICMAImageViewChange image view's content mode with your animation!修改 imageView 的contentMode属性就有动画效果!Installa... 阅读全文
posted @ 2015-02-08 22:16 YouXianMing 阅读(320) 评论(0) 推荐(0) 编辑
摘要:TransitionKithttps://github.com/blakewatters/TransitionKitA simple, elegantly designed block based API for implementing State Machines in Objective-C一... 阅读全文
posted @ 2015-02-08 20:54 YouXianMing 阅读(870) 评论(0) 推荐(0) 编辑
摘要:UIGlossyButtonhttps://github.com/waterlou/UIGlossyButtonFeaturecreate standard iPhone buttons without any image 创建出标准的iPhone按钮,不需要你添加任何的图片easy to embe... 阅读全文
posted @ 2015-02-07 22:47 YouXianMing 阅读(352) 评论(0) 推荐(0) 编辑
摘要:MMMaterialDesignSpinnerUsageTo run the example project, clone the repo, and runpod installfrom the Example directory first.首先,通过pod安装,然后运行项目。// Initia... 阅读全文
posted @ 2015-02-07 22:03 YouXianMing 阅读(550) 评论(0) 推荐(0) 编辑
摘要:AFSoundManageriOS audio playing (both local and streaming) and recording made easy through a complete and block-driven Objective-C class. AFSoundManag... 阅读全文
posted @ 2015-02-06 22:22 YouXianMing 阅读(1711) 评论(0) 推荐(0) 编辑
摘要:实现UIView的无限旋转动画(非CALayer动画)效果:素材:源码://// ViewController.m// Animation//// Created by YouXianMing on 15/2/5.// Copyright (c) 2015年 YouXianMing. All... 阅读全文
posted @ 2015-02-05 22:51 YouXianMing 阅读(2429) 评论(0) 推荐(0) 编辑
摘要:JTSReachabilitAn adaptation of Apple's Reachability with some block-based conveniences.这是一个苹果的网络检测类的改编版本,提供便利的基于block的方法。UsageUsage is straightforward... 阅读全文
posted @ 2015-02-05 21:27 YouXianMing 阅读(312) 评论(0) 推荐(0) 编辑
摘要:AJProgressPanelAnimated progress panel可做动画的进度条No images needed, all CoreGraphics code 不需要图片,使用CoreGraphics绘制的图片Works on iPhone and iPad (resolution in... 阅读全文
posted @ 2015-02-04 22:28 YouXianMing 阅读(339) 评论(0) 推荐(0) 编辑
摘要:精美UI界面欣赏[3] 阅读全文
posted @ 2015-02-04 21:04 YouXianMing 阅读(306) 评论(0) 推荐(0) 编辑
摘要:GCDiscreetNotificationViewGCDiscreetNotificationView is a discreet, non-modal, notification view for iOS. You can use it to show an activity or state ... 阅读全文
posted @ 2015-02-03 22:30 YouXianMing 阅读(471) 评论(0) 推荐(1) 编辑
摘要:SvpplyTablehttps://github.com/liuminqian/SvpplyTableSvpplyTable is a demo to realize expandable and collapsable menu animation, Like Svpply app.Svpply... 阅读全文
posted @ 2015-02-02 22:22 YouXianMing 阅读(370) 评论(0) 推荐(0) 编辑
摘要:GVUserDefaultsTired of writing all that code to get and set defaults in NSUserDefaults? Want to have code completion and compiler checks by using prop... 阅读全文
posted @ 2015-02-02 22:04 YouXianMing 阅读(3128) 评论(0) 推荐(0) 编辑
摘要:精美UI界面欣赏[2] 阅读全文
posted @ 2015-02-01 21:37 YouXianMing 阅读(252) 评论(0) 推荐(0) 编辑
摘要:用tableView实现的一种加载数据的布局此博文是应朋友之邀解决他的业务逻辑问题效果:素材:源码:ImageCell.h 与ImageCell.m//// ImageCell.h// TableView//// Created by YouXianMing on 15/2/1.// Cop... 阅读全文
posted @ 2015-02-01 21:07 YouXianMing 阅读(965) 评论(0) 推荐(0) 编辑
摘要:UPCardsCarouselUPCardsCarouselis a carousel with a cards based UI for iOS.UPCardsCarousel是一个旋转木马效果的UI控件.UPCardsCarouselRequirementsUPCardsCarouseluses... 阅读全文
posted @ 2015-02-01 19:40 YouXianMing 阅读(416) 评论(0) 推荐(0) 编辑

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