I have encountered a situation where xcode stops auto-completing and if you try to write a variable that already been defined xcode says << error type>>
< can result from the Swift compiler not finding the header file.
Do you have some sort of folder structure that your source code is in? If so, try setting Scan All Source Files for Includes to YES.
This will make Xcode look through all of those folders when trying to find the Header file.
Have a look where the file in which your type is defined is stored.
In your Build Settings make sure that this location is included in the Search Paths.
If it is part of the User Header Search Paths, make sure, that Always Search User Paths is turned on.
Have a look at superclasses etc of your type. Are they included in the Search Path as well?