Skip to content

Instantly share code, notes, and snippets.

Antol Antol

Block or report user

Report or block Antol

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
Antol / APResizableContainerView.m
Created Nov 26, 2014
Resizable container view
View APResizableContainerView.m
// Created by Antol Peshkov on 25.11.14.
// Copyright (c) 2014 restaurantTradition. All rights reserved.
#import "APResizableContainerView.h"
#import "Masonry.h"
@implementation APResizableContainerView
Antol / APAspectFitImageView.h
Created Oct 16, 2014
UIImageView with aspect fit working with autolayout
View APAspectFitImageView.h
// APAspectFitImageView.h
// autolayout
// Created by Antol Peshkov on 16.10.14.
// Copyright (c) 2014 Antol Peshkov. All rights reserved.
#import <UIKit/UIKit.h>
Antol / gist:4363117
Created Dec 23, 2012
Cool technique in C++ for superclasses
View gist:4363117
class Object : public Node
// It helps to typedef super & self so if you change the name
// of the class or super class, you don't have to replace all
// the references
typedef Node super;
typedef Object self;
You can’t perform that action at this time.