1

When I write the presentViewController code the first time class name does not appear in autocomplete box. So whenever I want use presentViewController, I copy the class name.

Here is screenshot enter image description here

I have already declared login class but it does not appear in autocomplete.

Cœur
  • 37,241
  • 25
  • 195
  • 267
Jigar
  • 1,801
  • 1
  • 14
  • 29
  • 1
    xcode auto completion problem – Jigar May 11 '16 at 04:18
  • remove derive data and clean your project :- http://stackoverflow.com/questions/18933321/deleting-contents-from-xcode-derived-data-folder/18933382#18933382 – Nitin Gohel May 11 '16 at 05:04
  • @NitinGohel That doesn't solve Problem... I have to do that everytime for new class.. – Sneha May 11 '16 at 05:08
  • then might be that is the bug or new xcode – Nitin Gohel May 11 '16 at 05:13
  • I have the exact same issue over here: http://stackoverflow.com/questions/37176028/xcode-7-3-1-not-autocompleting-correctly Beginning to the get the impression this is just a (relatively) serious bug in Xcode...Ugh – Friendly King May 12 '16 at 12:15

1 Answers1

0

I think you have to build the Xcode project once you create new class, file, variable which you want import to another class.

Dipang
  • 1,111
  • 12
  • 12