Coder Social home page Coder Social logo

xcrun's People

Contributors

archont94 avatar dalemyers avatar foreverq avatar igorcamilo avatar mattipv4 avatar muehlbaueralex avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

xcrun's Issues

Add type annotations

Type annotations help immensely in cleaning up potential issues in code. We should add them throughout the library. This is dependent on issue #2 though.

Drop Python 2 support

Python 2 is about to hit EOL. It's not worth maintaining this for a dead language. The package is simple enough that if anyone does really need it, it should be trivial to correct for Python 2.

This has actually been mostly done, there are just a few remnants of Python 2 still kicking around.

Package name is bad

While you do use the xcrun command to run simctl, all it actually does is run the correct version of simctl for the currently selected version of Xcode. There are multiple other tools that can be run with xcrun and this isn't intended to be a wrapper around all of them.

The simctl package name is already taken though, so we'll need to use something better.

Don't mimic the command line

The tool was designed to mimic the command line, but that's not the best idea. Tools designed for bash are not the best design for Python APIs. As an example, to list the runtimes in Bash we do:

xcrun simctl list runtimes

Currently, with this package, we run:

xcrun.simctl.listall.runtimes()

It would be much cleaner to have something like:

xcrun.simctl.runtimes.all()

Python has objects. We shouldn't be afraid to use them.

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.