Skip to content

Instantly share code, notes, and snippets.

Erkan YILDIZ erkanyildiz

Block or report user

Report or block erkanyildiz

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
@erkanyildiz
erkanyildiz / EYVersionLabel.h
Last active Nov 28, 2018
Convenience label for displaying app name, app version and copyright dates automatically
View EYVersionLabel.h
// erkanyildiz
// 20161004-1321+0900
//
// EYVersionLabel.h
#import <UIKit/UIKit.h>
@interface EYVersionLabel : UILabel
@property (nonatomic, strong) NSNumber* initialYear;
@end
@erkanyildiz
erkanyildiz / NSString+GoogleSuggestions.h
Last active Jul 7, 2016
Google Suggestions category on NSString with language support
View NSString+GoogleSuggestions.h
// erkanyildiz
// 20160707-1213-UTC+09
//
// NSString+GoogleSuggestions.h
#import <Foundation/Foundation.h>
@interface NSString (GoogleSuggestions)
- (void)GoogleSuggestions:(void (^)(NSArray* suggestions, NSError* error))completion;
- (void)GoogleSuggestionsForLanguage:(NSString*)ISOLanguageCode completion:(void (^)(NSArray* suggestions, NSError* error))completion;
@erkanyildiz
erkanyildiz / NSString+Evaluate.h
Created Jan 5, 2015
A simple expression evaluator category on NSString which can handle adding, subtracting, multiplication and division operations with parentheses precedence.
View NSString+Evaluate.h
// erkanyildiz
// 20150105-1132
//
// NSString+Evaluate.h
#import <Foundation/Foundation.h>
extern NSString* const kEYStringEvaluateError;
@interface NSString (Evaluate)
View NSNumber+TurkishSpellOut.h
// erkanyildiz
// 20140728-0035
//
// NSNumber+TurkishSpellOut.h
#import <Foundation/Foundation.h>
@interface NSNumber (TurkishSpellOut)
-(NSString*)spellOutTurkish;
@end
@erkanyildiz
erkanyildiz / IstanbulM4MetroLineStations
Last active Aug 29, 2015
Istanbul M4 Metro Line (Kadikoy-Kartal) Stations List with Coordinates (İstanbul M4 Metro Hattı (Kadıköy-Kartal) İstasyon Listesi ve Koordinatları)
View IstanbulM4MetroLineStations
[
{
"station": "Kadıköy",
"lat": 40.99017,
"long": 29.0217
},
{
"station": "Ayrılık Çeşmesi",
"lat": 40.9999,
"long": 29.02985
@erkanyildiz
erkanyildiz / ProvincesOfTurkey
Created Jul 2, 2014
Provinces of Turkey with coordinates (Türkiye'nin illeri ve koordinatları)
View ProvincesOfTurkey
[
{
"name": "Adana",
"lat": 37.000428,
"long": 35.321976
},
{
"name": "Adıyaman",
"lat": 37.766915,
"long": 38.276659
@erkanyildiz
erkanyildiz / EYUtils.h
Last active Apr 2, 2019
Utilities for Cocoa
View EYUtils.h
// erkanyildiz
// 20190328-1159+0900
//
// EYUtils.h
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#ifndef DEBUG_MODE
#define DEBUG_MODE 1
@erkanyildiz
erkanyildiz / IstanbulMetrobusStations
Last active Aug 29, 2015
Istanbul Metrobus Stations List with Coordinates (İstanbul Metrobüs Durak/İstasyon Listesi ve Koordinatları)
View IstanbulMetrobusStations
[
{
"station": "Söğütlüçeşme",
"lat": 40.991442,
"long": 29.037863
},
{
"station": "Fikirtepe",
"lat": 40.993656,
"long": 29.047085
View gitignore
# OS generated files #
######################
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db
.LSOverride
You can’t perform that action at this time.