Sheet is an iOS app that integrates with Google Spreadsheets, Google Sign-In, and Realm local storage. It allows users to authenticate with their Google accounts, retrieve and manage data from Google Spreadsheets, and store data locally using Realm for offline access.
- Google Sign-In Integration: Users can securely sign in with their Google accounts using the GoogleSignIn SDK.
- Google Sheets API Integration: Retrieve, update, and manage data from Google Sheets using GoogleAPIClientForREST_Sheets.
- Google Drive API Integration: Access Google Drive files related to spreadsheets using GoogleAPIClientForREST_Drive.
- Realm Local Storage: Store data locally for offline access, ensuring the app functions seamlessly without internet connectivity.
- Offline Support: Sync data from Google Sheets to local storage and access it when offline.
- Easy-to-Use Interface: Simple and intuitive interface for managing spreadsheet data.
Before you can build and run the project, ensure you have the following:
- Xcode 12.0 or later.
- Swift 5.0 or later.
- A Google Cloud project with access to the Google Sheets and Google Drive APIs.
- A configured OAuth 2.0 Client ID for iOS.
-
Clone the repository:
git clone https://github.com/OmAr-Kader/Sheet-IOS.git cd Sheet-IOS -
Configure Google Sign-In:
- Go to the Google Cloud Console.
- Create a project and enable the Google Sheets API and Google Drive API.
- Under APIs & Services > Credentials, create an OAuth 2.0 client ID for iOS and configure your app’s bundle identifier.
- Download the
GoogleService-Info.plistfile and add it to your project in Xcode.
-
Realm Setup: Realm is already integrated via CocoaPods. No additional setup is needed, but you can adjust the Realm configuration in the app as necessary.
-
Run the app: Open the
Sheet-IOS.xcworkspacein Xcode:open Sheet-IOS.xcworkspace
Then, build and run the app on your iOS device or simulator.
-
Sign in with Google:
- On the login screen, tap the Sign in with Google button to authenticate using your Google account.
-
Access Google Sheets:
- After signing in, the app will display a list of spreadsheets accessible through your Google Drive.
- Select a spreadsheet to view or modify its content.
-
Offline Mode:
- The app uses Realm to store data locally. If you're offline, you can still view and modify spreadsheet data. Changes will be synced with Google Sheets once you’re back online.
- GoogleSignIn: Handles Google account sign-in.
- GoogleAPIClientForREST_Sheets: Provides access to Google Sheets API.
- GoogleAPIClientForREST_Drive: Provides access to Google Drive API.
- RealmSwift: Handles local data storage for offline access.
Let me know if you need any changes!
|
|
|
|
|




