Giter VIP home page Giter VIP logo

atproperty's Introduction

ATProperty Build Status

What is this?

This is a convenient and fast approach to create property. You do not need to type @property and nonatomic when you declare a property.

You just needs to type @t like this.

Demo

How to install?

The best way to install this is use Alcatraz. Install Alcatraz followed by the instruction, restart your Xcode. You can find ATProperty in the list. Just click the install button.

Manager

You can also clone the repo and build the target. And the plug-in will automatically be installed in ~/Library/Application Support/Developer/Shared/Xcode/Plug-ins. Relaunch Xcode, and you can use this to create property.

Usage

This plug-in is extremely easy to use.

Common

typein result
@t @property (nonatomic, strong)
@w @property (nonatomic, weak)
@y @property (nonatomic, copy)
@a @property (nonatomic, assign)

Readonly

typein result
@rt @property (nonatomic, strong, readonly)
@rw @property (nonatomic, weak, readonly)
@ry @property (nonatomic, copy, readonly)
@ra @property (nonatomic, assign, readonly)

Readwrite

typein result
@xt @property (nonatomic, strong, readwrite)
@xw @property (nonatomic, weak, readwrite)
@xy @property (nonatomic, copy, readwrite)
@xa @property (nonatomic, assign, readwrite)

Outlet

typein result
@iw @property IBOutlet (nonatomic, weak)

Customize

You can customize the ATProperty plugin in menu:

Edit => ATProperty

ATProperty Setting

You can disabled it by clicking the checkbox ahead Enabled label. Changing default atomicity to atomic or modifier symbol order are also allowed.


Contribute

Feel free to open an issue or pull request, if you need help or there is a bug.

Contact

License

ATProperty is available under the MIT license. See the LICENSE file for more info.

atproperty's People

Contributors

draveness avatar daniate avatar ealeksandrov avatar wolfcon avatar halechan avatar dwicke01 avatar

Stargazers

MohsinAli avatar

Watchers

MohsinAli avatar  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.