Giter Site home page Giter Site logo

truckfinder's Introduction

Truck Finder

"Truck Finder" is an app developed as a possible feature for my Udacity iOS Nanodegree final project, "Name That Truck." It would fulfill UICollectionView and API call requirements for that project by automatically pulling up a photo gallery for a type of truck, and saving the loaded images into Core Data for reuse.

Install

To check out my version of "Truck Finder":

  1. Clone or download my repository: $ https://github.com/ginnypx1/TruckFinder.git

  2. Enter the "Truck Finder" directory: $ cd /TruckFinder-master/

  3. Open "Truck Finder" in XCode: $ open TruckFinder.xcodeproj

To run the project in xCode, you will need to add a Private.swift file with your Flickr API key information:

let YOUR_API_KEY = <YOUR_API_KEY>

Instructions

Right now, "Truck Finder" automatically loads a set of 21 images based on a tag search passed in randomly for different collection views of trucks. You may see construction trucks, emergency trucks, farm trucks or big rigs.

To zoom in on an image, tap an image and the collection flow will change to bigger images. To reset to the smaller images, simply tap on another image.

The images can be reloaded by pressing the More Trucks button.

Technical Information

The Flickr API can be found at: https://www.flickr.com/services/api/

Planned Utilization

When a player correctly guesses the identity of a certain truck, they will be able to press a button that allows them to see many more pictures of that type of truck. A collection of images for each type of truck will be stored in Core Data, which will allow the app to be much more useful in an offline mode.

To Do

Right now, NSCache is storing cached images instead of Core Data storing the binary photo data from Flickr. SDWebImage has been loaded into the app, but is not currently being used. I'd like to eventually refactor the app so that all of the fetchImages code goes through SDWebImage.

truckfinder's People

Contributors

ginnypx1 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.