(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
#import <UIKit/UIKit.h> | |
@interface MyCustomNavigationBar : UINavigationBar | |
@end | |
@implementation MyCustomNavigationBar | |
- (id)initWithFrame:(CGRect)frame | |
{ |
@implementation TopViewController | |
- (void)viewDidLoad{ | |
[super viewDidLoad]; | |
if ([[[UIDevice currentDevice] systemVersion] floatValue] >= 7) { | |
NSDictionary *views = @{@"topGuide": self.topLayoutGuide, @"mainView": self.view}; | |
[self.view addConstraints:[NSLayoutConstraint constraintsWithVisualFormat:@"V:[topGuide]-20-[mainView]" |
expect([1, 2, 3]).to ~include(3) | |
class Negation < BaseMatcher | |
def failure_message | |
matcher.failure_message_when_negated | |
end | |
end |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
# Based on: https://github.com/python/cpython/blob/master/Mac/BuildScript/resources/install_certificates.command | |
# install_certifi.py | |
# | |
# sample script to install or update a set of default Root Certificates | |
# for the ssl module. Uses the certificates provided by the certifi package: | |
# https://pypi.org/project/certifi/ | |
import os | |
import os.path | |
import ssl |