Skip to content

Instantly share code, notes, and snippets.

View granchenkooleg's full-sized avatar

Oleg granchenkooleg

View GitHub Profile
import Network
class NetworkReachability {
static let shared = NetworkReachability()
private var monitor: NWPathMonitor?
private var isMonitoring = false
// use it to notified that monitoring did start.
var didStartMonitoringHandler: (() -> Void)?
@bigmountainstudio
bigmountainstudio / BigMountainStudio (Dark).xccolortheme
Last active November 1, 2024 14:14
Xcode Theme: BigMountainStudio (Dark)
<!-- Add this file to: ~/Library/Developer/Xcode/UserData/FontAndColorThemes -->
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>DVTConsoleDebuggerInputTextColor</key>
<string>0.901961 0.831373 0.639216 1</string>
<key>DVTConsoleDebuggerInputTextFont</key>
<string>SFMono-Bold - 11.0</string>
<key>DVTConsoleDebuggerOutputTextColor</key>