Skip to content

Instantly share code, notes, and snippets.

View TheFinestArtist's full-sized avatar
🔥
Reigniting

Leonardo Kim TheFinestArtist

🔥
Reigniting
View GitHub Profile
/**
* Copyright 2013 Bo Wang
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
@TheFinestArtist
TheFinestArtist / UIImage+Custom.h
Last active August 29, 2015 14:25
UIImage+Custom
//
// UIImage+Custom.h
//
// Created by TheFinestArtist
//
#import <Foundation/Foundation.h>
@interface UIImage (Custom)
//
// UIColor+Custom.h
//
// Created by TheFinestArtist
//
#import <Foundation/Foundation.h>
@interface UIColor (Custom)
//
// NSDate+Custom.h
//
// Created by TheFinestArtist
//
#import <Foundation/Foundation.h>
#define DATE_FORMAT_SERVER @"yyyy-MM-dd'T'HH:mm:ss.SSS'Z'"
#define DATE_FORMAT_POST @"yy/MM/dd HH:mm"
@TheFinestArtist
TheFinestArtist / MBProgressHUD+Custom.h
Created July 25, 2015 14:37
MBProgressHUD+Custom
//
// MBProgressHUD+Custom.h
//
// Created by TheFinestArtist
//
#import <MBProgressHUD/MBProgressHUD.h>
@interface MBProgressHUD (Custom)
@TheFinestArtist
TheFinestArtist / SparseArrayHelper.java
Created July 25, 2015 14:32
SparseArrayHelper.java
import android.util.SparseArray;
import java.util.ArrayList;
/**
* SparseArrayHelper
*
* Created by TheFinestArtist
*/
public class SparseArrayHelper {
@TheFinestArtist
TheFinestArtist / IntArrayHelper.java
Created July 25, 2015 14:31
IntArrayHelper.java
/**
* IntArrayHelper
*
* Created by TheFinestArtist
*/
public class IntArrayHelper {
public static boolean contains(int[] array, int value) {
if (array == null)
return false;
@TheFinestArtist
TheFinestArtist / DateHelper.java
Created July 25, 2015 14:31
DateHelper.java
import android.text.format.DateFormat;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.TimeZone;
/**
* DateHelper
*
@TheFinestArtist
TheFinestArtist / ViewHelper.java
Created July 25, 2015 14:30
ViewHelper.java
import android.content.Context;
import android.graphics.drawable.Drawable;
import android.os.Build;
import android.view.View;
/**
* ViewHelper
*
* Created by TheFinestArtist
*/
@TheFinestArtist
TheFinestArtist / LocaleHelper.java
Created July 25, 2015 14:29
LocaleHelper.java
import java.util.Locale;
import java.util.TimeZone;
/**
* LocaleHelper
*
* Created by TheFinestArtist
*/
public class LocaleHelper {