Skip to content

Commit

Permalink
Improve the sections of generated docs
Browse files Browse the repository at this point in the history
[ci skip]
  • Loading branch information
bcylin committed Jul 20, 2017
1 parent d239fa9 commit 4e9a4db
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Pickle/Classes/ImagePickerConfigurable.swift
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import UIKit
/// The ImagePickerConfigurable protocol defines the customizable properties of ImagePickerController.
public protocol ImagePickerConfigurable {

// MARK: - UINavigationItem
// MARK: - Navigation Item

/// A custom bar button item displayed on the left (or leading) edge of the navigation bar when the receiver is the top navigation item.
var cancelBarButtonItem: UIBarButtonItem? { get }
Expand Down
9 changes: 5 additions & 4 deletions Pickle/Classes/ImagePickerController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,12 @@
// See https://github.com/carousell/pickle/graphs/contributors for the list of project authors
//

// swiftlint:disable file_length

import UIKit
import Photos

// swiftlint:disable file_length
/// Carousell flavoured image picker with multiple photo selections.
@objc
open class ImagePickerController: UINavigationController {

Expand Down Expand Up @@ -210,11 +212,10 @@ open class ImagePickerController: UINavigationController {
}


// MARK: - UIImagePickerControllerDelegate


extension ImagePickerController: UIImagePickerControllerDelegate, UINavigationControllerDelegate {

// MARK: - UIImagePickerControllerDelegate

public func imagePickerController(_ picker: UIImagePickerController, didFinishPickingMediaWithInfo info: [String : Any]) {
defer {
picker.dismiss(animated: true, completion: nil)
Expand Down

0 comments on commit 4e9a4db

Please sign in to comment.