All Projects → durul → Drl Theme Manager

durul / Drl Theme Manager

Licence: mit
Xcode File Template to generate theme manager for Swift 3+

Programming Languages

swift
15916 projects

Projects that are alternatives of or similar to Drl Theme Manager

Vipera
Project is now called Swift template, check the link ➡️
Stars: ✭ 57 (+375%)
Mutual labels:  xcode, template
Swift5 Module Template
An opinionated starting point for awesome, reusable Swift 5 modules
Stars: ✭ 331 (+2658.33%)
Mutual labels:  xcode, template
Eventkit
A template conference app, featuring real-time schedule and data changes & running on Realm 🚀
Stars: ✭ 59 (+391.67%)
Mutual labels:  xcode, template
Tensorflow Project Template
A best practice for tensorflow project template architecture.
Stars: ✭ 3,466 (+28783.33%)
Mutual labels:  oop, template
Swift Project Template
🍪 Easily generate Swift projects with Cookiecutter
Stars: ✭ 85 (+608.33%)
Mutual labels:  xcode, template
Donut
Xcode file template manager
Stars: ✭ 17 (+41.67%)
Mutual labels:  xcode, template
Krew Plugin Template
GitHub Repository Template for creating new Kubectl plugins
Stars: ✭ 27 (+125%)
Mutual labels:  template
U17
精仿有妖气漫画(Swift5)
Stars: ✭ 853 (+7008.33%)
Mutual labels:  xcode
Wp Controllers
The OOP Developer's best friend for working with objects in WordPress
Stars: ✭ 25 (+108.33%)
Mutual labels:  oop
Music Player
Android xml template layout for media/music player.
Stars: ✭ 24 (+100%)
Mutual labels:  template
Modern Resume Theme
A modern static resume template and theme. Powered by Jekyll and GitHub pages.
Stars: ✭ 868 (+7133.33%)
Mutual labels:  template
Genus
A general code generation tools for Go applications
Stars: ✭ 11 (-8.33%)
Mutual labels:  template
Yii2 App Another
Yii 2 Another Project Template
Stars: ✭ 9 (-25%)
Mutual labels:  template
Iobroker.vis Template
Template for ioBroker.vis widget set.
Stars: ✭ 7 (-41.67%)
Mutual labels:  template
Agalertviewwithprogressbar
Stars: ✭ 9 (-25%)
Mutual labels:  xcode
C cpp project framework
CMake build system( framework) with kconfig support for C/CPP projects
Stars: ✭ 26 (+116.67%)
Mutual labels:  template
Cookiecutter Pylibrary
Enhanced cookiecutter template for Python libraries.
Stars: ✭ 862 (+7083.33%)
Mutual labels:  template
Puppy
Starter kit and delivery system for building static prototypes with Twig
Stars: ✭ 25 (+108.33%)
Mutual labels:  template
Express Boilerplate
🚀 Starter project for a RESTful API in Node with Express & mongoose component-based
Stars: ✭ 9 (-25%)
Mutual labels:  template
Restacey
Responsive template for Stacey
Stars: ✭ 10 (-16.67%)
Mutual labels:  template

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

  • Clone this repo.
  • Copy the contents of the "DRL Theme Manager" directory of this repository into /Library/Developer/Xcode/Templates/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".

  • 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

Usage

func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {
    
    let theme = ThemeManager.currentTheme()
    ThemeManager.applyTheme(theme: theme)
    // Override point for customization after application launch.
    return true
}

override func viewWillAppear(_ animated: Bool) {
    super.viewWillAppear(animated)


    view.backgroundColor = ThemeManager.currentTheme().backgroundColor
    tableView.separatorColor = ThemeManager.currentTheme().secondaryColor
}

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

Requirements

Xcode 8.2.1

Swift 3.0 +

Deployment Target = iOS 9.1

Base SDK = iOS 10.1

Asset Credits

Portfolio: http://durul.github.io

Support

Twitter: https://www.twitter.com/duruldalkanat

Star our GitHub repo ⭐️

Create pull requests, submit bugs, suggest new features or documentation updates 🔧

License

The MIT License (MIT)

Copyright (c) 2017 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

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].