Skip to content

Latest commit

History

History
68 lines (41 loc) 路 1.99 KB

File metadata and controls

68 lines (41 loc) 路 1.99 KB

馃憻 FomaViewableSound 馃憻

CI Status

Version

License

Platform

Language

Author

Usage

First you have to import 'FomaViewableSound'

import 'FomaViewableSound'

and alseo you have to make FomaViewableSound instance

let fomaViewableSound = FomaViewableSound()

and present on the view controller you want to

(recommend systemOrange for the gradintColor and black for the backgroundColor)

 @IBAction func tapShowButton(_ sender: Any) {
 
//if you don't have building images
fomaViewableSound.show(in: self, songTitle: "song title", buildingImages: nil, gradientColor: .systemOrange, backgroundColor: .black)

//or if you have building images
fomaViewableSound.show(in: self, songTitle: "song title", buildingImages: images, gradientColor: .systemOrange, backgroundColor: .black)

}

Requirements

  • iOS 13
  • Xcode 12
  • Swift 5.0

Installation

FomaViewableSound is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'FomaViewableSound'

Author

fomagran, fomagran6@naver.com

License

FomaViewableSound is available under the MIT license. See the LICENSE file for more info.