When I am trying to print using println() function it is not showing autocomplete parameter list in swift. Is there any problem in my xcode?
相关问题
- CALayer - backgroundColor flipped?
- Core Data lightweight migration crashes after App
- Core Data lightweight migration crashes after App
- How can I implement password recovery in an iPhone
- State preservation and restoration strategies with
相关文章
- 现在使用swift开发ios应用好还是swift?
- UITableView dragging distance with UIRefreshContro
- Could I create “Call” button in HTML 5 IPhone appl
- Using if let syntax in switch statement
- TCC __TCCAccessRequest_block_invoke
- Where does a host app handle NSExtensionContext#co
- Unable to process app at this time due to a genera
- Enum with associated value conforming to CaseItera
Delete
user/Library/Developer/Xcode/DeriveData
and delete the data of folder(Derive data) and restart Xcode. Should work. If doesn't, restart mac after doing this.Hi I found the reason for this.... As Dhruv mentioned, it only accepts string argument. So we need to convert object to string inline println() function.
For example:
we have integer defined as var age:Int = 24
then we can print this as
println("\(age)")
In this case we will get autocomplete option. On other hand println(age) will print same result as above.