GitHub - openfoodfacts/openfoodfacts-ios: Native (Swift) version of Open Food Fa...
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
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
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.
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK