This file contains 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
// | |
// Embedly.m | |
// Embedly | |
// | |
// Created by Mylene Bayan 10/16/2014. | |
// | |
#import "Embedly.h" | |
@implementation Embedly |
This file contains 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
// | |
// MKMapViewExtension.swift | |
// AutocompleteTextfieldSwift | |
// | |
// Created by Mylene Bayan on 2/22/15. | |
// Copyright (c) 2015 MaiLin. All rights reserved. | |
// | |
import Foundation | |
import MapKit |
This file contains 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
- (BOOL)webView:(UIWebView *)webView shouldStartLoadWithRequest:(NSURLRequest *)request navigationType:(UIWebViewNavigationType)navigationType { | |
NSString *scheme = [[[request URL] scheme] lowercaseString]; | |
if([scheme isEqualToString:@"optimizelygoal"]) { | |
// Pull the encoded JSON string out of the querystring | |
// Decode the string, convert JSON string into usable object | |
// Handle the message | |
// Return NO to prevent the webview from navigating | |
NSDictionary *userInfo = [self userInfoFromQuery:request.URL.absoluteString]; | |
if (userInfo[@"name"] != nil){ |
This file contains 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
import Foundation | |
import CoreData | |
extension NSManagedObjectContext{ | |
func saveContext(){ | |
if self.hasChanges { | |
do{ | |
try self.save() | |
} |
This file contains 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
{"lastUpload":"2020-09-15T10:51:53.024Z","extensionVersion":"v3.4.3"} |