Code Monkey home page Code Monkey logo

barback's Introduction

Barback

Intro

An app for drinking cocktails, written in Swift. Currently on v2.3, as of Dec. 6th.

More technically: it's a CRUD Swift app under active development which is almost entirely open-sourced (I try and hide things like the recipes themselves and, you know, private keys.) The issues on GitHub are what I'm working on; the code is evolving with my familiarity with Swift and the larger iOS ecosystem (which is to say, frequently and slowly.)

Stack

  • Swift, duh.
  • Parse, for literally everything. Recipes, ingredients, and all sorts of fun data is stored in Parse. Crashes, analytics, and configurations are stored in Parse.
  • A variety of Pods for front-end stuff. Most of this is stuff I should port over to my own ends at some point, but DRY and all that jank.

So...

In conclusion, Barback is an app that lets you make drinks that look like this:

Props to NCotW.

Which make you feel like this:

Swanson.

More details can be found here, and you can buy it on the App Store. There's also a frontend portion which is under active development.

Feel free to browse, criticize, offer input, post gifs, etc. Especially if you know of a cocktail I'm missing :).

barback's People

Contributors

jmduke avatar shepwalker avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

barback's Issues

Genericize controller styling.

Not sure the best way to do this yet, but the fact that this appears like four times is a code smell:

    self.setNeedsStatusBarAppearanceUpdate()
    self.navigationController.navigationBar.barTintColor = UIColor.darkColor
    self.navigationController.navigationBar.translucent = false
    self.navigationController.navigationBar.tintColor = UIColor.backgroundColor
    self.navigationController.navigationBar.titleTextAttributes = [UITextAttributeTextColor: UIColor.whiteColor(), UITextAttributeFont: UIFont(name: UIFont().primaryFont, size: 20)]

Maybe subclassing navigationcontroller?

App Video

Cuz apparently thats a thing, now.

Better sharing

  1. You should be able to text recipes
  2. Sharing recipes should include a picture w/ the recipe (does this happen already? not sure.)

Better shopping list

Tied in with actual ingredient objects: break into sections, store in nsuserdefaults, etc

Better ingredient descriptions.

I scraped the summary from Wikipedia for all of them, which is better than nothing but could definitely use the bespoke treatment.

Landscape support

Autolayout should take care of a lot of this, but I'll need to make sure

Move extensions to actual extension files

There's a bug in XCode that doesn't properly pull in .swift extensions which is why there are primary fonts defined in multiple places. I managed to fix it for UIColor and hopefully well fix it for UIFont at some point.

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.