Find file
Fetching contributors…
Cannot retrieve contributors at this time
52 lines (31 sloc) 2.95 KB

This project is no longer maintained or available in the App Store.

Winston-Salem Crime Map

A RubyMotion application brought to you by Off The Grid Apps.

This application was originally written in pure Objective-C and submitted to the app store. It went through multiple iterations as an XCode project until I heard about RubyMotion and decided to use it as a chance to not only simplify the codebase for this app, but also to learn Ruby in the meantime.

Since I used this as a learning experience, I also wanted to put the code out there for others to learn from and to improve upon (iOS client only, not the server scraper and API).

This RubyMotion project is open source under the MIT license (see License file).

This app is a universal application (meaning that it works on both the iPhone and iPad). It has also been updated to work with the new screen size of the iPhone 5.

Getting it

You can get the app one of two ways:

  1. Clone this repos and run it in the siumlator (or on a device if you are a registered Apple Developer). git clone --recursive git://github.com/OTGApps/WSCrime.git
  2. Get it from the iTunes App Store:

image

Running the app

Prerequisites:

  1. XCode 4.5 with iOS 6 SDK.
  2. You must have a registered and licensed copy or RubyMotion on your computer. If you do not, you will need to purchase a license here. Winston-Salem Crime Map requires at least RubyMotion 1.30 or later.
  3. Cocoapods must be installed.
  4. Valid Apple Developer signing certificate (if you want to install on a device).

Compiling:

  1. cd into the WSCrimeMap directory and run bundle update
  2. Run rake and the application will build and launch the iOS simulator.

ARKit

I recently introduced augmented reality into the app. I'm using my own fork of a1phanumeric's iPhone AR Toolkit. The reason I'm using my own fork is because including it as a standard xcode project was crashing upon initialization. So I created a static library to use through XCode. I'll try and keep my fork up to date with the main project repo.

Screenshots