Skip to content

Instantly share code, notes, and snippets.

Antol Antol

View GitHub Profile
@Antol
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
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
Antol / gist:4363117
Created Dec 23, 2012
Cool technique in C++ for superclasses
View gist:4363117
class Object : public Node
{
private:
// 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.