For faster connection speed and more flexibility.
- Start Xcode in command line by running this in commandline
/Applications/Xcode.app/Contents/MacOS/Xcode - Start downloading of the simulator
- Cancel it. YES CANCEL IT!
- You will get a message like this:
| <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | |
| <!-- | |
| How to define a variable. | |
| Just stick a new node in a property group. | |
| --> | |
| <PropertyGroup> | |
| <!-- This node in a property group will define a variable --> | |
| <TestVariable>Test Variable Value</TestVariable> | |
| extension UITextView { | |
| /** | |
| Calculates if new textview height (based on content) is larger than a base height | |
| - parameter baseHeight: The base or minimum height | |
| - returns: The new height | |
| */ | |
| func newHeight(withBaseHeight baseHeight: CGFloat) -> CGFloat { |
For faster connection speed and more flexibility.
/Applications/Xcode.app/Contents/MacOS/Xcode| [AttributeUsage(System.AttributeTargets.All, AllowMultiple = true, Inherited = true)] | |
| public class ಠ_ಠAttribute : Attribute | |
| { | |
| public ILog Log { get; set; } | |
| public ಠ_ಠAttribute() | |
| { | |
| Log.Info("This code is bad and you should feel bad"); | |
| } | |
| } |