Skip to content

Commit

Permalink
Change some docs
Browse files Browse the repository at this point in the history
  • Loading branch information
younatics committed Sep 10, 2017
1 parent fc52618 commit 052240d
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions MediaBrowser/MediaBrowser.swift
Original file line number Diff line number Diff line change
Expand Up @@ -206,14 +206,25 @@ public class MediaBrowser: UIViewController, UIScrollViewDelegate, UIActionSheet
initialisation()
}


/**
init with delegate

- Parameter delegate: MediaBrowserDelegate
*/
public convenience init(delegate: MediaBrowserDelegate) {
self.init()
self.delegate = delegate
}

public convenience init(photos: [Media]) {
/**
init with media

- Parameter media: Media array
*/
public convenience init(media: [Media]) {
self.init()
fixedMediasArray = photos
fixedMediasArray = media
}

public required init?(coder: NSCoder) {
Expand Down

0 comments on commit 052240d

Please sign in to comment.