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
// | |
// SSLPinningValidator.swift | |
// | |
// Created by Angel Garcia on 17/08/16. | |
// | |
import Foundation | |
import Security | |
import CommonCrypto |
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 "UIImageView+WebCache.h" | |
// load the image in: | |
// - (void)configureCell:(MyCell*)cell atIndexPath:(NSIndexPath*)indexPath | |
// or in - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath | |
NSString *imageURLString = item.imageURL; | |
if (imageURLString) { | |
NSURL *url = [NSURL URLWithString:imageURLString]; | |
if (url) { |