Skip to content

nathanhosselton/NJHMultiTheme

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NJHMultiTheme

Set separate Xcode themes for Swift and Objective-C source files.

The selected theme will become active whenever the corresponding source file type has focus.

Installation

  • Via Alcatraz (recommended)
  • Or simply download and build the project

Use

  1. Use the new Edit menu items to select the themes you want to use.
  2. Go about your business.

Removal

Use Alcatraz or in Terminal, run:

rm -rf ~/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins/NJHMultiTheme.xcplugin

Considerations

While the vast majority of use cases will see MultiTheme function as you would expect, there are edge cases where behavior is not as refined as I would like.

  • When switching projects and landing on a different file type, theme changing is not as quick and may sometimes flicker. Clicking into the source editor will settle this.
  • When multiple file types are opened in the Assistant Editor, only the current theme will be used. This is simply a limitation with themes in Xcode. However, manual manipulation of the additional source editor spaces could allow for an effective display of multiple themes at once, which is something I might look into for a future enhancement.

About

An Xcode plugin (defunct) for contextual themes

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published