XCode suggest me "NSSet" when I typed "NSS". It is not very good for me. I use NSString quite often.
Is it possible to suggest "NSString" when I typed "NSS"?
Type NSString
into the editor, select that and drag it with your mouse to Code Snippet Library (⌃⌥⌘2 if not open), then set its completion shortcut to something not used by Xcode, like "foo".
Now every time you want to use NSString
just type foo
and Xcode will offer to auto-complete with NSString
. It requires some time to get used to typing something else just like with macro Srikar suggested, but it doesn't add anything new to code itself.
BTW, related comic: http://i.imgur.com/YRRHc.png
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With