Skip to content

Instantly share code, notes, and snippets.

@mwoerner
mwoerner / gist:5023457
Created February 24, 2013 11:18
Shadow
//
// ViewController.m
// Shadow
//
// Created by Marc Woerner on 24.02.13.
// Copyright (c) 2013 Marc Woerner. All rights reserved.
//
#import "ViewController.h"
@mwoerner
mwoerner / gist:4484027
Created January 8, 2013 14:02
Show & Filter Earthquakes on Map (DataSource: http://earthquake.usgs.gov)
//
// ViewController.m
// EarthquakeMap
//
#import "ViewController.h"
#import "SeismicEvent.h"
@interface ViewController ()
@mwoerner
mwoerner / gist:4475640
Created January 7, 2013 15:06
UICollectionView Getting Started
//
// CollectionVC.m
// CollectionView
//
#import "CollectionVC.h"
@interface CollectionVC ()
@end
@mwoerner
mwoerner / gist:4468054
Last active December 10, 2015 17:28
Show address on Map using Google Geocoding API (JSON)
//
// ViewController.m
// ShowAddressOnMap
//
#import "ViewController.h"
@implementation AddressAnnotation
@synthesize coordinate;
@mwoerner
mwoerner / gist:4389620
Last active December 10, 2015 05:48
Simple ToDo App Using CoreData
//
// AppDelegate.m
// ToDoAppCoreData
//
#import "AppDelegate.h"
@implementation AppDelegate
@mwoerner
mwoerner / gist:4352891
Last active December 10, 2015 00:39
How to sort an array using NSSortDescriptor
#import "ViewController.h"
#import "Person.h"
@interface ViewController ()
@property (nonatomic, strong) NSArray *firstNamesArray;
@property (nonatomic, strong) NSArray *lastNamesArray;
@property (nonatomic, strong) NSArray *agesArray;
@property (nonatomic, strong) NSMutableArray *personsArray;
@mwoerner
mwoerner / CSVParser.m
Created December 2, 2012 11:03
iOS - Parse Local CSV File And Show Data In A Table
//
// CSVParser.m
// Golfcourse
//
#import "CSVParser.h"
#import "Golfcourse.h"
@implementation CSVParser
@mwoerner
mwoerner / gist:4175943
Created November 30, 2012 14:07
iOS - Lookup words in Apple's built-in Dictionary
//
// ViewController.m
// Dictionary
//
#import "ViewController.h"
@interface ViewController ()
@mwoerner
mwoerner / gist:4175712
Created November 30, 2012 13:20
iOS - Customized Tabbar App from Scratch
//
// AppDelegate.m
// CustomizedTabbarApp
//
#import "AppDelegate.h"
@implementation AppDelegate
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
@mwoerner
mwoerner / gist:4174921
Created November 30, 2012 10:09
iOS - Using Camera & Photo Library
//
// ViewController.m
// Camera
//
#import <MobileCoreServices/MobileCoreServices.h>
#import "ViewController.h"
@interface ViewController () <UIImagePickerControllerDelegate, UINavigationControllerDelegate>