/CotEditor

Lightweight Plain-Text Editor for macOS

Primary LanguageSwiftOtherNOASSERTION

CotEditor

CotEditor is a lightweight plain-text editor for macOS. The project aims to provide a general plain-text editor for everyone with intuitive macOS-native user interface.

screenshot

Source Code

CotEditor is a purely macOS native application written in Swift. It adopts Cocoa's document-based application architecture.

Development Environment

  • macOS 14 Sonoma
  • Xcode 15
  • Swift 5.9
  • Sandbox enabled

Contribution

CotEditor has its own contributing guidelines. Read CONTRIBUTING.md through before you create an issue or make a pull-request.

How to Build

Build for Ad-hoc usage

For those people who just want to build and play with CotEditor locally.

  1. Run the following commands to resolve dependencies.
    • git submodule update --init --recursive
  2. Open CotEditor.xcodeproj in Xcode.
  3. Change to ad-hoc build mode:
    1. Open Configurations/CodeSigning.xcconfig.
    2. Comment out #include "CodeSigning-Default.xcconfig".
    3. Uncomment #include "CodeSigning-AdHoc.xcconfig".
  4. Build "CotEditor" scheme in the workspace.

Build for distribution

  1. Run the following commands to resolve dependencies.
    • git submodule update --init --recursive
  2. Open CotEditor.xcodeproj in Xcode.
  3. Build "CotEditor" scheme in the workspace.

License

© 2005-2009 nakamuxu, © 2011, 2014 usami-k, © 2013-2023 1024jp.

The source code is licensed under the terms of the Apache License, Version 2.0. The image resources are licensed under the terms of the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License. See LICENSE for details.