Skip to content

duckduckgo/iOS

This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

6bee1ce · Oct 25, 2024
Jan 19, 2023
Sep 25, 2024
Oct 4, 2024
Apr 4, 2022
Oct 21, 2024
Oct 25, 2024
Oct 25, 2024
Oct 25, 2024
Oct 23, 2024
Jul 10, 2024
Dec 3, 2019
Jul 5, 2024
Oct 4, 2024
Aug 28, 2024
Oct 18, 2024
May 26, 2023
Aug 28, 2024
Nov 3, 2021
Aug 28, 2024
Aug 26, 2024
Dec 3, 2019
Oct 25, 2024
Apr 4, 2022
Aug 30, 2024
Nov 3, 2021
Nov 3, 2021
Jul 3, 2024
Mar 9, 2023
Jan 19, 2023
Aug 14, 2024
Jul 25, 2024
Jan 27, 2022
Oct 21, 2024
Oct 21, 2024
Dec 15, 2022
Mar 30, 2021
May 15, 2023
May 4, 2018
Mar 24, 2024
Apr 18, 2024
May 17, 2024
Apr 14, 2023
Apr 17, 2024
Sep 20, 2023
Apr 14, 2023
Aug 23, 2023
Oct 18, 2024
Oct 18, 2024
Feb 10, 2023

Repository files navigation

DuckDuckGo iOS

We are excited to engage the community in development!

We are hiring!

DuckDuckGo is growing fast and we continue to expand our fully distributed team. We embrace diverse perspectives, and seek out passionate, self-motivated people, committed to our shared vision of raising the standard of trust online. If you are a senior software engineer capable in either iOS or Android, visit our careers page to find out more about our openings!

Building

Submodules

We use submodules, so you will need to bring them into the project in order to build and run it:

Run git submodule update --init --recursive

Developer details

If you're not part of the DuckDuckGo team, you should provide your Apple developer account id, app id, and group id prefix in an ExternalDeveloper.xcconfig file. To do that:

  1. Run cp Configuration/DuckDuckGoDeveloper.xcconfig Configuration/ExternalDeveloper.xcconfig
  2. Edit Configuration/ExternalDeveloper.xcconfig and change the values of all fields
  3. Clean and rebuild the project

Dependencies

We use Swift Package Manager for dependency management, which shouldn't require any additional set up.

SwiftLint

We use SwifLint for enforcing Swift style and conventions, so you'll need to install it.

Debugging

Instruments

We have a Custom Instruments tool to help visualize and track events that happen during runtime.

In order to run it:

  1. Build a debug version and install it on a simulator or device.
  2. Select the Instruments target and run it on a Mac. A new instance of the Instruments app will run. It will have a grayed out icon indicating that it works in debug mode with custom instruments attached.
  3. Select the 'DDG Trace' template or set up a custom one by importing the 'DDG Timeline' instrument from Library.
  4. Start recording.

See Instruments Developer Help for reference how to create custom instruments.

Terminology

We have taken steps to update our terminology and remove words with problematic racial connotations, most notably the change to main branches, allow lists, and blocklists. Closed issues or PRs may contain deprecated terminology that should not be used going forward.

Contribute

Please refer to contributing.

Discuss

Contact us at https://duckduckgo.com/feedback if you have feedback, questions or want to chat. You can also use the feedback form embedded within our Mobile App - to do so please navigate to Settings and select "Send Feedback".

License

DuckDuckGo is distributed under the Apache 2.0 license.