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
// | |
// HTTPConstants.h | |
// Heartagram | |
// | |
// Created by Anthony Castillo on 3/11/15. | |
// HTTP status codes. Reference: http://www.django-rest-framework.org/api-guide/status-codes/ | |
#ifndef HTTPConstants_h | |
#define HTTPConstants_h |
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
@implementation UIImage (Extras) | |
// from this SO: http://stackoverflow.com/a/605385 | |
#pragma mark - | |
#pragma mark Scale and crop image | |
- (UIImage*)imageByScalingAndCroppingForSize:(CGSize)targetSize | |
{ | |
UIImage *sourceImage = self; | |
UIImage *newImage = 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
Verifying my Blockstack ID is secured with the address 1GaEBfFWjUDqGbdQoogDfYiMGHaJz7YMaw https://explorer.blockstack.org/address/1GaEBfFWjUDqGbdQoogDfYiMGHaJz7YMaw |
OlderNewer