Skip to content

Latest commit

 

History

History
32 lines (22 loc) · 835 Bytes

Objective-C.md

File metadata and controls

32 lines (22 loc) · 835 Bytes

Objective-C usage

After installing MaterialShowcase pod, please follow the below instructions to set it up in Objective-C project.

Objective-C showcase

OR

Add below Cocoapods script to your pod file and run pod install after that:

# 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'] = '4.2'
        end
      end
    end
  end

end

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