57068

swift auto completion not working in Xcode6-Beta

I made an iOS project with Swift and the XCode6-Beta doesn't show any completion for me. But it works with playground.

I noticed some youtube videos for swift , the xCode can show the methods automatically, should I configure the project or do something else?

Thanks.

Answer1:

I have figured it out. If your swift files contain Unicode characters, auto completion will fail even if the characters are comments. So just delete all the Unicode characters, and the auto completion feature will work well !

I think this is a Xcode6-Beta bug !

Answer2:

Not even use as comments,it would lost auto completion if you use Unicode Characters as parameters. Such as sender.setTitle("A♣︎", forState: UIControlState.Normal) you have to delete all Unicode characters. it's really inconvenient.Hope it would be fixed in next version.

Recommend

  • getting error “There was a issue with network [400]” while playing You tube video
  • Ios swift - storing uiimage in document directory and path in core data
  • android 2.2 WebView and WebViewClient RTSP problem
  • youtube video insert “onBehalfOfContentOwner” parameter value
  • GData Youtube : obtaining thumbnails
  • Greek letters in a GUI - PYTHON
  • How do I include superscripts in NSString?
  • Youtube upload API and cordova / phonegap
  • How to access UIViewController's varaibles inside “func applicationWillResignActive”? Swift, iO
  • Get the negative of an Optional Chain
  • Delphi. Analog of Memo/RichEdit
  • Unable to hide youtube iframes in safari?
  • Animating an SVG Group
  • No such module 'Parse' following Parse iOS Swift Quickstart guide
  • How to remove last utf8 char of a python string
  • Cannot page through all results using nextPageToken on YouTube search API v3
  • File extension of zlib zipped html page?
  • Failed to find version-tag string. File must be updated
  • Alamofire and Reachability.swift not working on xCode8-beta5
  • How can we prepend rows to a react native list-view?
  • Cuda Clang and OS X Mavericks
  • Configure Spring's MappingJacksonHttpMessageConverter
  • Does Apportable support to build library binary (.a/.so)?
  • How do I retrieve the user information of a user authenticated with Apache's mod_ldap?
  • How to disable all widgets inside Panel or inside Composite?
  • How do I configure context broker accept post requests from my remote sensor?
  • SharedPreferences or SQLite Database?
  • Azure Cloud Service Web Role web pages do not load
  • Excel - Autoshape get it's name from cell (value)
  • Finding past revisions of files in StarTeam w/ .NET SDK / C#
  • Jquery - Jquery Wysiwyg return html as a string
  • jqPlot EnhancedLegendRenderer plugin does not toggle series for Pie charts
  • How do I rollback to a specific git commit
  • Is there a mandatory requirement to switch app.yaml?
  • Cannot Parse HTML Data Using Android / JSOUP
  • C# - Getting references of reference
  • -fvisibility=hidden not passed by compiler for Debug builds
  • XCode 8, some methods disappeared ? ex: layoutAttributesClass() -> AnyClass
  • Busy indicator not showing up in wpf window [duplicate]
  • How to get NHibernate ISession to cache entity not retrieved by primary key