mirror of
https://github.com/zhigang1992/GitHawk.git
synced 2026-05-11 06:25:32 +08:00
* tightened right bar items, closes #896 * added UIBarButtonItem and UIPopoverPresentationController extensions
17 lines
342 B
Swift
17 lines
342 B
Swift
//
|
|
// UIPopoverPresentationController+SourceView.swift
|
|
// Freetime
|
|
//
|
|
// Created by Joe Rocca on 11/10/17.
|
|
// Copyright © 2017 Ryan Nystrom. All rights reserved.
|
|
//
|
|
|
|
import Foundation
|
|
|
|
extension UIPopoverPresentationController {
|
|
func setSourceView(_ view: UIView) {
|
|
sourceView = view
|
|
sourceRect = view.bounds
|
|
}
|
|
}
|