DRL-Theme-Manager

Xcode template to generate swift theme manager.


Keywords
ios, oop, swift, swift-3, swift-library, template, xcode
License
MIT

Documentation

DRL Theme Manager

DRL Theme Manager is an Xcode Swift File Template for Generating maximum required files to create a theme for Swift project.

When the template is installed, it will create a DRL Theme Manager.swift

Installation & Usage

  • Clone this repo.
  • Copy the contents of the "DRL Theme Manager" directory of this repository into /Library/Developer/Xcode/Templates/Application/File Templates.
  • Relaunch Xcode and select "File > New File", or use the ⌘N keyboard shortcut.
  • Select the "DRL Theme Manager" category, then select the "DRL Theme Manager" file, and hit "Next".
  • Select the license that you wish to use, and hit "Next".

  • If you are using Alcatraz, you should be able to download it from there.
  • If you aren't using Alcatraz, just type the commands below in terminal.

    $ git clone https://github.com/durul/DRL-Theme-Manager.git

    $ cd DRL Theme Manager

    $ ./install-templates.sh

  • If you got a permission denied error while executing the script file, give it an execution permission.

    $ sudo chmod 755 install-templates.sh

Uninstall

$ ./uninstall-templates.sh

  • If you got a permission denied error while executing the script file, give it an execution permission.

    $ sudo chmod 755 uninstall-templates.sh

License

The MIT License (MIT)

Copyright (c) 2015 Durul Dalkanat

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Image

ScreenShot

Contribution

  • If you'd like to contribute please submit a pull request via GitHub.

Like DRL Theme Manager? Get us a coffee ;-)

Donate