Skip to content

Instantly share code, notes, and snippets.

Nathan Arnold nbarnold01

Block or report user

Report or block nbarnold01

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
rodrigohenriques /
Last active Apr 22, 2019
Used to make your EditText a better option than Spinners
public class ClickToSelectEditText<T extends Listable> extends AppCompactEditText {
List<T> mItems;
String[] mListableItems;
CharSequence mHint;
OnItemSelectedListener<T> onItemSelectedListener;
public ClickToSelectEditText(Context context) {
orkoden / HackerrankObjectiveCBoilerplate.m
Last active Dec 2, 2016 Boilerplate template for reading from STDIN and writing to STDOUT for Objective-C
View HackerrankObjectiveCBoilerplate.m
#import <Foundation/Foundation.h>
@interface HRSTDIOReadWriter : NSObject
@implementation HRSTDIOReadWriter
+(NSString*) readFromSTDIN
NSFileHandle *kbd = [NSFileHandle fileHandleWithStandardInput];
You can’t perform that action at this time.