Skip to content

Instantly share code, notes, and snippets.

View theill's full-sized avatar

Peter Theill theill

View GitHub Profile
- (void)expire:(NSString *)offerId success:(void (^)(BOOL))success failure:(ErrorBlock)failure {
[self deletePath:[NSString stringWithFormat:@"/offers/%@", offerId] parameters:nil
success:^(AFHTTPRequestOperation *o, id rsp) {
if (success) {
success(YES);
}
}
failure:[self handleError:failure]];
}
Pod::Spec.new do |s|
s.name = 'UrbanAirship-iOS-SDK'
s.version = '2.1.0'
s.license = 'BSD'
s.platform = :ios
s.summary = 'A simple way to integrate Urban Airship services into your iOS applications.'
s.homepage = 'https://github.com/urbanairship/ios-library'
s.author = { 'Urban Airship' => 'support@urbanairship.com' }
s.source = { :git => 'https://github.com/urbanairship/ios-library.git', :tag => '2.1.0' }

Keybase proof

I hereby claim:

  • I am theill on github.
  • I am theill (https://keybase.io/theill) on keybase.
  • I have a public key ASBc89GQ2sdiqWkaj9jB0NIVAEbW5AL7lIHXLiM82fSFago

To claim this, I am signing this object:

#!/bin/bash
filename="$1"
gitmoji=(:art: :zap: :fire: :bug: :ambulance: :sparkles: :pencil: :rocket: :lipstick: :tada: :white_check_mark: :lock: :apple: :penguin: :checkered_flag: :robot: :green_apple: :bookmark: :rotating_light: :construction: :green_heart: :arrow_down: :arrow_up: :construction_worker: :chart_with_upwards_trend: :recycle: :whale: :heavy_plus_sign: :heavy_minus_sign: :wrench: :globe_with_meridians: :pencil2: :poop: :rewind: :twisted_rightwards_arrows: :package: :alien: :truck: :page_facing_up: :boom: :bento: :ok_hand: :wheelchair: :bulb: :beers: :speech_balloon: :card_file_box: :loud_sound: :mute: :busts_in_silhouette: :children_crossing: :building_construction: :iphone: :clown_face: :egg: :see_no_evil: :camera_flash: :alembic: :mag: :wheel_of_dharma: :label: :seedling: :triangular_flag_on_post: :goal_net: :dizzy: :wastebasket:)
lineno=0
error() {
echo "$1"
echo
echo "--"
echo "Please refer to https://gitmoji.carloscuesta.me/ for required gitmoji info and https://chris.beams.io/posts
I would like to see how you approach building an application for displaying characters from the Star Wars API (https://swapi.dev/).
The assignment should be pushed to a Github repo.
The app must be able to do the following:
* list all characters (people) sorted by name
* show a spinner while data is being loaded
* consider how many people to load at a time (all vs paging vs other)
* display "name" and actual name of "homeworld" for each character in list [1]