Skip to content

Commit

Permalink
modify access
Browse files Browse the repository at this point in the history
  • Loading branch information
Ragaie alfy authored and Ragaie alfy committed Dec 7, 2017
1 parent 3ac1bbe commit ec15de6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions AssistiveTouch/AssistiveController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ class AssistiveController: NSObject {
label.textColor = UIColor.white
label.adjustsFontSizeToFitWidth = true
if #available(iOS 8.2, *) {
label.font = UIFont.systemFont(ofSize: 13, weight: 1)
label.font = UIFont.systemFont(ofSize: 13, weight: UIFontWeight.init(1))
} else {
// Fallback on earlier versions
}
Expand Down Expand Up @@ -326,7 +326,7 @@ class AssistiveController: NSObject {



func backToFirstView(_ sender : UIButton){
@objc func backToFirstView(_ sender : UIButton){



Expand Down
6 changes: 3 additions & 3 deletions AssistiveTouch/AssistiveTouch.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import UIKit



open class AssistiveTouch: NSObject {
public class AssistiveTouch: NSObject {

private var myController : AssistiveController!
private var touchButton : UIButton!
Expand All @@ -38,7 +38,7 @@ open class AssistiveTouch: NSObject {

public var delgate : AssistiveTouchDelegate!

override init(){
public override init(){


super.init()
Expand All @@ -55,7 +55,7 @@ open class AssistiveTouch: NSObject {
}


func setDataSource(homeController : UINavigationController , icons : [IconObject]){
public func setDataSource(homeController : UINavigationController , icons : [IconObject]){
if homeController != nil && icons.count > 0 {
validData = true
myController.homeViewController = homeController
Expand Down
2 changes: 1 addition & 1 deletion AssistiveTouch/IconObject.swift
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public struct IconObject {

var image : UIImage?

init(iconImage : UIImage,iconTitle : String) {
public init(iconImage : UIImage,iconTitle : String) {

title = iconTitle
image = iconImage
Expand Down

0 comments on commit ec15de6

Please sign in to comment.