mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2024-12-22 23:58:36 +01:00
32 lines
497 B
Swift
32 lines
497 B
Swift
|
//
|
||
|
// UIBarButtonItem-Extensions.swift
|
||
|
// NetNewsWire-iOS
|
||
|
//
|
||
|
// Created by Maurice Parker on 4/27/19.
|
||
|
// Copyright © 2019 Ranchero Software. All rights reserved.
|
||
|
//
|
||
|
|
||
|
import UIKit
|
||
|
|
||
|
public extension UIBarButtonItem {
|
||
|
|
||
|
@IBInspectable var accEnabled: Bool {
|
||
|
get {
|
||
|
return isAccessibilityElement
|
||
|
}
|
||
|
set {
|
||
|
isAccessibilityElement = newValue
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@IBInspectable var accLabelText: String? {
|
||
|
get {
|
||
|
return accessibilityLabel
|
||
|
}
|
||
|
set {
|
||
|
accessibilityLabel = newValue
|
||
|
}
|
||
|
}
|
||
|
|
||
|
}
|