Giter Site home page Giter Site logo

upscale's Introduction

Upscale

Change your device's resolution!

This is my own version of Upscale by @bd452. It changes your device's resolution, and my build allows for the saving of resolutions for future use. I still need to figure out deleting buttons. Maybe tomorrow...

I open-sourced this because I thought it was kind of interesting how I created all of the specifiers at runtime rather than in a plist and then had to make a dynamic number of methods, linked to button cells, at runtime with different values for each method. I ended up using the name of the method as the way to get those values. It's licensed under the MIT lincense, so do whatever you want with it!

To compile it, you may need to explicitly set the instance variables keyboardType and action as public in your PSSpecifier interface. I know you shouldn't normally just change headers all willy-nilly, but you can change these ivars, and you need to mark themas public to appease the compiler. You may also need PSTextFieldSpecifier.h, as many people's headers may not include them.

Enjoy!

upscale's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

upscale's Issues

bug

```Upscale.mm:70:47: error: class method '+groupSpecifierWithHeader:footer:' not found (return type defaults to 'id') [-Werror,-Wobjc-method-access]
        PSSpecifier *groupCell = [PSSpecifier groupSpecifierWithHeader:@"Custom (use at your own risk)" footer:@"Saving the custom resolution will create a new button for you to use"];
                                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Upscale.mm:282:10: error: property 'textLabel' not found on object of type 'UpscaleButton *'
    self.textLabel.textColor = systemTintColor;
         ^
Upscale.mm:283:10: error: property 'accessoryType' not found on object of type 'UpscaleButton *'
    self.accessoryType = UITableViewCellAccessoryNone;
         ^
3 errors generated.

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.