Reputation: 294
I haven't done anything. I just copied into another folder. When I run this code everything is working fine but don't know why some Swift class files are in red colour. Can someone please suggest me a solution?
Upvotes: 0
Views: 975
Reputation: 294
I solved this red colour issue by re-adding those class files and i deleted these red colour classes. I Think it's because of the path issue.Solved by readding.
Upvotes: 0
Reputation: 218
Import these red colored classes from another folder or backup folder to your current project.
To sort this issue permanently open your project folder and move these classes to main project folder.
Upvotes: 1
Reputation: 4739
Just drag this files again in XCode or add reference of those files by clicking on +
button on bottom left corner of XCode and then click on 'Add files'.
Upvotes: 1