Skip to content

Instantly share code, notes, and snippets.

View erkanyildiz's full-sized avatar

Erkan YILDIZ erkanyildiz

View GitHub Profile
@erkanyildiz
erkanyildiz / EYDigitalCamouflageImage.h
Last active June 7, 2017 18:26
Simple UIImage with digital camouflage patterns (Woodland, Snow, Desert, Naval, Savanna, Airborne, Ocean, Arid)
// erkanyildiz
// 20160620-1913
//
// EYDigitalCamouflageImage.h
#import <UIKit/UIKit.h>
typedef enum:NSInteger
{
EYDCIWoodland,
@erkanyildiz
erkanyildiz / EYUSBDeviceConnectivity.h
Created March 11, 2016 03:00
A simple helper class to check and get notified if a USB device is connected/disconnected
// erkanyildiz
// 20160311-1158
//
// EYUSBDeviceConnectivity.h
#import <Foundation/Foundation.h>
@interface EYUSBDeviceConnectivity : NSObject
+ (instancetype)sharedInstance;
@property (nonatomic, copy) void (^onDeviceConnect)(NSNotification* notification);
@erkanyildiz
erkanyildiz / EYSupportMailComposer.h
Last active December 9, 2018 06:35
Support mail composer with activity indicator
// erkanyildiz
// 20170828-2105+0900
//
// EYSupportMailComposer.h
#import <Foundation/Foundation.h>
@interface EYSupportMailComposer : NSObject
+ (void)presentMailComposerOnViewController:(UIViewController *)viewController withEmail:(NSString *)email;
@erkanyildiz
erkanyildiz / LocalizationTerms.md
Last active October 4, 2024 21:15
Language Designator, Script Designator, Region Designator, Language ID, Locale ID all explained with examples.

Language Designator ISO 639-1

  • Specifies a language
  • 2-letters, lowercase
  • Ex:
en          English         
tr          Turkish         
ko          Korean
@erkanyildiz
erkanyildiz / EYHilbertCurveView.h
Last active June 7, 2017 18:25
Colorful Hilbert Curves from Level 1 to Level 5
// erkanyildiz
// 20170608-0308+0900
//
// EYHilbertCurveView.h
#import <UIKit/UIKit.h>
@interface EYHilbertCurveView : UIView
// erkanyildiz
// 20180225-2331+0900
//
// EYCrashTesting.h
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
@interface EYCrashTesting : NSObject