Thanks to visit codestin.com
Credit goes to github.com

Skip to content

rrnarayan1/omni-crosswords

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

158 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

omni-crosswords

Omni Crosswords is an iOS app that fetches crosswords from Firebase Cloud Firestore and enables users to complete them on a iOS Device..

Development

Omni Crosswords uses SwiftUI.

Use XCode to open the .xcodeproj file. There are two options to enable a successful build.

Firebase

Set up Firebase Cloud Firestore, and add the GoogleService-Info.plist file to the root directory. Make sure anonymous authentication is enabled.

The app expects a collection named "crosswords". An example document (in JSON) can be found in sampleData.json. The "id" field contains the expected format of the document id. Data is transformed from Firebase in JsonToCrossword.swift.

LocalMode

  1. Remove the dependency in the build on GoogleService-Info.plist in Build Phases > Copy Bundle Resources
  2. Change DevOverrides.plist to set localMode to true
  • This will automatically show one crossword in the list - this crossword data be changed by changing sampleData.json. It will only show one crossword.
  • If you want to add another crossword for testing, you can visit the "Upload" tab in localMode, and you can type in a filename to add (don't include the .json extension) - you can add the other files in the SampleDataFiles directory
  1. Do not commit these changes. (git update-index --skip-worktree crosswords/DevOverrides.plist is your friend!)

About

An iOS app that fetches crosswords and allows users to complete them

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages