Reputation: 1
I was planning on temporarily moving some of my .h and .cpp files out of my Xcode Projects src folder to the desktop. Upon doing so the entire class's code that I wrote was replaced with this
book����mark����8���8���ú��������ˇ��Iù`∂flÀ¿A����ˇ��t��������
�������Users��������admin��������Desktop������Western������Fall 18������310������OpenFrameworks�������apps�����myApps�� �����GameFinal��������src������Item.h��0�������� ���0���@���P���`���l���Ñ���ê���†���¥���¿��������Ÿì����������€ì����������fiì����������≤ñ����������O~q����������1]s����������¶7ä����������9Dä����������:Dä����������í”ó����������ì”ó����������},ò�����0���������(��8��H��X��h��x��à��ò��®��∏��������A¿À>_Ä��������������������������������������������� ��������
������������ı����� ��file:///�����Macintosh HD�������`t���������Aø"éÌ���$�����05F48E21-DF9C-344C-AD93-FC37BA933E0A�����Å������Ô�����Ô����������/��������NSURLDocumentIdentifierKey�������F���1�����dnib������������������������������h????����������� ��˛ˇˇˇ������������–���������»��������������@���������T��8������U��D������V��0������ ��¸������ ��l������ ��|������ ��∞������ ��ê������ ��†������ ��‹������0 ��0������¿��P������¿�� �������¿��`������–��0������–�����������¿�������"��8�������Ä,������
I have tried opening the file in textEdit to see if there was a previous history to revert to and there was not. I tried CMD+Z in the src folder and this did nothing, I tried bringing it back into Xcode and it looks the same. I had so much written and other unaffected classes depend on this file.
Upvotes: 0
Views: 69