ios - Trouble adding files to Xcode project -


i trying add 2 swift files xcode project. located on desktop currently. when open them up, this:

regular file

however, when add them xcode project, this:

imported file

how can add these files without text messing up? thanks!

that looks suspiciously kind of png file, not text file. ("png" followed "ihdr", specifically.) sure that's swift file , not screenshot of swift file or something?

that's strange title in titlebar of screenshot. perhaps related.

either way, seems pretty clear these allegedly swift files format not plain text. copy text out of new file created scratch xcode, , fix whatever problem is.


Comments

Popular posts from this blog

ios - RestKit 0.20 — CoreData: error: Failed to call designated initializer on NSManagedObject class (again) -

java - Digest auth with Spring Security using javaconfig -

laravel - PDOException in Connector.php line 55: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES) -