Swift Documentation: sayHello, not greetingForPerson
| Originator: | mc | ||
| Number: | rdar://17492182 | Date Originated: | 2014-06-28 |
| Status: | Duplicate/17139628 | Resolved: | |
| Product: | Documentation | Product Version: | |
| Classification: | Other Bug | Reproducible: | Always |
From the documenation:
The function in the example below is called greetingForPerson, because (...), which will contain a greeting for that person:
func sayHello(personName: String) -> String {
So I think this function is called sayHello ;-)
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!