Skip to content

001 start your project

Gamcheong Yuen edited this page May 25, 2022 · 2 revisions

Start Your Project with Xcode

  1. Choose "App" template for the project.
  2. Choose your own project name.
  3. Fill in your organization identifier in reverse domain notation. Note that "inputmethod" should be within the top three levels of the domain.
    • For example, "com.example.inputmethod.ProjectName".
  4. Never mind the "Interface", though I have chose "XIB".
  5. Choose your developing language. In this series of notes, all the example code are in Swift.
  6. Uncheck both "Use Core Data" and "Include Tests".
  7. Save the project.

Clean Up the Project

For input method bundles, macOS will automatically start the application when the user selects the particular input method.

We do not want the application to be start with an annoying window. Therefore, we remove the windows and even the main menu in MainMenu.xib. Note: just remove those contents and keep the file.

Clone this wiki locally