GithubHelp home page GithubHelp logo

mp0w / ccloader Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jonasgessner/ccloader

0.0 1.0 0.0 1.48 MB

Developer utility for loading custom plugins into Control Center on iOS 7.

Objective-C 70.12% C 6.28% Python 4.98% Shell 0.14% Logos 18.48%

ccloader's Introduction

CCLoader

Available to download from Cydia: http://cydia.saurik.com/package/de.j-gessner.ccloader

###General CCLoader loads custom sections into the iOS 7 Control Center. Templates for creating a CCLoader plugin are available for theos and for iOSOpenDev:

CCLoader Plugin template for theos: https://github.com/JonasGessner/Theos-NIC-Templates
CCLoader Plugin template for iOSOpenDev: https://github.com/JonasGessner/iOSOpenDev-Xcode-Templates

###Replacing Stock Control Center Sections Stock Control Center sections can also be replaced with a custom bundle. The NIC template will ask you for which section ID should be replaced. The Section IDs that can be replaced with CCLoader are:

• com.apple.controlcenter.settings
• com.apple.controlcenter.brightness
• com.apple.controlcenter.media-controls
• com.apple.controlcenter.air-stuff
• com.apple.controlcenter.quick-launch

CCLoader checks for CCReplacingStockSectionID in the bundle's Info.plist file. if any of the above values is given for that key then the corresponding stock section will be replaced. Otherwise the bundle will be recognized as a new section for Control Center.

A custom section that replaced a stock section has two options regarding the sections height: The custom section can return CGFLOAT_MIN as sectionHeight, in that case the height of the section that is replaced will be used. If the custom section returns anything other than CGFLOAT_MIN then that height will be used. This functionality is limited to iPone/iPod touch and to portrait mode. In landscape or on an iPad the height of the section that is being replaced will be used.

###iPad Support The only feature that works on iPads is to replace stock sections. New sections cannot be added to the iPad's Control Center (as of now).

Contributing

Contributing to the project is much appreciated. Feel free to fork and modify the project and open pull requests.

You can contact me on Twitter: @JonasGessner.

License

Licensed under Creative Commons Attribution NonCommercial NoDerivs.

See the full license.

Credits

© 2014, Created by Jonas Gessner

ccloader's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.