17

GitHub - openfoodfacts/openfoodfacts-ios: Native (Swift) version of Open Food Fa...

 5 years ago
source link: https://github.com/openfoodfacts/openfoodfacts-ios
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

README.md

Open Food Facts iOS app

Build Status

Project Status Stories in Ready Average time to resolve an issue Percentage of issues still open Crowdin
68747470733a2f2f7374617469632e6f70656e666f6f6466616374732e6f72672f696d616765732f6d6973632f6f70656e666f6f6466616374732d6c6f676f2d656e2d313738783135302e706e67

What is Open Food Facts?

Open Food Facts is a food products database made by everyone, for everyone.

Translate Open Food Facts in your language

You can help translate Open Food Facts and the app at (no technical knowledge required, takes a minute to signup):
https://crowdin.com/project/openfoodfacts

Features implemented

  • Barcode scanning
  • Product search
  • Product list
  • Product detail
  • Image upload

Roadmap

  • On-the-fly OCR of ingredients and labels for new product addition
  • Internationalised user interface
  • Support for Open Beauty Facts, Open Pet Food Facts and Open Product Facts
  • Native editing
  • On-device Product cache
  • ARKit overlay
  • Handle multilingual products (view)
  • Handle multilingual products (data addition)
  • Add support for the new JSON taxonomy system (multilingual, and data augmentation from Wikipedia/Wikidata)
  • Add a food category browser

Images

37554229-dde0ecb6-29d5-11e8-82e1-918ee97cecd1.png37554225-ce5822c8-29d5-11e8-92e9-5c667be57a56.png37554236-f82dea42-29d5-11e8-89d5-4ca6416581d9.png37554231-e3689670-29d5-11e8-876f-c8d4055f7484.png37554234-eb159e18-29d5-11e8-8a75-3656742c1efa.png37554235-f01690fc-29d5-11e8-8319-1aa338708ebb.png

Building

Dependencies

We use Carthage for dependency management.

Run carthage bootstrap --platform iOS --cache-builds before opening the project in Xcode.

You can install Carthage with Homebrew:

brew install carthage

Fastlane

Currently there are two lanes, one for running the tests (fastlane test) and one for uploading a new beta to TestFlight (fastlane beta).

You can install Fastlane with Homebrew:

brew cask install fastlane

SwiftLint

We have a script that runs when building the app, it executes SwiftLint to enforce a style and conventions to the code.

You can install SwiftLint with Homebrew:

brew install swiftlint

Support

OpenFoodFacts has a Slack team, join the #iOS and #iOS-alerts channels. Click here to join.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK