iOS应用程序的“展示”视图(控制器)的初始实现...精美地可视化图像,视频和PDF文件! (由@pittleorg提供)[meta:图片,照片,视频,文档,pdf,专辑,图库,展示,图库,iOS,iPhone,iPad,组件,库,查看器]
If your project uses CocoaPods to manage its dependencies, easiest way to install Nimbus is to add the following in your Podfile
:
pod 'Nimbus/NetworkImage', :podspec => 'https://gist.github.com/exalted/7655606/raw/ce27220c457984ecd30fb800503b4c299159ace0/Nimbus.podspec'
PTShowcaseViewController
directory into your own projectInstead of manually downloading files, you could use git submodules:
git submodule add https://github.com/exalted/PTShowcaseViewController.git
#import
headers
#import <Nimbus/NimbusCore.h>
#import <Nimbus/NimbusPhotos.h>
#import <Nimbus/NimbusNetworkImage.h>
If you have trouble, check out Showcase
project in Examples
directory for a working example.
Please note: screenshots below are outdated. On devices that run iOS 7 navigationbars and toolbars are actually “flat” and translucent as you would expect.
Screenshot 1.
Screenshot 2.
Screenshot 3.
Screenshot 4.
Screenshot 5.
Screenshot 6.
Screenshot 7.
Screenshot 8.
Screenshot 9.
Screenshot 10.
This project uses CocoaPods to manage dependencies. Installing it is as easy as running the following commands in the terminal:
$ sudo gem install cocoapods
If you have any trouble during the installation, please read CocoaPods documentation.
When you’ve installed CocoaPods, then:
$ git clone https://github.com/exalted/PTShowcaseViewController.git PTShowcaseViewController-exalted
$ cd PTShowcaseViewController-exalted/Examples/ShowcaseDemo/
$ pod install
$ open ShowcaseDemo.xcworkspace