Skip to content

Instantly share code, notes, and snippets.

View arturgrigor's full-sized avatar
🤓

Artur Grigor arturgrigor

🤓
View GitHub Profile
@arturgrigor
arturgrigor / Instabug.json
Created March 21, 2017 11:56 — forked from klaaspieter/Instabug.json
Instabug Carthage Binary Project Specification
{
"7.0.5": "https://github.com/Instabug/Instabug-iOS/releases/download/7.0.5/Instabug.zip"
}
// .h
@interface AMPNavigationBar : UINavigationBar
@property (nonatomic, assign) CGFloat extraColorLayerOpacity UI_APPEARANCE_SELECTOR;
@end
// .m
#ifndef __signals_h__
#define __signals_h__
#include <list>
#include <memory>
#include <iostream>
#include <functional>
namespace signals {
template<typename... Values> class Signal {
#import <UIKit/UIKit.h>
@interface UIView (SMFrameAdditions)
@property (nonatomic, assign) CGPoint $origin;
@property (nonatomic, assign) CGSize $size;
@property (nonatomic, assign) CGFloat $x, $y, $width, $height; // normal rect properties
@property (nonatomic, assign) CGFloat $left, $top, $right, $bottom; // these will stretch the rect
@end