iOS 开发类库
snpq1582
9年前
<h2>UI</h2> <table cellspacing="0" class=" t_table"> <tbody> <tr> <td> <p><span style="color:#000000">项目名称</span></p> </td> <td> <p><span style="color:#000000">项目信息</span></p> </td> </tr> <tr> <td><span style="color:#000000">1</span><span style="color:#000000">、</span><a class="gj_safe_a" href="/misc/goto?guid=4958879039621352972"><u>MJRefresh</u><span style="color:#000000"> </span></a></td> <td><span style="color:#000000">仅需一行代码就可以为</span><span style="color:#000000">UITableView</span><span style="color:#000000">或者</span><span style="color:#000000">CollectionView</span><span style="color:#000000">加上下拉刷新或者上拉刷新功能。</span><br> <span style="color:#000000">可以自定义上下拉刷新的文字说明。具体使用看</span><span style="color:#000000">“</span><span style="color:#000000">使用方法</span><span style="color:#000000">”</span><span style="color:#000000">。</span><span style="color:#000000"> </span><span style="color:#000000">(国人写)</span></td> </tr> <tr> <td><span style="color:#000000">2</span><span style="color:#000000">、</span><a class="gj_safe_a" href="/misc/goto?guid=4958968151447036880">CBStoreHouseRefreshControl</a><span style="color:#000000"><span style="color:#000000"> </span></span></td> <td><span style="color:#000000">一个效果很酷炫的下拉刷新控件。</span></td> </tr> <tr> <td><span style="color:#000000">3</span><span style="color:#000000">、</span><a class="gj_safe_a" href="/misc/goto?guid=4958863527509410496">BreakOutToRefresh</a><span style="color:#000000"> </span></td> <td><span style="color:#000000">一个下拉刷新打砖块的开源</span><span style="color:#000000"> Swift </span><span style="color:#000000">库,能让用户在等待下拉刷新的时候边玩撞球游戏边等待。</span></td> </tr> <tr> <td><span style="color:#000000">4</span><span style="color:#000000">、</span><a class="gj_safe_a" href="/misc/goto?guid=4958968151563193948">KYJellyPullToRefresh</a></td> <td><span style="color:#000000">实现弹性物理效果的下拉刷新,神奇的贝塞尔曲线,配合</span><span style="color:#000000">UIDynamic</span><span style="color:#000000">写的一个拟物的下拉刷新动画。</span></td> </tr> <tr> <td><span style="color:#000000">5</span><span style="color:#000000">、</span><a class="gj_safe_a" href="/misc/goto?guid=4958838688030385720">MHYahooParallaxView</a></td> <td><span style="color:#000000">类似于</span><span style="color:#000000">Yahoo Weather</span><span style="color:#000000">和</span><span style="color:#000000">News Digest</span><span style="color:#000000">首屏的视差滚动。</span></td> </tr> <tr> <td><span style="color:#000000">6</span><span style="color:#000000">、</span><a class="gj_safe_a" href="/misc/goto?guid=4958968151679676919">SDRefreshView</a></td> <td><span style="color:#000000">简单易用的上拉和下拉刷新(多版本细节适配)。</span></td> </tr> <tr> <td><span style="color:#000000">7</span><span style="color:#000000">、</span><a class="gj_safe_a" href="/misc/goto?guid=4958869565319638920">ZLSwiftRefresh</a></td> <td><span style="color:#000000">swift</span><span style="color:#000000">下拉刷新</span><span style="color:#000000">/</span><span style="color:#000000">上拉加载更多,支持自定义动画,集成简单,兼容</span><span style="color:#000000">UITableView/CollectionView/ScrollView/WebView</span><span style="color:#000000">。</span></td> </tr> <tr> <td><span style="color:#000000">8</span><span style="color:#000000">、</span><a class="gj_safe_a" href="/misc/goto?guid=4958968152273743196">Animations</a></td> <td><span style="color:#000000">封装了一下,使用的时候只要两行代码。一些动画的飞机稿,都是一些单独分离出来的用于测试的子动画,现在统一归类一下。</span></td> </tr> <tr> <td><span style="color:#000000">9</span><span style="color:#000000">、</span><a class="gj_safe_a" href="/misc/goto?guid=4958968152191440771">Replace-iOS</a></td> <td><span style="color:#000000">Replace-iOS </span><span style="color:#000000">让人眼前一亮的下拉刷新(</span><span style="color:#000000">iOS</span><span style="color:#000000">)。</span></td> </tr> <tr> <td><span style="color:#000000">10</span><span style="color:#000000">、</span><a class="gj_safe_a" href="/misc/goto?guid=4958968152105547342">推terCover</a></td> <td><span style="color:#000000">推ter iOS</span><span style="color:#000000">客户端的下拉封面模糊效果。</span></td> </tr> <tr> <td><span style="color:#000000">11</span><span style="color:#000000">、</span><a class="gj_safe_a" href="/misc/goto?guid=4958875017643368968">PullToMakeSoup</a></td> <td><span style="color:#000000">PullToMakeSoup, </span><span style="color:#000000">自定义下拉刷新的动画效果:煮饭</span><span style="color:#000000">, Yalantis</span><span style="color:#000000">新作!</span></td> </tr> <tr> <td><span style="color:#000000">12</span><span style="color:#000000">、</span><a class="gj_safe_a" href="/misc/goto?guid=4958968151994461695">ODRefreshControl</a></td> <td><span style="color:#000000">原</span><span style="color:#000000">iOS6</span><span style="color:#000000">上的橡皮糖刷新样式,很有意思。现在也很多大的</span><span style="color:#000000"> App </span><span style="color:#000000">在用,比如虾米音乐和</span><span style="color:#000000"> QQ </span><span style="color:#000000">客户端。</span></td> </tr> <tr> <td>13、<a class="gj_safe_a" href="/misc/goto?guid=4958870674500642597">iCarousel</a></td> <td><span style="color:#000000">CoverFlow</span><span style="color:#000000">效果</span></td> </tr> <tr> <td> </td> <td> </td> </tr> </tbody> </table> <h2>模糊效果</h2> <table cellspacing="0" class=" t_table"> <tbody> <tr> <td><span style="color:#000000">1</span><span style="color:#000000">、</span><span style="color:#000000"><a class="gj_safe_a" href="/misc/goto?guid=4958870678453922692">FXBlurView</a> </span></td> <td><span style="color:#000000">支持</span><span style="color:#000000">iOS5.0</span><span style="color:#000000">以上版本,支持静态、动态模糊效果,继承与</span><span style="color:#000000">UIView</span><span style="color:#000000">的模糊特效。</span></td> </tr> <tr> <td><span style="color:#000000">2</span><span style="color:#000000">、</span><a class="gj_safe_a" href="/misc/goto?guid=4958860456732427166">VVBlurPresentation</a></td> <td><span style="color:#000000">很简单易用的在原来</span><span style="color:#000000">viewconntroller</span><span style="color:#000000">基础上做模糊,然后</span><span style="color:#000000">present</span><span style="color:#000000">新的</span><span style="color:#000000">viewcontroller</span><span style="color:#000000">的。</span></td> </tr> <tr> <td><span style="color:#000000">3</span><span style="color:#000000">、</span><span style="color:#000000"><a class="gj_safe_a" href="/misc/goto?guid=4958968152645260186">UICustomActionSheet</a> </span></td> <td><span style="color:#000000">通过模糊背景来着重强调与菜单相关的元素</span><span style="color:#000000">–</span><span style="color:#000000">对话框</span><span style="color:#000000"> </span><span style="color:#000000">里面已经收藏。</span></td> </tr> <tr> <td><span style="color:#000000">4</span><span style="color:#000000">、</span><a class="gj_safe_a" href="/misc/goto?guid=4958968152726190706">SABlurImageView</a></td> <td><span style="color:#000000">支持渐变动画效果的图像模糊化类库。</span></td> </tr> </tbody> </table> <h2>AutoLayout</h2> <p> </p> <table cellspacing="0" class=" t_table"> <tbody> <tr> <td><span style="color:#000000">1</span><span style="color:#000000">、</span><a class="gj_safe_a" href="/misc/goto?guid=4958859777257967615">Masonry</a></td> <td><span style="color:#000000">Masonry</span><span style="color:#000000">是一个轻量级的布局框架,拥有自己的描述语法,采用更优雅的链式语法封装自动布局,简洁明了并具有高可读性(</span><span style="color:#000000"> </span><span style="color:#000000">使用介绍</span><span style="color:#000000">1 </span><span style="color:#000000">使用介绍</span><span style="color:#000000">2</span><span style="color:#000000">),</span><span style="color:#000000">iOS</span><span style="color:#000000">自适应前段库</span><span style="color:#000000">-Masonry</span><span style="color:#000000">的使用),</span><span style="color:#000000">Masonry</span><span style="color:#000000">、</span><span style="color:#000000">Classy</span><span style="color:#000000">、</span><span style="color:#000000">ClassyLiveLayout</span><span style="color:#000000">介绍。使用</span><span style="color:#000000">DEMO </span><span style="color:#000000">视图居中显示、子视图含边距、视图等距离摆放、计算</span><span style="color:#000000">ScrollView</span><span style="color:#000000">的</span><span style="color:#000000">contentsize</span><span style="color:#000000">。</span></td> </tr> <tr> <td><span style="color:#000000">2</span><span style="color:#000000">、</span><a class="gj_safe_a" href="/misc/goto?guid=4958968153165840873">Classy</a></td> <td><span style="color:#000000">Classy – Classy</span><span style="color:#000000">是一个能与</span><span style="color:#000000">UIKit</span><span style="color:#000000">无缝结合</span><span style="color:#000000">stylesheet(</span><span style="color:#000000">样式</span><span style="color:#000000">)</span><span style="color:#000000">系统。它借鉴</span><span style="color:#000000">CSS</span><span style="color:#000000">的思想,但引入新的语法和命名规则,</span><span style="color:#000000">Classy</span><span style="color:#000000">官网,</span><span style="color:#000000">Masonry</span><span style="color:#000000">、</span><span style="color:#000000">Classy</span><span style="color:#000000">、</span><span style="color:#000000">ClassyLiveLayout</span><span style="color:#000000">介绍。</span></td> </tr> <tr> <td><span style="color:#000000">3</span><span style="color:#000000">、</span><a class="gj_safe_a" href="/misc/goto?guid=4958968153340291200">ClassyLiveLayout</a></td> <td><span style="color:#000000">ClassyLiveLayout</span><span style="color:#000000">通过结合</span><span style="color:#000000">Classy stylesheets</span><span style="color:#000000">与</span><span style="color:#000000">Masonry</span><span style="color:#000000">一起使用,能够在运行的模拟器中微调</span><span style="color:#000000">Auto Layout</span><span style="color:#000000">约束实时显示效果的工具,</span><span style="color:#000000">Masonry</span><span style="color:#000000">、</span><span style="color:#000000">Classy</span><span style="color:#000000">、</span><span style="color:#000000">ClassyLiveLayout</span><span style="color:#000000">介绍。</span></td> </tr> <tr> <td><span style="color:#000000">4</span><span style="color:#000000">、</span><a class="gj_safe_a" href="/misc/goto?guid=4958968153439046130">Snap</a></td> <td><span style="color:#000000">Snap</span><span style="color:#000000">是</span><span style="color:#000000">Masonry Auto Layout DSL</span><span style="color:#000000">的</span><span style="color:#000000">Swift</span><span style="color:#000000">版本,是一款轻量级的布局框架,使用了更良好的语法封装了</span><span style="color:#000000">AutoLayout</span><span style="color:#000000">。</span><span style="color:#000000">Snap</span><span style="color:#000000">支持</span><span style="color:#000000">iOS</span><span style="color:#000000">和</span><span style="color:#000000">OS X</span><span style="color:#000000">。</span></td> </tr> <tr> <td><span style="color:#000000">5</span><span style="color:#000000">、</span><span style="color:#000000"><a class="gj_safe_a" href="/misc/goto?guid=4958870807217099262">Auto-Layout-Showcase</a> </span></td> <td><span style="color:#000000">swift,AutoLayout </span><span style="color:#000000">进阶</span><span style="color:#000000"> Demo</span><span style="color:#000000">,宽高比约束、比例约束、不等约束、视差约束、低优先级约束等高级用法,无需写码即可进行复杂页面布局,</span><span style="color:#000000">Demo </span><span style="color:#000000">还动态模拟了各屏幕下的效果。来自百度知道</span><span style="color:#000000"> iOS </span><span style="color:#000000">小组的内部分享。</span></td> </tr> </tbody> </table> <p>富文本</p> <table cellspacing="0" class=" t_table"> <tbody> <tr> <td><span style="color:#000000">1</span><span style="color:#000000">、</span><a class="gj_safe_a" href="/misc/goto?guid=4958968154307714429">TYAttributedLabel</a></td> <td><span style="color:#000000">TYAttributedLabel</span><span style="color:#000000">。</span><span style="color:#000000"> </span><span style="color:#000000">简单易用的属性文本控件</span><span style="color:#000000">(</span><span style="color:#000000">无需了解</span><span style="color:#000000">CoreText)</span><span style="color:#000000">,支持富文本,图文混排显示,支持添加链接,</span><span style="color:#000000">image</span><span style="color:#000000">和</span><span style="color:#000000">UIView</span><span style="color:#000000">控件,支持自定义排版显示。</span></td> </tr> <tr> <td><span style="color:#000000">2</span><span style="color:#000000">、</span><a class="gj_safe_a" href="/misc/goto?guid=4958968154222377157">RTLabel</a></td> <td><span style="color:#000000">富文本,</span><span style="color:#000000">RTLabel</span><span style="color:#000000">支持</span><span style="color:#000000">64</span><span style="color:#000000">位。</span></td> </tr> <tr> <td><span style="color:#000000">3</span><span style="color:#000000">、</span><a class="gj_safe_a" href="/misc/goto?guid=4958968154389791766">TQRichTextView</a></td> <td><span style="color:#000000">用于做富文本视图控件显示,用于即时通讯的表情显示,以及资源评论的富文本显示。</span><br> </td> </tr> <tr> <td><span style="color:#000000">4</span><span style="color:#000000">、</span><a class="gj_safe_a" href="/misc/goto?guid=4958968154477640860">TTTAttributedLabel</a></td> <td><span style="color:#000000">一个文字视图开源组件,是</span><span style="color:#000000">UILabel</span><span style="color:#000000">的替代元件,可以以简单的方式展现渲染的属性字符串。另外,还支持链接植入,不管是手动还是使用</span><span style="color:#000000">UIDataDetectorTypes</span><span style="color:#000000">自动把电话号码、事件、地址以及其他信息变成链接。用</span><span style="color:#000000">TTTAttributedLabel</span><span style="color:#000000">创建变化丰富的</span><span style="color:#000000">UILabel – </span><span style="color:#000000">网易新闻</span><span style="color:#000000">iOS</span><span style="color:#000000">版使用。</span></td> </tr> <tr> <td><span style="color:#000000">5</span><span style="color:#000000">、</span><a class="gj_safe_a" href="/misc/goto?guid=4958968154650651170">MLEmojiLabel</a></td> <td><span style="color:#000000">自动识别网址、号码、邮箱、</span><span style="color:#000000">@</span><span style="color:#000000">、</span><span style="color:#000000">#</span><span style="color:#000000">话题</span><span style="color:#000000">#</span><span style="color:#000000">和表情的</span><span style="color:#000000">label</span><span style="color:#000000">。可以自定义自己的表情识别正则,和对应的表情图像。</span><span style="color:#000000">(</span><span style="color:#000000">默认是识别微信的表情符号</span><span style="color:#000000">)</span><span style="color:#000000">,继承自</span><span style="color:#000000">TTTAttributedLabel</span><span style="color:#000000">,所以可以像</span><span style="color:#000000">label</span><span style="color:#000000">一样使用。</span><span style="color:#000000">label</span><span style="color:#000000">的特性全都有,使用起来更友好更方便。</span></td> </tr> <tr> <td><span style="color:#000000">6</span><span style="color:#000000">、</span><a class="gj_safe_a" href="/misc/goto?guid=4958968154737182448">FXLabel</a></td> <td><span style="color:#000000">FXLabel</span><span style="color:#000000">是一个功能强大使用简单的类库,通过提供一个子类改进了标准的</span><span style="color:#000000">UILabel</span><span style="color:#000000">组件,为字体增加了阴影、内阴影和渐变色等,可以被用在任何标准的</span><span style="color:#000000">UILabel</span><span style="color:#000000">中。</span><span style="color:#000000">FXLabel</span><span style="color:#000000">还提供了更多控件,可以对字体行距、字体间距等进行调整。</span></td> </tr> <tr> <td><span style="color:#000000">7</span><span style="color:#000000">、</span><a class="gj_safe_a" href="/misc/goto?guid=4958968155464120454">ZSSRichTextEditor</a></td> <td><span style="color:#000000">适用于</span><span style="color:#000000">iOS</span><span style="color:#000000">的富文本</span><span style="color:#000000">WYSIWYG</span><span style="color:#000000">编辑器,支持语法高亮和源码查看。</span><span style="color:#000000">ZSSRichTextEditor</span><span style="color:#000000">包含所有</span><span style="color:#000000">WYSIWYG</span><span style="color:#000000">标准的编辑器工具。</span></td> </tr> <tr> <td><span style="color:#000000">8</span><span style="color:#000000">、</span><a class="gj_safe_a" href="/misc/goto?guid=4958870806922554123">RichEditorView</a></td> <td><span style="color:#000000">swift</span><span style="color:#000000">,一套可定制富文本编辑器组件及示例。功能完整、代码简练、实现逻辑巧妙(编辑器核心与</span><span style="color:#000000"> WebView </span><span style="color:#000000">结合,采用</span><span style="color:#000000"> HTML5 contentEditable </span><span style="color:#000000">编辑模式,执行</span><span style="color:#000000">JS </span><span style="color:#000000">配套命令</span><span style="color:#000000"> execCommand </span><span style="color:#000000">实现富文本编辑功能)。</span></td> </tr> <tr> <td><span style="color:#000000">9</span><span style="color:#000000">、</span><span style="color:#000000"><a class="gj_safe_a" href="/misc/goto?guid=4958870676850574085">DTCoreText</a> </span></td> <td><span style="color:#000000">可以解析</span><span style="color:#000000">HTML</span><span style="color:#000000">与</span><span style="color:#000000">CSS</span><span style="color:#000000">最终用</span><span style="color:#000000">CoreText</span><span style="color:#000000">绘制出来,通常用于在一些需要显示富文本的场景下代替低性能的</span><span style="color:#000000">UIWebView</span><span style="color:#000000">。</span><span style="color:#000000">DTCoreText</span><span style="color:#000000">源码解析。</span></td> </tr> <tr> <td>10、<a class="gj_safe_a" href="/misc/goto?guid=4958529042236223448">Nimbus</a></td> <td> <p>Nimbus是一个网站的iOS应用程序开发类库,它封装了众多iOS的控件,包括:实现丰富字体效果以及加上链接的label(rich text label with hyperlinks),完整的网页浏览视图(web view controller), 多选框(radio groups),丰富的列表交互,以及强大的debug工具等等其他各种控件效果。难能可贵的是,Nimbus的文档十分详细,十分有利于开发者参考,用他们的话说是:Nimbus is an iOS framework whose feature set grows only as fast as its documentation。这也是Nimbus最大的特点。</p> </td> </tr> <tr> <td><span style="color:#000000">11</span><span style="color:#000000">、</span><a class="gj_safe_a" href="/misc/goto?guid=4958968155890134732">FuriganaTextView</a></td> <td><span style="color:#000000">实现复杂的日文韩文排版。</span></td> </tr> <tr> <td><span style="color:#000000">12</span><span style="color:#000000">、</span><a class="gj_safe_a" href="/misc/goto?guid=4958968156028779174">GJCFCoreText</a></td> <td><span style="color:#000000">图文混排。</span></td> </tr> <tr> <td><span style="color:#000000">13</span><span style="color:#000000">、</span><a class="gj_safe_a" href="/misc/goto?guid=4958968156204498875">FFLabel</a></td> <td><span style="color:#000000">自动检测</span><span style="color:#000000"> URLs, @username, #topic# </span><span style="color:#000000">等关链词(提供响应扩展)。实用的标签文本小组件</span></td> </tr> </tbody> </table> <p>图表 charts</p> <table cellspacing="0" class=" t_table"> <tbody> <tr> <td><span style="color:#000000">1</span><span style="color:#000000">、</span><a class="gj_safe_a" href="/misc/goto?guid=4958858813176382638">PNChart</a></td> <td><span style="color:#000000">国内开源作者,动态的图表。</span></td> </tr> <tr> <td><span style="color:#000000">2</span><span style="color:#000000">、</span><a class="gj_safe_a" href="/misc/goto?guid=4958968156583119817">swift-linechart</a></td> <td><span style="color:#000000">功能完整、实用的折线图组件。使用方便,参数配置简单。是不可多得的优质组件</span><span style="color:#000000">–swift</span><span style="color:#000000">。</span></td> </tr> <tr> <td><span style="color:#000000">3</span><span style="color:#000000">、</span><a class="gj_safe_a" href="/misc/goto?guid=4958968156690876704">TEAChart</a></td> <td><span style="color:#000000">xhacker/TEAChart </span><span style="color:#000000">一个简洁的</span><span style="color:#000000"> iOS </span><span style="color:#000000">图表库,支持柱状图、饼图以及日历等。</span></td> </tr> <tr> <td><span style="color:#000000">4</span><span style="color:#000000">、</span><a class="gj_safe_a" href="/misc/goto?guid=4958960668776170335">YOChartImageKit</a></td> <td><span style="color:#000000">支持在</span><span style="color:#000000">watchOS</span><span style="color:#000000">上绘制图表,看它最近更新挺勤快的,可以关注一下。</span></td> </tr> <tr> <td><span style="color:#000000">5</span><span style="color:#000000">、</span><a class="gj_safe_a" href="/misc/goto?guid=4958961659998146182">RealtimeGradientText</a></td> <td><span style="color:#000000">Fun With CALayer Mask </span><span style="color:#000000">刚好今天开源了一个有趣的项目</span><span style="color:#000000"> RealtimeGradientText</span><span style="color:#000000">,所以也好聊一下</span><span style="color:#000000"> CALayer </span><span style="color:#000000">的</span><span style="color:#000000"> Mask</span><span style="color:#000000">,说明。</span></td> </tr> </tbody> </table> <h2>表相关</h2> <p> </p> <p> </p> <table cellspacing="0" class=" t_table"> <tbody> <tr> <td><span style="color:#000000">1</span><span style="color:#000000">、</span><a class="gj_safe_a" href="/misc/goto?guid=4958968156871904893">SWTableViewCell</a></td> <td><span style="color:#000000">国内开源作者,带很多手势的表单元格。</span></td> </tr> <tr> <td><span style="color:#000000">2</span><span style="color:#000000">、</span><span style="color:#000000"><a class="gj_safe_a" href="/misc/goto?guid=4958968156951425983">MCSwipeTableViewCell</a>–</span></td> <td><span style="color:#000000">带很多手势的表单元格。</span></td> </tr> <tr> <td><span style="color:#000000">3</span><span style="color:#000000">、</span><a class="gj_safe_a" href="/misc/goto?guid=4958968157132125710">WaterfallFlowDemo</a></td> <td><span style="color:#000000">一个简单的</span><span style="color:#000000">UICollectionView</span><span style="color:#000000">瀑布流布局演示</span><span style="color:#000000">demo</span><span style="color:#000000">。</span></td> </tr> <tr> <td><span style="color:#000000">4</span><span style="color:#000000">、</span><a class="gj_safe_a" href="/misc/goto?guid=4958968157212596339">XLForm</a></td> <td><span style="color:#000000">很多表格类的</span><span style="color:#000000">table,</span><span style="color:#000000">写法更高冷一点,推荐使用。</span></td> </tr> <tr> <td><span style="color:#000000">5</span><span style="color:#000000">、</span><a class="gj_safe_a" href="/misc/goto?guid=4958968157301390404">RETableViewManager</a></td> <td><span style="color:#000000">可以十分方便地生成各种样式、各种功能的</span><span style="color:#000000">TableView</span><span style="color:#000000">。只要开发者能想到的列表效果或者功能,都可以利用这份代码迅速编写出来。比如,之前要实现一个填写各种资料的列表,可能需要很多代码,现在只需要几行代码就可以实现。</span></td> </tr> <tr> <td><span style="color:#000000">6</span><span style="color:#000000">、</span><a class="gj_safe_a" href="/misc/goto?guid=4958968157380260933">UIScrollSlidingPages</a></td> <td><span style="color:#000000">允许添加多视图控件,并且可以横向滚动。有点类似于</span><span style="color:#000000">Groupon app</span></td> </tr> <tr> <td><span style="color:#000000">7</span><span style="color:#000000">、</span><a class="gj_safe_a" href="/misc/goto?guid=4958968157474836844">HBHorizontalTableView</a></td> <td><span style="color:#000000">swift</span><span style="color:#000000">,</span><span style="color:#000000">TableView </span><span style="color:#000000">横向滚动小示例(仿照</span><span style="color:#000000"> AppStore </span><span style="color:#000000">应用展示)。</span></td> </tr> <tr> <td><span style="color:#000000">8</span><span style="color:#000000">、</span><span style="color:#000000"><a class="gj_safe_a" href="/misc/goto?guid=4958968157561719733">HorizontalScrollCell</a> </span></td> <td><span style="color:#000000">HorizontalScrollCell</span><span style="color:#000000">是一款使用方便的水平方向可滚动的单元格,适用于</span><span style="color:#000000">UICollectionView</span><span style="color:#000000">中实现水片方向滚动视图。</span><span style="color:#000000"> </span></td> </tr> <tr> <td><span style="color:#000000">9</span><span style="color:#000000">、</span><a class="gj_safe_a" href="/misc/goto?guid=4958968157724175383">UUChatTableView</a></td> <td><span style="color:#000000">UUChatTableView </span><span style="color:#000000">气泡聊天界面,支持文本、图片以及音频的气泡聊天界面。源码推荐说明。</span></td> </tr> <tr> <td><span style="color:#000000">10</span><span style="color:#000000">、</span><span style="color:#000000"><a class="gj_safe_a" href="/misc/goto?guid=4958863476036700171">Chats</a> </span></td> <td><span style="color:#000000">聊天</span><span style="color:#000000"> UI </span><span style="color:#000000">示例程序。此项目应该只为演示或学习之用,没有服务器</span><span style="color:#000000"> — swift</span><span style="color:#000000">。</span></td> </tr> <tr> <td><span style="color:#000000">11</span><span style="color:#000000">、</span><a class="gj_safe_a" href="/misc/goto?guid=4958968158041480506">Atlas-iOS</a></td> <td><span style="color:#000000">快速在</span><span style="color:#000000">iOS</span><span style="color:#000000">里集成聊天功能,类似开源版本的环信。</span><span style="color:#000000">Layer</span><span style="color:#000000">家开源了一套聊天</span><span style="color:#000000">app</span><span style="color:#000000">界面的解决方案</span><span style="color:#000000">.</span><span style="color:#000000">看起来很赞,很多蛮复杂的东西直接都帮封好了。不得不说现在做</span><span style="color:#000000">app</span><span style="color:#000000">开发真是很简单,大部分时间搭积木就可以了。官方网站。</span></td> </tr> <tr> <td><span style="color:#000000">12</span><span style="color:#000000">、</span><a class="gj_safe_a" href="/misc/goto?guid=4958968158215451488">DLSlideView</a></td> <td><span style="color:#000000">DLSlideView</span><span style="color:#000000">对常见的顶部</span><span style="color:#000000">Tab</span><span style="color:#000000">页点击、滑动分页做了封装。它使用基于</span><span style="color:#000000">ViewController</span><span style="color:#000000">的</span><span style="color:#000000">container</span><span style="color:#000000">特性(而不是</span><span style="color:#000000">scrollview</span><span style="color:#000000">)来管理各个子页面,以支持无限分页,源码推荐说明。</span></td> </tr> <tr> <td><span style="color:#000000">13</span><span style="color:#000000">、</span><a class="gj_safe_a" href="/misc/goto?guid=4958968158314500393">VOVCManager</a></td> <td><span style="color:#000000">页面管理器</span><span style="color:#000000">:1.</span><span style="color:#000000">跳转指定页面</span><span style="color:#000000">,</span><span style="color:#000000">只需要知道</span><span style="color:#000000">viewController</span><span style="color:#000000">的</span><span style="color:#000000">Class</span><span style="color:#000000">名</span><span style="color:#000000">,</span><span style="color:#000000">如果有</span><span style="color:#000000">storyboard,</span><span style="color:#000000">则需要指定</span><span style="color:#000000">storyboard</span><span style="color:#000000">名;</span><span style="color:#000000">2.</span><span style="color:#000000">无需添加基类;</span><span style="color:#000000">3.</span><span style="color:#000000">支持</span><span style="color:#000000">URLScheme</span><span style="color:#000000">跳转指定页面。</span></td> </tr> <tr> <td><span style="color:#000000">14</span><span style="color:#000000">、</span><span style="color:#000000"><a class="gj_safe_a" href="/misc/goto?guid=4958865498680044640">MBXPageViewController</a> </span></td> <td><span style="color:#000000">简洁快速的页面切换</span><span style="color:#000000">–MBXPageViewController</span><span style="color:#000000">,带有按钮控件的</span><span style="color:#000000">UIPageController</span><span style="color:#000000">,非常整洁、简单以及快速。该项目通过三种形式展示页面之间的切换,比如导航栏上的多个</span><span style="color:#000000">tab</span><span style="color:#000000">切换、页面左右两端箭头指示切换,以及使用分段控件。</span></td> </tr> <tr> <td><span style="color:#000000">15</span><span style="color:#000000">、</span><a class="gj_safe_a" href="/misc/goto?guid=4958968158422814881">PagerTab</a></td> <td><span style="color:#000000">UIScrollView</span><span style="color:#000000">实现滑动转换页面,类似网易云音乐</span><span style="color:#000000">iOS</span><span style="color:#000000">版的页面滑动切换效果。</span></td> </tr> <tr> <td><span style="color:#000000">16</span><span style="color:#000000">、</span><span style="color:#000000"><a class="gj_safe_a" href="/misc/goto?guid=4958968158595993574">VOMetroLayoutDemo</a> </span></td> <td><span style="color:#000000">Metro</span><span style="color:#000000">风格的</span><span style="color:#000000">UICollectionView, </span><span style="color:#000000">目前只支持横向布局</span><span style="color:#000000">,</span><span style="color:#000000">仅在</span><span style="color:#000000">iPad</span><span style="color:#000000">上应用。</span></td> </tr> <tr> <td><span style="color:#000000">17</span><span style="color:#000000">、</span><span style="color:#000000"><a class="gj_safe_a" href="/misc/goto?guid=4958968158772044856">COBezierTableView</a> </span></td> <td><span style="color:#000000">swift</span><span style="color:#000000">,通过编辑</span><span style="color:#000000"> Bezier </span><span style="color:#000000">曲线四点位置设置</span><span style="color:#000000"> TableView </span><span style="color:#000000">内</span><span style="color:#000000"> Cell </span><span style="color:#000000">及对应按扭位置。实验效果很赞。</span></td> </tr> <tr> <td><span style="color:#000000">18</span><span style="color:#000000">、</span><span style="color:#000000"><a class="gj_safe_a" href="/misc/goto?guid=4958968158933801100">LxTabBarController</a> </span></td> <td><span style="color:#000000">改变了原生</span><span style="color:#000000">tabbar</span><span style="color:#000000">切换</span><span style="color:#000000">tab</span><span style="color:#000000">时的生硬效果,并加入滑动切换手势(有和界面上的其它手势发生冲突的风险,可根据具体项目予以关闭),</span><span style="color:#000000">swift</span><span style="color:#000000">版本。</span></td> </tr> <tr> <td> </td> <td> </td> </tr> <tr> <td><span style="color:#000000">20</span><span style="color:#000000">、</span><span style="color:#000000"><a class="gj_safe_a" href="/misc/goto?guid=4958968159272060394">MDIHorizontalSectionTableViewController</a> </span></td> <td><span style="color:#000000">根据产品需求开源了一个交互项目,可以理解为横向</span><span style="color:#000000">Section</span><span style="color:#000000">的</span><span style="color:#000000">TableView</span><span style="color:#000000">,</span><span style="color:#000000">section</span><span style="color:#000000">和</span><span style="color:#000000">cell</span><span style="color:#000000">同时支持拖拽,后续安卓版本也会开源出来。</span></td> </tr> <tr> <td><span style="color:#000000">21</span><span style="color:#000000">、</span><span style="color:#000000"><a class="gj_safe_a" href="/misc/goto?guid=4958961805756296022">Sapporo</a> </span></td> <td><span style="color:#000000">swift </span><span style="color:#000000">单元格模型驱动的集合视图管理器组件。又一个超实用的</span><span style="color:#000000">“</span><span style="color:#000000">轮子</span><span style="color:#000000">”</span><span style="color:#000000">。</span></td> </tr> <tr> <td><span style="color:#000000">22</span><span style="color:#000000">、</span><span style="color:#000000"><a class="gj_safe_a" href="/misc/goto?guid=4958960668663460672">ExpandingStackCells</a> </span></td> <td><span style="color:#000000">采用</span><span style="color:#000000"> UIStackView </span><span style="color:#000000">实现表格单元格扩展内容显示示例及解决方案。</span></td> </tr> </tbody> </table> <p> </p> <h2>隐藏与显示</h2> <table cellspacing="0" class=" t_table"> <tbody> <tr> <td><span style="color:#000000">1</span><span style="color:#000000">、</span><a class="gj_safe_a" href="/misc/goto?guid=4958968159899992534">FoldingTabBar.iOS</a></td> <td><span style="color:#000000">可折叠</span><span style="color:#000000">Tab Bar</span><span style="color:#000000">和</span><span style="color:#000000">Tab Bar Controller</span><span style="color:#000000">。</span></td> </tr> <tr> <td><span style="color:#000000">2</span><span style="color:#000000">、</span><span style="color:#000000"><a class="gj_safe_a" href="/misc/goto?guid=4958968159982680024">LTNavigationBar</a> </span></td> <td><span style="color:#000000">LTNavigationBar</span><span style="color:#000000">为</span><span style="color:#000000">app</span><span style="color:#000000">导航栏添加动态着色效果,可自定义其背景色。</span><span style="color:#000000">Demo</span><span style="color:#000000">包含:</span><span style="color:#000000">1.</span><span style="color:#000000">变换背景色;</span><span style="color:#000000">2.</span><span style="color:#000000">滚动视图,导航栏和状态栏重叠。</span></td> </tr> <tr> <td><span style="color:#000000">3</span><span style="color:#000000">、</span><a class="gj_safe_a" href="/misc/goto?guid=4958868594123182207">BLKFlexibleHeightBar</a></td> <td><span style="color:#000000">固定</span><span style="color:#000000">Header</span><span style="color:#000000">的效果库。。</span></td> </tr> </tbody> </table> <h2>HUD 与 Toast</h2> <table cellspacing="0" class=" t_table"> <tbody> <tr> <td><span style="color:#000000">1</span><span style="color:#000000">、</span><span style="color:#000000"><a class="gj_safe_a" href="/misc/goto?guid=4958870672840018332">MBProgressHUD</a> </span></td> <td><span style="color:#000000">最多人用的</span><span style="color:#000000">loading</span><span style="color:#000000">。</span><br> </td> </tr> <tr> <td><span style="color:#000000">2</span><span style="color:#000000">、</span><span style="color:#000000"><a class="gj_safe_a" href="/misc/goto?guid=4958870673483345239">SVProgressHUD</a> </span></td> <td><span style="color:#000000">SVProgressHUD</span><span style="color:#000000">的</span><span style="color:#000000">loading</span><span style="color:#000000">,如果你需要定制化的等待提示器,这个就是了(也许是最好的)。。</span></td> </tr> <tr> <td><span style="color:#000000">3</span><span style="color:#000000">、</span><a class="gj_safe_a" href="/misc/goto?guid=4958968160206915869">ProgressHUD</a></td> <td><span style="color:#000000">ProgressHUD</span><span style="color:#000000">的</span><span style="color:#000000">loading</span><span style="color:#000000">,使用最简单。</span></td> </tr> <tr> <td><span style="color:#000000">4</span><span style="color:#000000">、</span><a class="gj_safe_a" href="/misc/goto?guid=4958968160293656820">MMProgressHUD</a></td> <td><span style="color:#000000">设置</span><span style="color:#000000">HUD</span><span style="color:#000000">出现和消失的方式(包括上下、左右、淡入淡出、放大缩小等等),设置</span><span style="color:#000000">HUD</span><span style="color:#000000">的内容(可以在</span><span style="color:#000000">HUD</span><span style="color:#000000">中加入帧动画、动态图片等等),设置</span><span style="color:#000000">HUD</span><span style="color:#000000">出现时的底部覆盖层颜色,等等。总而言之,这是一份集大成的</span><span style="color:#000000">HUD</span><span style="color:#000000">代码。慢慢看视频吧,囊括了所有效果。</span></td> </tr> <tr> <td><span style="color:#000000">5</span><span style="color:#000000">、</span><span style="color:#000000"><a class="gj_safe_a" href="/misc/goto?guid=4958968160374489105">WSProgressHUD</a> </span></td> <td><span style="color:#000000">一个小巧精致的</span><span style="color:#000000">HUD,</span><span style="color:#000000">支持添加到自定义</span><span style="color:#000000">View</span><span style="color:#000000">上</span><span style="color:#000000">, </span><span style="color:#000000">还有更多小细节</span><span style="color:#000000">.</span><span style="color:#000000">。</span></td> </tr> </tbody> </table> <h2>对话框</h2> <table cellspacing="0" class=" t_table"> <tbody> <tr> <td><span style="color:#000000">1</span><span style="color:#000000">、</span><span style="color:#000000"><a class="gj_safe_a" href="/misc/goto?guid=4958968160461233299">WCAlertView</a> </span></td> <td><span style="color:#000000">自定义的对话框。</span></td> </tr> <tr> <td><span style="color:#000000">2</span><span style="color:#000000">、</span><span style="color:#000000"><a class="gj_safe_a" href="/misc/goto?guid=4958968160808726823">HHAlertView</a> </span></td> <td><span style="color:#000000">一个简易的</span><span style="color:#000000">alertview </span><span style="color:#000000">有三种样式,有成功,失败,和警告三种样式,支持</span><span style="color:#000000">Delegate</span><span style="color:#000000">和</span><span style="color:#000000">block</span><span style="color:#000000">两种回调。</span></td> </tr> <tr> <td><span style="color:#000000">3</span><span style="color:#000000">、</span><span style="color:#000000"><a class="gj_safe_a" href="/misc/goto?guid=4958968161225122778">QBPopupMenu</a> </span></td> <td><span style="color:#000000">QBPopupMenu</span><span style="color:#000000">弹出菜单,实现类似</span><span style="color:#000000"> UIMenuItem </span><span style="color:#000000">的弹出菜单按钮。点击按钮,会弹出一个菜单,上面可以排列多个按钮。纯代码实现,不需要任何图片。</span></td> </tr> <tr> <td><span style="color:#000000">4</span><span style="color:#000000">、</span><a class="gj_safe_a" href="/misc/goto?guid=4958968161141600112">kxmenu</a></td> <td><span style="color:#000000">kxmenu</span><span style="color:#000000">弹出菜单,点击视图上任意位置的按钮,会弹出一个菜单,并且有个小箭头指向点击的按钮,类似气泡视图。弹出的菜单位置会根据按钮的位置来进行调整。</span></td> </tr> <tr> <td><span style="color:#000000">5</span><span style="color:#000000">、</span><span style="color:#000000"><a class="gj_safe_a" href="/misc/goto?guid=4958968160889236507">MJPopupViewController</a> </span></td> <td><span style="color:#000000">实现弹出视图的各种弹出和消失效果,包括淡入淡出(</span><span style="color:#000000">fade in</span><span style="color:#000000">,</span><span style="color:#000000">fade out</span><span style="color:#000000">),从屏幕上方飞进,下方飞出,从屏幕左方飞进,右方飞出等等效果,弹窗。</span></td> </tr> <tr> <td><span style="color:#000000">6</span><span style="color:#000000">、</span><a class="gj_safe_a" href="/misc/goto?guid=4958961806076243822">SwiftyDrop</a></td> <td><span style="color:#000000">轻量、易用的小清新弹出列表及信息提示组件真心不错。</span></td> </tr> </tbody> </table> <h2>动画</h2> <table cellspacing="0" class=" t_table"> <tbody> <tr> <td><span style="color:#000000">1</span><span style="color:#000000">、</span><a class="gj_safe_a" href="http://www.starming.com/index.php?v=index&view=62"><span style="color:#000000"><span style="color:#000000">Core Animation</span></span><span style="color:#000000">笔记,基本的使用方法</span></a></td> <td><span style="color:#000000">Core Animation</span><span style="color:#000000">笔记,基本的使用方法:</span><span style="color:#000000">1.</span><span style="color:#000000">基本动画,</span><span style="color:#000000">2.</span><span style="color:#000000">多步动画,</span><span style="color:#000000">3.</span><span style="color:#000000">沿路径的动画,</span><span style="color:#000000">4.</span><span style="color:#000000">时间函数,</span><span style="color:#000000">5.</span><span style="color:#000000">动画组。</span><br> </td> </tr> <tr> <td><span style="color:#000000">2</span><span style="color:#000000">、</span><a class="gj_safe_a" href="/misc/goto?guid=4958966503670253438">awesome-ios-animation</a></td> <td><span style="color:#000000">iOS Animation </span><span style="color:#000000">主流炫酷动画框架</span><span style="color:#000000">(</span><span style="color:#000000">特效</span><span style="color:#000000">)</span><span style="color:#000000">收集整理,收集整理了下</span><span style="color:#000000">iOS</span><span style="color:#000000">平台下比较主流炫酷的几款动画框架。</span></td> </tr> <tr> <td><span style="color:#000000">3</span><span style="color:#000000">、</span><span style="color:#000000"><a class="gj_safe_a" href="/misc/goto?guid=4958968168646573856">SinaMenuView</a> </span></td> <td><span style="color:#000000">用</span><span style="color:#000000">POP</span><span style="color:#000000">动画引擎写的</span><span style="color:#000000">Sina</span><span style="color:#000000">微博的</span><span style="color:#000000">Menu</span><span style="color:#000000">菜单。</span></td> </tr> <tr> <td><span style="color:#000000">4</span><span style="color:#000000">、</span><span style="color:#000000"><a class="gj_safe_a" href="/misc/goto?guid=4958870579080544940">MMTweenAnimation</a> </span></td> <td><span style="color:#000000">非死book POP</span><span style="color:#000000">的自定义动画扩展</span><span style="color:#000000">(</span><span style="color:#000000">基于</span><span style="color:#000000">POPCustomAnimation) </span><span style="color:#000000">提供</span><span style="color:#000000">10</span><span style="color:#000000">种函数式动画</span></td> </tr> <tr> <td><span style="color:#000000">5</span><span style="color:#000000">、</span><span style="color:#000000"><a class="gj_safe_a" href="/misc/goto?guid=4958968168849331482">CoolLoadAniamtion</a> </span></td> <td><span style="color:#000000">一个简单但是效果不错的</span><span style="color:#000000">loading</span><span style="color:#000000">动画。</span></td> </tr> <tr> <td><span style="color:#000000">6</span><span style="color:#000000">、</span><span style="color:#000000"><a class="gj_safe_a" href="/misc/goto?guid=4958968169100254832">VJDeviceSpecificMedia</a> – </span><span style="color:#000000">如何根据设备选择不同尺寸的图片</span><span style="color:#000000"> </span></td> <td><span style="color:#000000">可以通过设置不同尺寸设备的</span><span style="color:#000000">LaunchImage</span><span style="color:#000000">,来使得</span><span style="color:#000000">App</span><span style="color:#000000">适配这些设备,要是在不同不同尺寸设备上使用不同大小的图片,则需要在代码中一一判断,然后加载。</span></td> </tr> <tr> <td><span style="color:#000000">7</span><span style="color:#000000">、</span><a class="gj_safe_a" href="/misc/goto?guid=4958968169544691965">Spring</a></td> <td><span style="color:#000000">Spring</span><span style="color:#000000">是一个</span><span style="color:#000000">Swift</span><span style="color:#000000">编写的开源库,可简化</span><span style="color:#000000">Swift</span><span style="color:#000000">编写的</span><span style="color:#000000">iOS</span><span style="color:#000000">动画。支持</span><span style="color:#000000">shake</span><span style="color:#000000">、</span><span style="color:#000000">pop</span><span style="color:#000000">、</span><span style="color:#000000">morph</span><span style="color:#000000">、</span><span style="color:#000000">squeeze</span><span style="color:#000000">、</span><span style="color:#000000">wobble</span><span style="color:#000000">、</span><span style="color:#000000">swing</span><span style="color:#000000">、</span><span style="color:#000000">flipX</span><span style="color:#000000">、</span><span style="color:#000000">flipY</span><span style="color:#000000">、</span><span style="color:#000000">fall</span><span style="color:#000000">、</span><span style="color:#000000">squeezeLeft</span><span style="color:#000000">、</span><span style="color:#000000">squeezeRight</span><span style="color:#000000">以及</span><span style="color:#000000">squeezeDown</span><span style="color:#000000">等多种动画形式,用</span><span style="color:#000000"> IBDesignable </span><span style="color:#000000">让使用者可以在</span><span style="color:#000000"> Xcode </span><span style="color:#000000">中快速设置动画效果。</span></td> </tr> <tr> <td><span style="color:#000000">8</span><span style="color:#000000">、</span><a class="gj_safe_a" href="/misc/goto?guid=4958968170015158121">KYPingTransition</a></td> <td><span style="color:#000000">实现圆圈放大放小的转场动画,可以根据自己的需要使用</span><span style="color:#000000">Paper</span><span style="color:#000000">中的弹性效果,有</span><span style="color:#000000">Material</span><span style="color:#000000">风格。</span></td> </tr> <tr> <td><span style="color:#000000">9</span><span style="color:#000000">、</span><a class="gj_safe_a" href="/misc/goto?guid=4958869564035615093">LayerPlayer</a></td> <td><span style="color:#000000">一款全面展示核心动画</span><span style="color:#000000"> API </span><span style="color:#000000">示例项目(上架应用)。包括</span><span style="color:#000000"> CALayer, CAScrollLayer, CATextLayer, AVPlayerLayer, CAGradientLayer, CAReplicatorLayer, CATiledLayer, CAShapeLayer, CAEAGLLayer, CATransformLayer, CAEmitterLayer </span><span style="color:#000000">等使用的互动演示。</span></td> </tr> <tr> <td><span style="color:#000000">10</span><span style="color:#000000">、</span><a class="gj_safe_a" href="/misc/goto?guid=4958961805198154269">Koloda</a></td> <td><span style="color:#000000">基于卡片的</span><span style="color:#000000"> Tinder-style </span><span style="color:#000000">动画效果示例。精细绝人。更赞的是额外附了详细开发教程</span><span style="color:#000000"> How We Built Tinder-Like Koloda Animation in Swift </span><span style="color:#000000">网页链接</span><span style="color:#000000"> </span><span style="color:#000000">。</span><span style="color:#000000">Yalantis </span><span style="color:#000000">出品动画程序款款精品。</span></td> </tr> <tr> <td><span style="color:#000000">11</span><span style="color:#000000">、</span><a class="gj_safe_a" href="/misc/goto?guid=4958877102325008611">ZLSwipeableView</a></td> <td><span style="color:#000000">swift </span><span style="color:#000000">卡片堆叠效果的实现(</span><span style="color:#000000">ZLSwipeableView)</span><span style="color:#000000">】可实现类似</span><span style="color:#000000">Tinder</span><span style="color:#000000">和</span><span style="color:#000000">Potluck</span><span style="color:#000000">应用程序的卡片堆叠效果,该项目基于</span><span style="color:#000000">ZLSwipeableView objective-c</span><span style="color:#000000">实现。</span><span style="color:#000000">1.</span><span style="color:#000000">自定义动画。</span><span style="color:#000000">2.</span><span style="color:#000000">自定义滑动切换。</span><span style="color:#000000">3.</span><span style="color:#000000">自定义方向。</span><span style="color:#000000">4.</span><span style="color:#000000">撤销。</span></td> </tr> <tr> <td><span style="color:#000000">12</span><span style="color:#000000">、</span><a class="gj_safe_a" href="/misc/goto?guid=4958963510647706424">RazzleDazzle</a></td> <td><span style="color:#000000">【</span><span style="color:#000000">IFTTT</span><span style="color:#000000">开源</span><span style="color:#000000">Swift</span><span style="color:#000000">编写的帧动画框架</span><span style="color:#000000">–RazzleDazzle</span><span style="color:#000000">】</span><span style="color:#000000">RazzleDazzle </span><span style="color:#000000">是</span><span style="color:#000000">IFTTT</span><span style="color:#000000">开源的一个</span><span style="color:#000000">iOS</span><span style="color:#000000">帧动画框架,非常适用于</span><span style="color:#000000">APP</span><span style="color:#000000">初次使用时的介绍和引导信息。</span><span style="color:#000000">JazzHands</span><span style="color:#000000">是</span><span style="color:#000000">UIKit</span><span style="color:#000000">一个简单的关键帧基础动画框架,可通过手势、</span><span style="color:#000000">scrollview</span><span style="color:#000000">、</span><span style="color:#000000">KVO</span><span style="color:#000000">等控制动画,被</span><span style="color:#000000">IFTTT</span><span style="color:#000000">应用在</span><span style="color:#000000">IFTTT for iPhone</span><span style="color:#000000">上。</span></td> </tr> </tbody> </table> <h2>侧滑与右滑返回手势</h2> <p> </p> <p> </p> <table cellspacing="0" class=" t_table"> <tbody> <tr> <td><span style="color:#000000">1</span><span style="color:#000000">、</span><a class="gj_safe_a" href="/misc/goto?guid=4958870677314802488">MMDrawerController</a></td> <td><span style="color:#000000">对于使用侧滑风格的</span><span style="color:#000000">app</span><span style="color:#000000">,可使用</span><span style="color:#000000">MMDrawerController</span><span style="color:#000000">这套库,几行代码就可以实现了。</span></td> </tr> <tr> <td><span style="color:#000000">2</span><span style="color:#000000">、</span><span style="color:#000000"><a class="gj_safe_a" href="/misc/goto?guid=4958968166386466912">SloppySwiper</a></span></td> <td><span style="color:#000000">iOS</span><span style="color:#000000">系统自带的</span><span style="color:#000000">UINavigationController</span><span style="color:#000000">要</span><span style="color:#000000">7.0</span><span style="color:#000000">才支持,但不过该手势只能从屏幕左侧边缘识别,如果要扩大到整个屏幕范围怎么办?配合一个</span><span style="color:#000000">SloppySwiper</span><span style="color:#000000">无需代码就可以轻松实现。此库支持</span><span style="color:#000000">iOS5.0</span><span style="color:#000000">以上版本(另外:</span><span style="color:#000000">Nav</span><span style="color:#000000">的</span><span style="color:#000000">title</span><span style="color:#000000">滑动不明显,本人写了</span><span style="color:#000000">2</span><span style="color:#000000">个类似的控件),</span><span style="color:#000000">SloppySwiper-demo </span><span style="color:#000000">:代码方式与</span><span style="color:#000000">storyboard</span><span style="color:#000000">方式。</span></td> </tr> <tr> <td><span style="color:#000000">3</span><span style="color:#000000">、</span><a class="gj_safe_a" href="/misc/goto?guid=4958968166553498907">SCNavigation</a></td> <td><span style="color:#000000">UINavigation</span><span style="color:#000000">可以右滑返回,隐藏</span><span style="color:#000000">UINavigationBar</span><span style="color:#000000">。</span></td> </tr> <tr> <td><span style="color:#000000">4</span><span style="color:#000000">、</span><span style="color:#000000"><a class="gj_safe_a" href="/misc/goto?guid=4958968166722099848">GHSidebarNav</a> </span></td> <td><span style="color:#000000">现在比较流行使用侧开</span><span style="color:#000000">(</span><span style="color:#000000">侧滑</span><span style="color:#000000">)</span><span style="color:#000000">菜单设计。试了不少控件,感觉</span><span style="color:#000000">GHSidebarNav</span><span style="color:#000000">最成熟,尤其对纯代码创建的界面兼容性最好。在</span><span style="color:#000000">Storyboard</span><span style="color:#000000">中使用</span><span style="color:#000000">GHSidebarNav</span><span style="color:#000000">侧开菜单控件。</span></td> </tr> <tr> <td><span style="color:#000000">5</span><span style="color:#000000">、</span><span style="color:#000000"><a class="gj_safe_a" href="/misc/goto?guid=4958968166890173570">iOS-Slide-Menu</a> </span></td> <td><span style="color:#000000">能够类似</span><span style="color:#000000">非死book</span><span style="color:#000000">和</span><span style="color:#000000">Path</span><span style="color:#000000">那样弹出左右边栏侧滑菜单</span><span style="color:#000000">,</span><span style="color:#000000">还支持手势。多种可以自定义的属性</span><span style="color:#000000"> (</span><span style="color:#000000">非常不错</span><span style="color:#000000">)</span><span style="color:#000000">。</span><br> </td> </tr> <tr> <td><span style="color:#000000">6</span><span style="color:#000000">、</span><a class="gj_safe_a" href="/misc/goto?guid=4958968167322390108">SideMenu</a></td> <td><span style="color:#000000">swift</span><span style="color:#000000">实现,一款带动画效果可定制</span><span style="color:#000000"> Slide Menu</span><span style="color:#000000">,可以学习其动画实现思路。</span><span style="color:#000000">P.S. </span><span style="color:#000000">对于</span><span style="color:#000000">Hamburger</span><span style="color:#000000">式菜单,虽然很常用,不过,苹果并不鼓励使用,甚至有开发小组对其弊病用自家上线应用前后数据对比进行了抨击。</span></td> </tr> <tr> <td><span style="color:#000000">7</span><span style="color:#000000">、</span><a class="gj_safe_a" href="/misc/goto?guid=4958860519758034813">animated-tab-bar</a></td> <td><span style="color:#000000">让</span><span style="color:#000000"> Tabbar items</span><span style="color:#000000">能显示萌萌的动画。</span></td> </tr> <tr> <td><span style="color:#000000">8</span><span style="color:#000000">、</span><span style="color:#000000"><a class="gj_safe_a" href="/misc/goto?guid=4958968167619080929">QQConfiguration</a> </span></td> <td><span style="color:#000000">swift</span><span style="color:#000000">,</span><span style="color:#000000">QQ-iPhone</span><span style="color:#000000">端框架,左侧菜单栏拖动手势。</span></td> </tr> <tr> <td><span style="color:#000000">9</span><span style="color:#000000">、</span><span style="color:#000000"><a class="gj_safe_a" href="/misc/goto?guid=4958968167699827607">KGFloatingDrawer</a> </span></td> <td><span style="color:#000000">侧滑菜单,</span><span style="color:#000000">qq</span><span style="color:#000000">类似,</span><span style="color:#000000">KyleGoddard/KGFloatingDrawer</span><span style="color:#000000">:一款适合于大屏手机或平板的浮动抽屉式导航界面组件。效果很赞</span><span style="color:#000000">- </span><span style="color:#000000">侧开菜单,</span><span style="color:#000000">qq</span><span style="color:#000000">类似(与</span><span style="color:#000000">RESideMenu</span><span style="color:#000000">类似)。</span></td> </tr> <tr> <td><span style="color:#000000">10</span><span style="color:#000000">、</span><span style="color:#000000"><a class="gj_safe_a" href="/misc/goto?guid=4958870806509419800">AIFlatSwitch</a> </span></td> <td><span style="color:#000000">一款带平滑过渡动画的</span><span style="color:#000000"> Switch </span><span style="color:#000000">组件类,类相同风格的</span><span style="color:#000000"> Menu/BackHamburgerButton,</span><span style="color:#000000">类似相同风格的</span><span style="color:#000000"> Menu/Closehamburger-button.</span></td> </tr> <tr> <td><span style="color:#000000">11</span><span style="color:#000000">、</span><span style="color:#000000"><a class="gj_safe_a" href="/misc/goto?guid=4958870680080047152">PKRevealController</a> </span></td> <td><span style="color:#000000">PKRevealController</span><span style="color:#000000">是一个可以滑动的侧边栏菜单(可向左、向右或者同时向两侧),只需手指轻轻一点(或者按一下按钮,但是这样滑动时不够炫酷)。</span></td> </tr> </tbody> </table> <h2>数据库</h2> <p> </p> <table cellspacing="0" class=" t_table" style="line-height:1.6"> <tbody> <tr> <td><span style="color:#000000">1</span><span style="color:#000000">、</span><a class="gj_safe_a" href="/misc/goto?guid=4958870672967284090">FMDB</a></td> <td><span style="color:#000000">sqlite</span><span style="color:#000000">的工具,</span><span style="color:#000000"> </span><span style="color:#000000">多线程</span><span style="color:#000000">FMDatabaseQueue</span><span style="color:#000000">实例,</span><span style="color:#000000">FMDB</span><span style="color:#000000">数据库的使用演示和封装工具类。</span></td> </tr> <tr> <td><span style="color:#000000">2</span><span style="color:#000000">、</span><a class="gj_safe_a" href="/misc/goto?guid=4958968183455670823">GXDatabaseUtils</a></td> <td><span style="color:#000000">在</span><span style="color:#000000">FMDB</span><span style="color:#000000">基础上的工具。</span></td> </tr> <tr> <td><span style="color:#000000">3</span><span style="color:#000000">、</span><span style="color:#000000"><a class="gj_safe_a" href="/misc/goto?guid=4958870806418682137">AlecrimCoreData</a> </span></td> <td><span style="color:#000000">Swift</span><span style="color:#000000">,更容易地访问</span><span style="color:#000000"> CoreData </span><span style="color:#000000">对象封装类库。除了</span><span style="color:#000000"> CRUD</span><span style="color:#000000">,还提供指针定位,强大的排序、筛选,异步数据获取,以及独立线程后台存取数据。</span></td> </tr> <tr> <td><span style="color:#000000">4</span><span style="color:#000000">、</span><a class="gj_safe_a" href="/misc/goto?guid=4958838689566194388">realm-cocoa</a></td> <td><span style="color:#000000">Realm</span><span style="color:#000000">是一个真正为移动设备打造的数据库,同时支持</span><span style="color:#000000">Objective-C</span><span style="color:#000000">和</span><span style="color:#000000">Swfit</span><span style="color:#000000">。</span><span style="color:#000000">Realm</span><span style="color:#000000">宣称其相比</span><span style="color:#000000">Sqlite</span><span style="color:#000000">,在移动设备上有着更好的性能表现。</span></td> </tr> <tr> <td><span style="color:#000000">5</span><span style="color:#000000">、</span><span style="color:#000000"><a class="gj_safe_a" href="/misc/goto?guid=4958876438180874157">CoreStore</a> </span></td> <td><span style="color:#000000">Core Data </span><span style="color:#000000">管理类库。</span><span style="color:#000000"> </span><span style="color:#000000">其中事务管理及查询是其比较大的亮点,整套</span><span style="color:#000000"> API </span><span style="color:#000000">功能完整。</span></td> </tr> <tr> <td><span style="color:#000000">6</span><span style="color:#000000">、</span><span style="color:#000000"><a class="gj_safe_a" href="/misc/goto?guid=4958962540703260838">CoreValue</a> </span></td> <td><span style="color:#000000">Swift 2 </span><span style="color:#000000">版</span><span style="color:#000000"> Core Data </span><span style="color:#000000">封装库。相比另外两个</span><span style="color:#000000"> SwiftRecord</span><span style="color:#000000">和</span><span style="color:#000000"> CoreStore</span><span style="color:#000000">更轻量。</span></td> </tr> </tbody> </table> <h2>图像获取</h2> <p> </p> <p> </p> <table cellspacing="0" class=" t_table"> <tbody> <tr> <td><span style="color:#000000">1</span><span style="color:#000000">、</span><a class="gj_safe_a" href="/misc/goto?guid=4958838688702703567">SDWebImage</a></td> <td><span style="color:#000000">SDWebImage </span><span style="color:#000000">网络图片获取及缓存处理。</span></td> </tr> <tr> <td><span style="color:#000000">2</span><span style="color:#000000">、</span><span style="color:#000000"><a class="gj_safe_a" href="/misc/goto?guid=4958872058774071441">Kingfisher</a> </span></td> <td><span style="color:#000000">纯</span><span style="color:#000000"> Swift </span><span style="color:#000000">实现的类</span><span style="color:#000000"> SDWebImage </span><span style="color:#000000">库,实现了异步下载和缓存图片。</span></td> </tr> <tr> <td><span style="color:#000000">3</span><span style="color:#000000">、</span><span style="color:#000000"><a class="gj_safe_a" href="/misc/goto?guid=4958968174002633598">EGOCache</a> </span></td> <td><span style="color:#000000">十分知名的第三方缓存类库,可以缓存</span><span style="color:#000000">NSString</span><span style="color:#000000">、</span><span style="color:#000000">UIImage</span><span style="color:#000000">、</span><span style="color:#000000">NSImage</span><span style="color:#000000">以及</span><span style="color:#000000">NSData</span><span style="color:#000000">。除此,如果还可以缓存任何一个实现了接口的对象。所有缓存的数据都可以自定义过期的时间,默认是</span><span style="color:#000000">1</span><span style="color:#000000">天。</span><span style="color:#000000">EGOCache </span><span style="color:#000000">支持多线程(</span><span style="color:#000000">thread-safe</span><span style="color:#000000">),</span><span style="color:#000000">UITableView</span><span style="color:#000000">加载多张照片导致内存上涨的问题。</span></td> </tr> <tr> <td><span style="color:#000000">4</span><span style="color:#000000">、</span><span style="color:#000000"><a class="gj_safe_a" href="/misc/goto?guid=4958968173804147216">KFSwiftImageLoader</a> </span></td> <td><span style="color:#000000">– Swift</span><span style="color:#000000">,一个图像缓存加载库。</span></td> </tr> <tr> <td><span style="color:#000000">5</span><span style="color:#000000">、</span><span style="color:#000000"><a class="gj_safe_a" href="/misc/goto?guid=4958838688799074026">FastImageCache</a> </span></td> <td><span style="color:#000000">FastImageCache </span><span style="color:#000000">网络图片获取及缓存处理,</span><span style="color:#000000">iOS</span><span style="color:#000000">图片加载速度极限优化</span><span style="color:#000000">—FastImageCache</span><span style="color:#000000">解析。</span></td> </tr> <tr> <td><span style="color:#000000">6</span><span style="color:#000000">、</span><a class="gj_safe_a" href="/misc/goto?guid=4959545259506415303">aviary</a></td> <td><span style="color:#000000">图像处理类库,滤镜丰富,功能强大,可以直接应用到图片摄影类的</span><span style="color:#000000">App</span><span style="color:#000000">里面。</span></td> </tr> </tbody> </table> <h2>网络</h2> <p> </p> <p> </p> <table cellspacing="0" class=" t_table" style="line-height:1.6"> <tbody> <tr> <td><span style="color:#000000">1</span><span style="color:#000000">、</span><a class="gj_safe_a" href="/misc/goto?guid=4958534310710754815">AFNetworking</a></td> <td><span style="color:#000000">ASI</span><span style="color:#000000">不升级以后,最多人用的网络连接开源库</span></td> </tr> <tr> <td><span style="color:#000000">2、</span><a class="gj_safe_a" href="/misc/goto?guid=4958851213782329914">Alamofire</a></td> <td><span style="color:#000000">Alamofire</span><span style="color:#000000">是</span><span style="color:#000000">AFNetworking</span><span style="color:#000000">的作者</span><span style="color:#000000">mattt</span><span style="color:#000000">新写的网络请求的</span><span style="color:#000000">swift</span><span style="color:#000000">库</span></td> </tr> <tr> <td><span style="color:#000000">3</span><span style="color:#000000">、</span><span style="color:#000000"><a class="gj_safe_a" href="/misc/goto?guid=4958968172414305347">YTKNetwork</a> </span></td> <td><span style="color:#000000">是基于</span><span style="color:#000000"> AFNetworking </span><span style="color:#000000">封装的</span><span style="color:#000000"> iOS</span><span style="color:#000000">网络库,提供了更高层次的网络访问抽象。相比</span><span style="color:#000000">AFNetworking</span><span style="color:#000000">,</span><span style="color:#000000">YTKNetwork</span><span style="color:#000000">提供了以下更高级的功能:按时间或版本号缓存网络请求内容、检查返回</span><span style="color:#000000"> JSON </span><span style="color:#000000">内容的合法性、文件的断点续传、批量的网络请求发送、</span><span style="color:#000000">filter</span><span style="color:#000000">和插件机制等。</span></td> </tr> <tr> <td><span style="color:#000000">4</span><span style="color:#000000">、</span><a class="gj_safe_a" href="/misc/goto?guid=4958968172495943349">LxFTPRequest</a></td> <td><span style="color:#000000">支持获取</span><span style="color:#000000">FTP</span><span style="color:#000000">服务器资源列表,下载</span><span style="color:#000000">/</span><span style="color:#000000">上传文件,创建</span><span style="color:#000000">/</span><span style="color:#000000">销毁</span><span style="color:#000000">ftp</span><span style="color:#000000">服务器文件</span><span style="color:#000000">/</span><span style="color:#000000">目录,以及下载断点续传,下载</span><span style="color:#000000">/</span><span style="color:#000000">上传进度,自动判断地址格式合法性跟踪等功能!国人开发</span></td> </tr> <tr> <td><span style="color:#000000">5</span><span style="color:#000000">、</span><a class="gj_safe_a" href="/misc/goto?guid=4958968172762349516">WTRequestCenter</a></td> <td><span style="color:#000000">方便缓存的请求库,提供了方便的</span><span style="color:#000000">HTTP</span><span style="color:#000000">请求方法,传入请求</span><span style="color:#000000">url</span><span style="color:#000000">和参数,返回成功和失败的回调。</span><span style="color:#000000"> UIKit</span><span style="color:#000000">扩展提供了许多不错的方法,快速缓存图片,图片查看,缩放功能,</span><span style="color:#000000"> </span><span style="color:#000000">颜色创建,设备</span><span style="color:#000000">UUID</span><span style="color:#000000">,网页缓存,数据缓存等功能。</span><span style="color:#000000"> </span><span style="color:#000000">无需任何</span><span style="color:#000000">import</span><span style="color:#000000">和配置,目前实现了基础需求</span></td> </tr> <tr> <td><span style="color:#000000">6</span><span style="color:#000000">、</span><a class="gj_safe_a" href="/misc/goto?guid=4958968172878425183">socket.io-client-swift</a></td> <td><span style="color:#000000">WebSockect </span><span style="color:#000000">客户端类库。开放的通讯协议,有利于构建强大地跨平台应用。</span></td> </tr> <tr> <td><span style="color:#000000">7</span><span style="color:#000000">、</span><span style="color:#000000"><a class="gj_safe_a" href="/misc/goto?guid=4958968172957491580">Transporter</a> </span></td> <td><span style="color:#000000">swift</span><span style="color:#000000">,</span><span style="color:#000000"> </span><span style="color:#000000">短小、精悍、易用的多文件(并发或顺序)上传和下载传输库。还支持后台运行、传输进程跟踪、暂停</span><span style="color:#000000">/</span><span style="color:#000000">续传</span><span style="color:#000000">/</span><span style="color:#000000">取消</span><span style="color:#000000">/</span><span style="color:#000000">重试控制等功能。</span></td> </tr> <tr> <td><span style="color:#000000">8</span><span style="color:#000000">、</span><span style="color:#000000"><a class="gj_safe_a" href="/misc/goto?guid=4958968173047428883">STNetTaskQueue</a> </span></td> <td><span style="color:#000000">STNetTaskQueue Objective-C </span><span style="color:#000000">可扩展网络请求管理库。</span></td> </tr> <tr> <td><span style="color:#000000">9</span><span style="color:#000000">、</span><span style="color:#000000"><a class="gj_safe_a" href="/misc/goto?guid=4958870675441281877">CocoaAsyncSocket</a> </span></td> <td><span style="color:#000000">在</span><span style="color:#000000">iOS</span><span style="color:#000000">开发中使用</span><span style="color:#000000">socket</span><span style="color:#000000">,一般都是用第三方库</span><span style="color:#000000">AsyncSocket</span><span style="color:#000000">,不得不承认这个库确实很强大,<a class="gj_safe_a" href="/misc/goto?guid=4958968173150881180">使用教程</a>。</span></td> </tr> <tr> <td><span style="color:#000000">10</span><span style="color:#000000">、</span><a class="gj_safe_a" href="/misc/goto?guid=4958968173472901549">MZDownloadManager</a></td> <td><span style="color:#000000">下载管理。</span></td> </tr> <tr> <td><span style="color:#000000">11</span><span style="color:#000000">、</span><span style="color:#000000"><a class="gj_safe_a" href="/misc/goto?guid=4958874459860022033">Just</a> </span></td> <td><span style="color:#000000">小而美的</span><span style="color:#000000"> HTTP </span><span style="color:#000000">类。功能简单、直接、完整且健壮性高</span><span style="color:#000000">– swift</span><span style="color:#000000">。</span></td> </tr> <tr> <td><span style="color:#000000">12</span><span style="color:#000000">、</span><span style="color:#000000"><a class="gj_safe_a" href="/misc/goto?guid=4958968173236681027">GCDAsyncSocket</a> </span></td> <td><span style="color:#000000">GCDAsyncSocket </span><span style="color:#000000">,</span><span style="color:#000000"> </span><a class="gj_safe_a" href="/misc/goto?guid=4958968173326645411"><span style="color:#000000">不错的</span><span style="color:#000000">Demo</span></a>。</td> </tr> <tr> <td><span style="color:#000000">13</span><span style="color:#000000">、</span><a class="gj_safe_a" href="/misc/goto?guid=4958190567696473435">RestKit</a></td> <td><span style="color:#000000">RestKit</span><span style="color:#000000">是一个</span><span style="color:#000000">web servie Cocoa</span><span style="color:#000000">框架,它封装了很多跟网络服务(</span><span style="color:#000000">web servie</span><span style="color:#000000">)相关的功能,比如:</span><span style="color:#000000">GET, POST, PUT </span><span style="color:#000000">以及</span><span style="color:#000000"> DELETE HTTP</span><span style="color:#000000">等等。</span><span style="color:#000000"> RestKit</span><span style="color:#000000">还提供了对</span><span style="color:#000000">JSON</span><span style="color:#000000">(或者</span><span style="color:#000000">XML</span><span style="color:#000000">)数据的读取操作。</span></td> </tr> </tbody> </table> <h2><br> <strong>图像浏览及处理</strong></h2> <p><strong><span style="color:#f4645f"><span style="background-color:transparent"><a class="gj_safe_a" href="/misc/goto?guid=4958968185456685237">FLAnimatedImage</a></span></span><span style="color:#333333"> – gif播放处理的工具。</span><br> <span style="color:#f4645f"><span style="background-color:transparent"><a class="gj_safe_a" href="/misc/goto?guid=4958968185583107440">CLImageEditor</a></span></span><span style="color:#333333"> – 超强的图片编辑库,快速帮你实现旋转,防缩,滤镜等等一系列麻烦的事情。</span><br> <span style="color:#f4645f"><span style="background-color:transparent"><a class="gj_safe_a" href="/misc/goto?guid=4958968185943096136">VIPhotoView</a></span></span><span style="color:#333333"> – 用于展示图片的工具类,因为是个 View,所以你可以放在任何地方显示。支持旋转,双击指定位置放大等。</span><br> <span style="color:#f4645f"><span style="background-color:transparent"><a class="gj_safe_a" href="/misc/goto?guid=4958870677221666573">MWPhotoBrowser</a></span></span><span style="color:#333333"> – 一个非常不错的照片浏览器,在github的star接近3000个,</span><span style="color:#f4645f"><span style="background-color:transparent"><a class="gj_safe_a" href="/misc/goto?guid=4958968186122705633">解决MWPhotoBrowser中的SDWebImage加载大图导致的内存警告问题</a></span></span><span style="color:#333333">。</span><br> <span style="color:#f4645f"><span style="background-color:transparent"><a class="gj_safe_a" href="/misc/goto?guid=4958968186236518510">core-image-explorer</a></span></span><span style="color:#333333"> – Core Image 滤镜处理图片– swift ,</span><span style="color:#f4645f"><span style="background-color:transparent"><a class="gj_safe_a" href="/misc/goto?guid=4958865628042088620">Core Image 介绍</a></span></span><span style="color:#333333">。</span><br> <span style="color:#f4645f"><span style="background-color:transparent"><a class="gj_safe_a" href="/misc/goto?guid=4958968186389335740">CoreImageShop</a></span></span><span style="color:#333333"> – CoreImageShop图片滤镜处理– Mac app that let you create a complete Core Image Filter usable on iOS using SCRecorder。</span><br> <span style="color:#f4645f"><span style="background-color:transparent"><a class="gj_safe_a" href="/misc/goto?guid=4958838689168246890">GPUImage</a></span></span><span style="color:#333333"> – 处理图片效果。</span><br> <span style="color:#f4645f"><span style="background-color:transparent"><a class="gj_safe_a" href="/misc/goto?guid=4958968186537213207">RSKImageCropper</a></span></span><span style="color:#333333"> – 适用于iOS的图片裁剪器,类似Contacts app,可上下左右移动图片选取最合适的区域。</span><br> <span style="color:#f4645f"><span style="background-color:transparent"><a class="gj_safe_a" href="/misc/goto?guid=4958968186649155286">WZRecyclePhotoStackView</a></span></span><span style="color:#333333"> – 删除照片交互–WZRecyclePhotoStackView,就是模拟生活中是删除或保留犹豫不决的情形而产生的。 在上滑,下滑的部分,借鉴了</span><span style="color:#f4645f"><span style="background-color:transparent"><a class="gj_safe_a" href="/misc/goto?guid=4958968186771757740">TinderSimpleSwipeCards</a></span></span><span style="color:#333333">。</span><br> <span style="color:#f4645f"><span style="background-color:transparent"><a class="gj_safe_a" href="/misc/goto?guid=4958968186864661673">TimingFunctionEditor</a></span></span><span style="color:#333333"> – TimingFunctionEditor用swift编写, 贝塞尔曲线编辑器,编辑后可以预览或拷贝代码片段直接使用。P.S. 该项目采用更简单的依赖管理器</span><span style="color:#f4645f"><span style="background-color:transparent"><a class="gj_safe_a" href="/misc/goto?guid=4958877729065386929">Carthage</a></span></span><span style="color:#333333"> ,而非常用的 CocoaPods。</span><span style="color:#f4645f"><span style="background-color:transparent"><a class="gj_safe_a" href="/misc/goto?guid=4958968187002088181">Carthage介绍中文</a></span></span><span style="color:#333333">。</span><br> <span style="color:#f4645f"><span style="background-color:transparent"><a class="gj_safe_a" href="/misc/goto?guid=4958968187089140067">AAFaceDetection</a></span></span><span style="color:#333333"> – AAFaceDetection–swift,简单、实用的面部识别封装库。虽然该技术从 iOS 5 发展,不过真正有趣的应用还不多。。</span><br> <span style="color:#f4645f"><span style="background-color:transparent"><a class="gj_safe_a" href="/misc/goto?guid=4958968187182806882">PhotoTweaks</a></span></span><span style="color:#333333"> – 这个库挺赞的,正好是对图像操作的。</span><br> <span style="color:#f4645f"><span style="background-color:transparent"><a class="gj_safe_a" href="/misc/goto?guid=4958968187270483952">Concorde</a></span></span><span style="color:#333333"> – swift, Concorde, 一个可用于下载和解码渐进式 JPEG 的库, 可用来改善应用的用户体验。</span><br> <span style="color:#f4645f"><span style="background-color:transparent"><a class="gj_safe_a" href="/misc/goto?guid=4958875017408849684">ZoomTransition</a></span></span><span style="color:#333333"> – swift, 通过手势操控图片的放大、缩小、旋转等自由变化效果的组件及示例。</span><br> <span style="color:#f4645f"><span style="background-color:transparent"><a class="gj_safe_a" href="/misc/goto?guid=4958875644542008188">AFImageHelper</a></span></span><span style="color:#333333"> – swift,一套针对 UIImage 和 UIImageView 的实用扩展库,功能包含填色和渐变、裁剪、缩放以及具有缓存机制的在线图片获取。</span><br> <span style="color:#f4645f"><span style="background-color:transparent"><a class="gj_safe_a" href="/misc/goto?guid=4958968187414688417">PinterestSwift</a></span></span><span style="color:#333333"> – swift,Pinterest 风格图片缩放、切换示例。</span><br> <span style="color:#f4645f"><span style="background-color:transparent"><a class="gj_safe_a" href="/misc/goto?guid=4958968187494756495">KYElegantPhotoGallery</a></span></span><span style="color:#333333"> – 一个优雅的图片浏览库。</span><br> <span style="color:#f4645f"><span style="background-color:transparent"><a class="gj_safe_a" href="/misc/goto?guid=4958968187571867351">SDCycleScrollView</a></span></span><span style="color:#333333"> – 无限循环自动图片轮播器(一步设置即可使用)。</span><br> <span style="color:#333333"><span style="color:#f4645f"><span style="background-color:transparent"><a class="gj_safe_a" href="/misc/goto?guid=4958968187653120462">SDPhotoBrowser</a></span></span> – 仿新浪动感图片浏览器,非常简单易用的图片浏览器,模仿微博图片浏览器动感效果,综合了图片展示和存储等多项功能。</span><br> <span style="color:#f4645f"><span style="background-color:transparent"><a class="gj_safe_a" href="/misc/goto?guid=4958968187736744502">HZPhotoBrowser</a></span></span><span style="color:#333333"> – 一个类似于新浪微博图片浏览器的框架(支持显示和隐藏动画;支持双击缩放,手势放大缩小;支持图片存储;支持网络加载gif图片,长图滚动浏览;支持横竖屏显示)。</span><br> <span style="color:#f4645f"><span style="background-color:transparent"><a class="gj_safe_a" href="/misc/goto?guid=4958960669670697572">PhotoStackView-Swift</a></span></span><span style="color:#333333"> – PhotoStackView——照片叠放视图,</span><span style="color:#f4645f"><span style="background-color:transparent"><a class="gj_safe_a" href="/misc/goto?guid=4958960669593900426">使用说明</a></span></span><span style="color:#333333">。</span><br> <span style="color:#f4645f"><span style="background-color:transparent"><a class="gj_safe_a" href="/misc/goto?guid=4958961806168226486">MarkingMenu</a></span></span><span style="color:#333333"> – 基于手势、类似 Autodesk Maya 风格标记菜单及图片渲染。</span><br> <span style="color:#f4645f"><span style="background-color:transparent"><a class="gj_safe_a" href="/misc/goto?guid=4958968187911133056">SXPhotoShow</a></span></span><span style="color:#333333"> – UICollectionViewFlowLayout流水布局 是当下collectionView中常用且普通的布局方式。本代码也写了三种好看的布局,其中LineLayout和流水布局有很大的相同点就直接继承UICollectionViewFlowLayout,然后StackLayout,CircleLayout这两种都是直接继承自最原始的UICollectionViewLayout 布局方案。</span></strong><br> <br> </p> <h2><strong>摄像照相视频音频处理</strong></h2> <p><strong><span style="color:#f4645f"><span style="background-color:transparent"><a class="gj_safe_a" href="/misc/goto?guid=4958968188227894551">SCRecorder</a></span></span><span style="color:#333333"> – SCRecorder 短视频录制。</span><br> <span style="color:#f4645f"><span style="background-color:transparent"><a class="gj_safe_a" href="/misc/goto?guid=4958968188302932003">VideoPushDemo</a></span></span><span style="color:#333333"> – 视频剪辑 </span><span style="color:#f4645f"><span style="background-color:transparent"><a class="gj_safe_a" href="/misc/goto?guid=4958968188398592021">视频特效制作1</a></span></span><span style="color:#333333"> </span><span style="color:#f4645f"><span style="background-color:transparent"><a class="gj_safe_a" href="/misc/goto?guid=4958858119631706344">视频特效制作2</a></span></span><span style="color:#333333">。</span><br> <span style="color:#f4645f"><span style="background-color:transparent"><a class="gj_safe_a" href="/misc/goto?guid=4958968188505198130">LLSimpleCamera</a></span></span><span style="color:#333333"> – A simple, customizable camera control for iOS, 摄像头。</span><br> <span style="color:#f4645f"><span style="background-color:transparent"><a class="gj_safe_a" href="/misc/goto?guid=4958968188576222756">EZAudio</a></span></span><span style="color:#333333"> – EZAudio 是一个 iOS 和 OSX 上简单易用的音频框架,根据音量实时显示波形图,基于Core Audio,适合实时低延迟音频处理,非常直观。</span><span style="color:#f4645f"><span style="background-color:transparent"><a class="gj_safe_a" href="/misc/goto?guid=4958968188665710311">中文介绍</a></span></span><span style="color:#333333">,</span><span style="color:#f4645f"><span style="background-color:transparent"><a class="gj_safe_a" href="/misc/goto?guid=4958968188748661328">官网</a></span></span><span style="color:#333333">。</span><br> <span style="color:#f4645f"><span style="background-color:transparent"><a class="gj_safe_a" href="/misc/goto?guid=4958185627958900630">ffmpeg</a></span></span><span style="color:#333333"> – ffmpeg官网,</span><span style="color:#f4645f"><span style="background-color:transparent"><a class="gj_safe_a" href="/misc/goto?guid=4958968188852681890">FFmpeg在iOS上完美编译</a></span></span><span style="color:#333333">。</span><br> <span style="color:#f4645f"><span style="background-color:transparent"><a class="gj_safe_a" href="/misc/goto?guid=4958339596779558495">VCL</a></span></span><span style="color:#333333"> – VCL官网。</span><br> <span style="color:#f4645f"><span style="background-color:transparent"><a class="gj_safe_a" href="/misc/goto?guid=4958968189059639570">kxmovie</a></span></span><span style="color:#333333"> – 使用ffmpeg的影片播放器,</span><span style="color:#f4645f"><span style="background-color:transparent"><a class="gj_safe_a" href="/misc/goto?guid=4958968189141113371">修改说明</a></span></span><span style="color:#333333">, </span><span style="color:#f4645f"><span style="background-color:transparent"><a class="gj_safe_a" href="/misc/goto?guid=4958968189229916897">修改代码</a></span></span><span style="color:#333333">。</span><br> <span style="color:#f4645f"><span style="background-color:transparent"><a class="gj_safe_a" href="/misc/goto?guid=4958873732011838573">ijkplayer</a></span></span><span style="color:#333333"> – B站开源的视频播放器,支持Android和iOS。</span><br> <span style="color:#f4645f"><span style="background-color:transparent"><a class="gj_safe_a" href="/misc/goto?guid=4958968189355089695">StreamingKit</a></span></span><span style="color:#333333"> – StreamingKit流媒体音乐播放器。</span><br> <span style="color:#f4645f"><span style="background-color:transparent"><a class="gj_safe_a" href="/misc/goto?guid=4958968189442671552">FreeStreamer</a></span></span><span style="color:#333333"> – FreeStreamer流媒体音乐播放器,cpu占用非常小。</span><br> <span style="color:#f4645f"><span style="background-color:transparent"><a class="gj_safe_a" href="/misc/goto?guid=4958968189548344717">DOUAudioStreamer</a></span></span><span style="color:#333333"> – DOUAudioStreamer豆瓣的音乐流媒体播放器。</span><br> <span style="color:#f4645f"><span style="background-color:transparent"><a class="gj_safe_a" href="/misc/goto?guid=4958968189624580539">fmpro</a></span></span><span style="color:#333333"> – 电台播放器,支持锁屏歌词,支持基本播放流程,歌词展示,后台锁屏播放和控制以及锁屏后封面+歌词,</span><span style="color:#f4645f"><span style="background-color:transparent"><a class="gj_safe_a" href="/misc/goto?guid=4958968189724023993">fmpro_R</a></span></span><span style="color:#333333"> 。</span><br> <span style="color:#f4645f"><span style="background-color:transparent"><a class="gj_safe_a" href="/misc/goto?guid=4958968189807153016">IPDFCameraViewController</a></span></span><span style="color:#333333"> – 支持相机定焦拍摄、滤镜、闪光、实时边框检测以及透视矫正功能,并有简单易用的API。</span><br> <span style="color:#f4645f"><span style="background-color:transparent"><a class="gj_safe_a" href="/misc/goto?guid=4958968188227894551">SCRecorder</a></span></span><span style="color:#333333"> – 酷似 Instagram/Vine 的音频/视频摄像记录器,以 Objective-C 为基础的过滤器框架。 你可以做很多如下的操作:记录多个视频录像片段。删除任何你不想要的记录段。可以使用任何视频播放器播放片段。保存的记录可以在序列化的 NSDictionary 中使用。(在 NSUserDefaults 的中操作)添加使用 Core Image 的视频滤波器。可自由选择你需要的 parameters 合并和导出视频。</span><br> <span style="color:#f4645f"><span style="background-color:transparent"><a class="gj_safe_a" href="/misc/goto?guid=4958968189906765927">Cool-iOS-Camera</a></span></span><span style="color:#333333"> – Cool-iOS-Camera。</span><br> <span style="color:#f4645f"><span style="background-color:transparent"><a class="gj_safe_a" href="/misc/goto?guid=4958968189998694843">FastttCamera</a></span></span><span style="color:#333333"> – FastttCamera 快速照相。</span><br> <span style="color:#f4645f"><span style="background-color:transparent"><a class="gj_safe_a" href="/misc/goto?guid=4958968190088416402">ICGVideoTrimmer</a></span></span><span style="color:#333333"> – ICGVideoTrimmer提供提供视频剪切的视图(类似系统相册中浏览视频时顶部那个条状视图)。左右两个边界选择器还能够自定义。</span><span style="color:#f4645f"><span style="background-color:transparent"><a class="gj_safe_a" href="/misc/goto?guid=4958968190179477733">IOS录音和播放功能demo</a></span></span><span style="color:#333333"> – 比较完整的ios录音和播放功能的实现。</span><br> <span style="color:#f4645f"><span style="background-color:transparent"><a class="gj_safe_a" href="/misc/goto?guid=4958968190267740184">CameraManager</a></span></span><span style="color:#333333"> – 相机管理封装类库。看着极好用的样子—-swift。</span><br> <span style="color:#f4645f"><span style="background-color:transparent"><a class="gj_safe_a" href="/misc/goto?guid=4958968190346156609">MCAudioInputQueue</a></span></span><span style="color:#333333"> – 简易录音类,基于AudioQueue的。</span><br> <span style="color:#f4645f"><span style="background-color:transparent"><a class="gj_safe_a" href="/misc/goto?guid=4958968190440544017">Draggable油TubeFloatingVideo</a></span></span><span style="color:#333333"> – 展示像类似油Tube移动应用的那种浏览视频的效果,当点击某视频时能够从右下方弹出一个界面,并且该界面能够通过手势,再次收缩在右下方并继续播放。这是通过AutoLayout设计实现。</span><br> <span style="color:#f4645f"><span style="background-color:transparent"><a class="gj_safe_a" href="/misc/goto?guid=4958968190531466803">amr</a></span></span><span style="color:#333333"> – 做即时通讯的音频处理,录音文件是m4a,便于web端的音频播放。</span><br> <span style="color:#333333"><span style="background-color:transparent"><a class="gj_safe_a" href="/misc/goto?guid=4958968190627529404">FSVoiceBubble</a></span></span><span style="color:#333333"> – 一个轻量级播放录音音频的气泡:1.支持短时间的音频播放(支持网络音频);2.播放时的声波动画;3.自定义包括声波的颜色,气泡的背景等。</span><br> <span style="color:#f4645f"><span style="background-color:transparent"><a class="gj_safe_a" href="/misc/goto?guid=4958968190714791753">KRVideoPlayer</a></span></span><span style="color:#333333"> – 类似Weico的播放器,支持竖屏模式下全屏播放。</span></strong><br> <br> </p> <h2><strong>响应式框架</strong></h2> <p><strong><span style="color:#333333"><span style="background-color:transparent"><a class="gj_safe_a" href="/misc/goto?guid=4958534310893103470">ReactiveCocoa</a></span></span><span style="color:#333333"> – ReactiveCocoa 受函数响应式编程激发。不同于使用可变的变量替换和就地修改,RAC提供Signals来捕获当前值和将来值( </span><span style="color:#333333"><span style="background-color:transparent"><a class="gj_safe_a" href="/misc/goto?guid=4958968190920839009">使用介绍</a></span></span><span style="color:#333333"> ),</span><span style="color:#333333"><span style="background-color:transparent"><a class="gj_safe_a" href="/misc/goto?guid=4958968191005980211">不错的例子</a></span></span><span style="color:#333333">,入门好教程:</span><span style="color:#333333"><span style="background-color:transparent"><a class="gj_safe_a" href="/misc/goto?guid=4958968191099967800">ReactiveCocoa入门教程:第一部分</a></span></span><span style="color:#333333">。</span><br> <span style="color:#333333"><span style="background-color:transparent"><a class="gj_safe_a" href="/misc/goto?guid=4958869564745430606">ReactiveAnimation</a></span></span><span style="color:#333333"> – ReactiveCocoa 推出了一个叫 ReactiveAnimation 的子项目,直接用完全用 Swift 来实现了。</span><br> <span style="color:#333333"><span style="background-color:transparent"><a class="gj_safe_a" href="/misc/goto?guid=4958863643259128614">BeeFramework</a></span></span><span style="color:#333333"> – 与ReactiveCocoa类似,</span><span style="color:#333333"><span style="background-color:transparent"><a class="gj_safe_a" href="/misc/goto?guid=4958968191330257932">BeeFramework用户指南 v1.0</a></span></span><span style="color:#333333">。</span><br> <span style="color:#f4645f"><span style="background-color:transparent"><a class="gj_safe_a" href="/misc/goto?guid=4958968191420529369">Objective-Chain</a></span></span><span style="color:#333333"> – Objective-Chain是一个面向对象的响应式框架,作者表示该框架吸收了 ReactiveCocoa 的思想,并且想做得更面向对象一些。</span></strong></p> <p> </p> <p>来自: <a href="/misc/goto?guid=4959671845694015005" rel="nofollow">http://blog.csdn.net/super_man_ww/article/details/51279106</a></p> <p> </p>