Skip to content

Commit

Permalink
Updated podspec and README.md files.
Browse files Browse the repository at this point in the history
  • Loading branch information
Arnold Plakolli committed May 22, 2018
1 parent 4ad6a2b commit c5943c5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion InsideAppNotification.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Pod::Spec.new do |s|
s.name = "InsideAppNotification"
s.summary = "InAppNotification shows notification inside of an iOS app."
s.requires_arc = true
s.version = "0.1.0"
s.version = "0.2.0"
s.license = { :type => "MIT", :file => "LICENSE" }
s.author = { "Arnold Plakolli" => "[email protected]" }
s.homepage = "https://github.com/plakolliarnold/InAppNotification"
Expand Down
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,10 @@ import InsideAppNotification
```swift
let data: [String: Any] = []

let resource: URL = URL(string: "some_url_here") // You can also put here UIImage or Data that can be converted to UIImage

let notification: InAppNotification = InAppNotification(
picture: UIImage(named: "image_name"),
resource: resource,
title: "Notification title",
subtitle: "Notification details",
data: data
Expand Down

0 comments on commit c5943c5

Please sign in to comment.