2015-09-13 23:37:18 +02:00

34 lines
988 B
Swift

//
// Constants.swift
// ipbc-Client
//
// Created by Gerrit Linnemann on 09.09.15.
// Copyright (c) 2015 Adawim UG (haftungsbeschränkt). All rights reserved.
//
import Foundation
struct Constants {
struct Web {
static let REGISTER = "https://www.ip-bc.org/login.xhtml"
}
struct WebService {
static let BASE = "www.ip-bc.org"
static let UPDATE = "https://www.ip-bc.org/ws/update/ip"
static let GET_USERS_IP = "https://www.ip-bc.org/ws/info/ip"
}
struct UserDefaults {
static let HOST = "USERDEFAULT_HOST"
static let TOKEN = "USERDEFAULT_TOKEN"
static let PERSIST_LAST_USERS_IP = "USERDEFAULT_PERSIST_LAST_USERS_IP"
}
struct Notification {
static let NF_NETWORK_AVAILABLE = "NOTIFICATION_NETWORK_AVAILABLE"
static let NF_NETWORK_NOT_AVAILABLE = "NOTIFICATION_NETWORK_NOT_AVAILABLE"
static let NF_IP_HAS_CHANGED = "NOTIFICATION_IP_HAS_CHANGED"
}
}