There's a weird behaviour in Xcode when writing Swift code.
Try to write this code for example:
var fullName: Bool
{
get
{
return firstName + " " + lastName
}
set
{
splitFullName(fullName);
}
}
Now what really happens is this:
var fullName: Bool
{
get
{
return firstName + " " + lastName
}
set
{
splitFullName(fullName);
}
}
That weird indentation is something that Xcode strongly insists on. And I know that although Apple developer seem to think that brackets on the same line is better for some reason, there's no way in **** they think that that indentation is correct!