Skip to content
This repository was archived by the owner on Feb 17, 2025. It is now read-only.

ghostery/user-agent-ios

Folders and files

NameName
Last commit message
Last commit date

Latest commit

d53494e · Nov 13, 2022
Oct 25, 2019
Oct 25, 2021
Oct 25, 2021
Sep 30, 2020
Mar 21, 2019
Jun 16, 2020
May 26, 2020
Oct 20, 2021
Oct 25, 2021
Nov 29, 2019
Jun 16, 2020
Jul 31, 2019
Mar 9, 2020
Oct 25, 2021
Jun 7, 2021
Sep 28, 2020
Oct 25, 2021
May 7, 2020
Jul 9, 2020
Feb 12, 2020
Feb 3, 2020
Sep 29, 2020
Oct 20, 2021
Apr 1, 2020
Oct 1, 2020
Sep 25, 2020
Feb 6, 2020
Jun 29, 2020
Feb 19, 2020
Oct 11, 2019
May 18, 2020
Sep 25, 2020
Nov 19, 2019
Nov 19, 2019
Apr 3, 2020
Aug 16, 2019
Nov 19, 2019
Sep 5, 2019
Aug 23, 2019
Sep 25, 2020
Oct 1, 2020
Oct 5, 2020
Sep 9, 2019
Jun 7, 2021
Jun 7, 2021
Sep 25, 2020
Sep 25, 2020
Feb 26, 2020
Oct 20, 2021
Oct 20, 2021
Nov 13, 2022
Oct 20, 2021
Feb 19, 2020
Sep 25, 2020
Nov 19, 2019
Nov 19, 2019
Sep 28, 2020

Repository files navigation

User Agent iOS

User Agent is the internal name for the Ghostery iOS browser. A diferent name was chosen to highlight the new project, differentiate the project from the previous code bases, and to keep the option open to build multiple apps (e.g. Ghostery and Cliqz) out of the same codebase.

Requirements

Building the Code

  1. Clone the repository:
git clone [email protected]:ghostery/user-agent-ios.git
  1. Run the bootstrap script to install dependencies
cd user-agent-ios
sh ./bootstrap.sh
  1. Open UserAgent.xcworkspace in Xcode.

Localization

Localization works as described in the Apple Documentation or this helpful tutorial. Strings files are included in the project and can be exported to and imported from Xliff files if necessary for translation by external translation agencies.

Strings files live in the Translations directory,

To test localization, you can edit your currently active scheme, and in "Options", set the "Application Language". Don't commit this change please.

Licensing

Code is licensed under the Mozilla Public License 2.0.

Contributor guidelines

General Guidelines

  • Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.

Creating a pull request

  • All pull requests must be associated with a specific Issue. If an issue doesn't exist please first create it.
  • Please fill out the pull request template to your best ability.

Swift style

Whitespace

  • New code should not contain any trailing whitespace.
  • We recommend enabling both the "Automatically trim trailing whitespace" and "Including whitespace-only lines" preferences in Xcode (under Text Editing).
  • git rebase --whitespace=fix can also be used to remove whitespace from your commits before issuing a pull request.

Commits

  • Each commit should have a single clear purpose. If a commit contains multiple unrelated changes, those changes should be split into separate commits.
  • If a commit requires another commit to build properly, those commits should be squashed.