WhatsOpenKit here we go

Get excited for class names like WOKFacility and WOKUtilities!
parent a0b8850e
......@@ -5,6 +5,7 @@
<key>com.apple.developer.associated-domains</key>
<array>
<string>applinks:whatsopen.gmu.io</string>
<string>applinks:whatsopen.gmu.edu</string>
</array>
<key>com.apple.security.application-groups</key>
<array>
......
......@@ -11,7 +11,7 @@ import RealmSwift
//This may be a stupid way to handle filters, but it should work; at least for now
class Filters {
public class WOKFilters {
var showOpen = true
var showClosed = true
var sortBy = SortMethod.alphabetical
......
......@@ -21,9 +21,9 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>1.1</string>
<string>1.1.2</string>
<key>CFBundleVersion</key>
<string>37</string>
<string>40</string>
<key>Fabric</key>
<dict>
<key>APIKey</key>
......
......@@ -6,13 +6,12 @@
// Copyright © 2016 SRCT. All rights reserved.
//
import UIKit
import Foundation
import RealmSwift
import Realm
import ObjectMapper
class DownloadController: NSObject {
class WOKDownloadController: NSObject {
//https://api.srct.gmu.edu/whatsopen/v2/facilities/?format=json
public static func performDownload(completion: @escaping (_ result: List<Facility>?) -> Void) {
......
<?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>CFBundleDevelopmentRegion</key>
<string>$(DEVELOPMENT_LANGUAGE)</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>$(PRODUCT_NAME)</string>
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string>
</dict>
</plist>
......@@ -6,9 +6,9 @@
// Copyright © 2016 SRCT. Some rights reserved.
//
import UIKit
import Foundation
class Utilities: NSObject {
public class WOKUtilities: NSObject {
static func isOpen(facility: Facility) -> Bool {
var open = false
......
//
// WhatsOpenKit.h
// WhatsOpenKit
//
// Created by Zach Knox on 9/29/18.
// Copyright © 2018 SRCT. All rights reserved.
//
#import <UIKit/UIKit.h>
//! Project version number for WhatsOpenKit.
FOUNDATION_EXPORT double WhatsOpenKitVersionNumber;
//! Project version string for WhatsOpenKit.
FOUNDATION_EXPORT const unsigned char WhatsOpenKitVersionString[];
// In this header, you should import all the public headers of your framework using statements like #import <WhatsOpenKit/PublicHeader.h>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment