Skip to content

Instantly share code, notes, and snippets.

Ernesto Rivera rivera-ernesto

Block or report user

Report or block rivera-ernesto

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
@rivera-ernesto
rivera-ernesto / SafeNavigationController.h
Created Aug 15, 2014
SafeNavigationController which instead of ignoring subsequent push calls handles a "push queue"
View SafeNavigationController.h
//
// SafeNavigationController.h
// SafeNavigationController.h
//
// Created by 利辺羅 on 2014/08/14.
// Copyright (c) 2014年 CyberAgent Inc. All rights reserved.
//
#import <UIKit/UIKit.h>
View SliceCell.xib
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="5056" systemVersion="13C1021" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none">
<dependencies>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="3733"/>
</dependencies>
<objects>
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
<tableViewCell contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" id="bNR-T5-btx">
<rect key="frame" x="0.0" y="0.0" width="320" height="44"/>
@rivera-ernesto
rivera-ernesto / NBUAvailability.h
Last active Dec 26, 2015
Availability replacement macros to check for new APIs usage that may cause a crash on older systems. Part of NBUCore.
View NBUAvailability.h
#import <Availability.h>
#import <Foundation/NSObjCRuntime.h>
/**
Availability replacement macros to check for new APIs usage that may cause a crash on older systems.
Simple define your deployment target version before importing this header file in your prefix file.
E.g.:
You can’t perform that action at this time.