I have just started trying to learn Swift, but one error keeps cropping up time and again and I can not find out why - "Editor placeholder in source code". What could be causing this (I am unable to post a picture of the code as I am a new member).
Thanks
It happened to me just now, but the reason was pretty straightforward once I looked at the code. I was using the autofill class as the param for a function. Ergot "place holder"
//Leaving the auto-completed signature gave the error
myclass.myFunction(myParam: UIControl)
//removing the auto complete params and using a real one cleared error
myclass.myFunction(myUIControl)
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