I've got a quick patch to be able to specify (override) the default location of the GodEye button:
GodEye/Classes/Configuration/Configuration.swift
Add:
open class Configuration: NSObject {
open private(set) var command = CommandConfiguration()
/// default switch configuration
open private(set) var defaultSwitch = SwitchConfiguration()
open var location:CGPoint? // Override default location of the GodEye button
}
There are cleaner ways of doing this, of course (e.g. put defaults in header, then just overwrite the x: and y: values), but I wanted to be the least intrusive as possible. :)
I've got a quick patch to be able to specify (override) the default location of the GodEye button:
GodEye/Classes/Configuration/Configuration.swift
Add:
GodEye/Classes/UIWindow+GodEye.swift
Replace:
With:
Usage:
There are cleaner ways of doing this, of course (e.g. put defaults in header, then just overwrite the x: and y: values), but I wanted to be the least intrusive as possible. :)