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
| if [ "$ALLOW_INSECURE_HTTP_LOADS" = "YES" ]; then | |
| PLIST_BUDDY="/usr/libexec/PlistBuddy" | |
| cd "${TARGET_BUILD_DIR}" | |
| DOMAIN_PATH=":NSAppTransportSecurity:NSExceptionDomains:${INSECURE_SERVER_HOST}" | |
| $PLIST_BUDDY -c "Delete ${DOMAIN_PATH}" "${INFOPLIST_PATH}" | |
| $PLIST_BUDDY -c "Add ${DOMAIN_PATH} dict" "${INFOPLIST_PATH}" | |
| $PLIST_BUDDY -c "Add ${DOMAIN_PATH}:NSExceptionAllowsInsecureHTTPLoads bool true" "${INFOPLIST_PATH}" | |
| fi |
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 NSDecimalNumberHandler { | |
| public func calculate(closure: () -> NSDecimalNumber) -> NSDecimalNumber { | |
| let defaultBehavior = NSDecimalNumber.defaultBehavior() | |
| NSDecimalNumber.setDefaultBehavior(self) | |
| let result = closure() | |
| NSDecimalNumber.setDefaultBehavior(defaultBehavior) | |
| return result | |
| } | |
| } |
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
| // | |
| // Fetchable.swift | |
| // CoreDataGenerics | |
| // | |
| // Created by Rob Nadin on 29/07/2015. | |
| // Copyright © 2015 Rob Nadin. All rights reserved. | |
| // | |
| import CoreData |
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
| // | |
| // DetailViewController.swift | |
| // TransitionCoordinator | |
| // | |
| // Created by Rob Nadin on 15/02/2015. | |
| // Copyright (c) 2015 Rob Nadin. All rights reserved. | |
| // | |
| 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
| /* | |
| * This file is part of the CSStickyHeaderFlowLayout package. | |
| * (c) James Tang <[email protected]> | |
| * | |
| * For the full copyright and license information, please view the LICENSE | |
| * file that was distributed with this source code. | |
| */ | |
| #import "CSStickyHeaderFlowLayout.h" | |
| #import "CSStickyHeaderFlowLayoutAttributes.h" |
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
| // | |
| // AView.swift | |
| // LoadViewFromNib | |
| // | |
| // Created by Rob Nadin on 27/01/2015. | |
| // Copyright (c) 2015 Rob Nadin. All rights reserved. | |
| // | |
| 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
| // | |
| // AutoSizingCell.swift | |
| // | |
| // | |
| // Created by Rob Nadin on 24/12/2014. | |
| // Copyright (c) 2014 Rob Nadin. All rights reserved. | |
| // | |
| import UIKit |
NewerOlder