This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | OLSIFS=$IFS | |
| IFS=$'\n' | |
| for f in $(find $CODESIGNING_FOLDER_PATH -name '*.framework') | |
| do | |
| codesign --force --sign "${EXPANDED_CODE_SIGN_IDENTITY}" --preserve-metadata=identifier,entitlements --timestamp=none "$f" | |
| done | |
| IFS=$OLDIFS | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | Alamofire.request(urlString).responseJSON { response in | |
| guard case let .failure(error) = response.result else { return } | |
| if let error = error as? AFError { | |
| switch error { | |
| case .invalidURL(let url): | |
| print("Invalid URL: \(url) - \(error.localizedDescription)") | |
| case .parameterEncodingFailed(let reason): | |
| print("Parameter encoding failed: \(error.localizedDescription)") | |
| print("Failure Reason: \(reason)") | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | String(data: dataVar, encoding: .utf8) | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | ACTION=build | |
| AD_HOC_CODE_SIGNING_ALLOWED=NO | |
| ALTERNATE_GROUP=staff | |
| ALTERNATE_MODE=u+w,go-w,a+rX | |
| ALTERNATE_OWNER=brent | |
| ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES=NO | |
| ALWAYS_SEARCH_USER_PATHS=NO | |
| ALWAYS_USE_SEPARATE_HEADERMAPS=NO | |
| APPLE_INTERNAL_DEVELOPER_DIR=/AppleInternal/Developer | |
| APPLE_INTERNAL_DIR=/AppleInternal | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | // Usage: | |
| // UI { | |
| // Anything in here will execute on the main thread | |
| // } | |
| func UI(_ block: @escaping ()->Void) { | |
| DispatchQueue.main.async(execute: block) | |
| } | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | // Usage: | |
| // BG { | |
| // Anything in here will execute in the background | |
| // } | |
| func BG(_ block: @escaping ()->Void) { | |
| DispatchQueue.global(qos: .default).async(execute: block) | |
| } | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | #define SCREEN_WIDTH ((([UIApplication sharedApplication].statusBarOrientation == UIInterfaceOrientationPortrait) || ([UIApplication sharedApplication].statusBarOrientation == UIInterfaceOrientationPortraitUpsideDown)) ? [[UIScreen mainScreen] bounds].size.width : [[UIScreen mainScreen] bounds].size.height) | |
| #define SCREEN_HEIGHT ((([UIApplication sharedApplication].statusBarOrientation == UIInterfaceOrientationPortrait) || ([UIApplication sharedApplication].statusBarOrientation == UIInterfaceOrientationPortraitUpsideDown)) ? [[UIScreen mainScreen] bounds].size.height : [[UIScreen mainScreen] bounds].size.width) | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | @objc func notificationTriggered(_ notification: Notification) { | |
| if let userInfo = notification.userInfo { | |
| if let name = userInfo["name"] as? String { | |
| if name == "CaretBlink" { | |
| return | |
| } | |
| } | |
| } | |
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | // | |
| // IconTitleTextView.swift | |
| // | |
| // Created by Brent Michalski on 12/23/18. | |
| // Copyright © 2018 Perlguy, Inc. All rights reserved. | |
| // | |
| // THIS CUSTOM CLASS PROPERLY LOADS FROM A STORYBOARD!!! | |
| import UIKit | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | extension UIColor { | |
| convenience init?(hexString: String) { | |
| var chars = Array(hexString.hasPrefix("#") ? hexString.dropFirst() : hexString[...]) | |
| let red, green, blue, alpha: CGFloat | |
| switch chars.count { | |
| case 3: | |
| chars = chars.flatMap { [$0, $0] } | |
| fallthrough | |
| case 6: | |
| chars = ["F","F"] + chars | 
OlderNewer