Skip to content

Instantly share code, notes, and snippets.

View irichardson's full-sized avatar

Ian Richardson irichardson

View GitHub Profile
/Library/Ruby/Gems/2.0.0/gems/bundler-1.5.3/lib/bundler/spec_set.rb:92:in `block in materialize': Could not find highline-1.6.21 in any of the sources (Bundler::GemNotFound)
from /Library/Ruby/Gems/2.0.0/gems/bundler-1.5.3/lib/bundler/spec_set.rb:85:in `map!'
from /Library/Ruby/Gems/2.0.0/gems/bundler-1.5.3/lib/bundler/spec_set.rb:85:in `materialize'
from /Library/Ruby/Gems/2.0.0/gems/bundler-1.5.3/lib/bundler/definition.rb:133:in `specs'
from /Library/Ruby/Gems/2.0.0/gems/bundler-1.5.3/lib/bundler/definition.rb:178:in `specs_for'
from /Library/Ruby/Gems/2.0.0/gems/bundler-1.5.3/lib/bundler/definition.rb:167:in `requested_specs'
from /Library/Ruby/Gems/2.0.0/gems/bundler-1.5.3/lib/bundler/environment.rb:18:in `requested_specs'
from /Library/Ruby/Gems/2.0.0/gems/bundler-1.5.3/lib/bundler/runtime.rb:13:in `setup'
from /Library/Ruby/Gems/2.0.0/gems/bundler-1.5.3/lib/bundler.rb:119:in `setup'
from /Library/Ruby/Gems/2.0.0/gems/bundler-1.5.3/lib/bundler/setup.rb:17:in `<top (required)>'
- (void)createPlist {
NSArray* countries = ApplicationDelegate.countries;
for (SHCountry *country in countries) {
NSLog(@"<dict><key>%@</key><string>%@</string></dict>",country.countryIsoCode, country.countryDisplayName);
}
}
@irichardson
irichardson / PostFacebook
Created August 26, 2014 12:07
Class that contains simple methods to post to Facebook with or with an image attached using SLRequest. Written in Swift
//
// postFacebook.swift
// blocks
//
// Created by Ian Richardson on 8/22/14.
// Copyright (c) 2014 3 Screen Apps. All rights reserved.
//
import Foundation
import Accounts
@irichardson
irichardson / AudioManager
Last active February 3, 2020 07:03
Singleton AudioManager written in Swift
//
// AudioManager.swift
// blocks
//
// Created by Ian Richardson on 8/22/14.
// Copyright (c) 2014 3 Screen Apps. All rights reserved.
//
import Foundation
import AVFoundation
@irichardson
irichardson / postTweet
Last active August 29, 2015 14:05
Class that contains simple methods to post to Twitter with or with an image attached. Written in Swift
//
// postTweet.swift
// blocks
//
// Created by Ian Richardson on 8/22/14.
// Copyright (c) 2014 3 Screen Apps. All rights reserved.
//
import Foundation
import Accounts