Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

hechen/XcodeOpener

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

XcodeOpener

Build Status Swift Version

Select which file will be opened by which xcode.

Main Interface

if you want recover registeration, click the back to xcode button on the menu.

Back to xcode

Under the hood

  1. Register self as the default application that the files with specific extension will be opened with.
  2. When self receive openURL notification, we decide which real application user specified before to open it.
  3. Done

Core

/*
Sets the user’s preferred default handler for the specified content type in the specified roles.
*/
LSSetDefaultRoleHandlerForContentType(_:_:_:)

/*
Returns the application bundle identifier of the user’s preferred default handler for the specified content type with the specified role.
*/
LSCopyDefaultRoleHandlerForContentType(_:_:)

About

Choose which xcode will be the default one.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.