Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
RubyMotion project for my app: Winston-Salem Crime Map (available in the App Store)
Ruby HTML
tag: 1.6

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
Marketing
app
resources
spec
vendor
.gitignore
.gitmodules
Gemfile
License
Rakefile
Readme.md

Readme.md

Winston-Salem Crime Map

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/markrickert/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 and it's not currently working or fully implemented and is not in the App Store version yet. I'm using my own fork of a1phanumeric's iPhone AR Toolkit. The reason I'm using my own fork is becasue 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

       

Something went wrong with that request. Please try again.