Skip to content

Commit

Permalink
Merge pull request aromajoin#41 from Husseinhj/imp/readme_objc
Browse files Browse the repository at this point in the history
Add Cocoapod script to Readme file
  • Loading branch information
quangctkm9207 authored Mar 14, 2018
2 parents b0d3d4f + d4d7a06 commit 1dc6561
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# Material Showcase for iOS

[![Download](https://img.shields.io/badge/pod-v0.5.1-blue.svg)](https://cocoapods.org/pods/MaterialShowcase)
[![CocoaPods downloaded](https://img.shields.io/cocoapods/dt/MaterialShowcase.svg)](https://cocoapods.org/pods/MaterialShowcase)
[![CocoaPods installed](https://img.shields.io/cocoapods/at/MaterialShowcase.svg)](https://cocoapods.org/pods/MaterialShowcase)
[![CocoaPods platforms](https://img.shields.io/cocoapods/p/MaterialShowcase.svg)](https://cocoapods.org/pods/MaterialShowcase)
[![License](https://img.shields.io/badge/license-Apache%202-4EB1BA.svg?style=flat-square)](https://www.apache.org/licenses/LICENSE-2.0.html)

**An elegant and beautiful tap showcase view for iOS apps based on Material Design Guidelines.**
Expand All @@ -27,6 +30,31 @@ After installing `MaterialShowcase` pod, please follow the below instructions to

![Objective-C showcase](https://raw.githubusercontent.com/Husseinhj/material-showcase-ios/fix/objc_property/art/ObjectiveCSupportScreenshot.png)

**OR**

Add below Cocoapods script to your pod file :

``` ruby
# platform :ios, '9.0'

target 'YOUR_PROJECT_NAME' do
use_frameworks!

pod 'MaterialShowcase'

post_install do |installer|
installer.pods_project.targets.each do |target|
if target.name.include?('MaterialShowcase')
target.build_configurations.each do |config|
config.build_settings['SWIFT_VERSION'] = '3.2'
end
end
end
end

end
```

Using `#import "MaterialShowcase-Swift.h"` to import library to your class.

## Usage
Expand Down

0 comments on commit 1dc6561

Please sign in to comment.