I have two questions. First, is instant reverse supposed to read in implementation also? I can’t seem to get it to do this, even though I see that it can read .cpp files. When I look at the function specification, the implementation field is blank.
Second, the only files that VP-UML makes available in the Objective-C reverse dialog is .h, .hpp, .cpp, and .cc. Thats great, but the default file type for xcode objective-C on the Mac is .h and .m. I’m using a PC for the UML design, and reverse engineering actual objective-C code written in xcode on the Mac. When my design is complete, I’ll go back to the Mac to write the code from the design. When I reverse engineer a folder, does it parse the .m files? I can’t tell because it doesn’t populate implementation fields anyway.
Thanks for your post. I’ve fired a feature request to our development team to support .m files in Instant Reverse. If there is any news on this issue, I’ll come back to you immediately.
Thanks. Can you answer the other part of my question? Is it supposed to read in implementation? Until that .m problem is fixed, do I have to rename the .m files to .cpp for VP to read in the implementation?
Sorry that I forgot to answer that part. As modeling has abstraction, we do not reverse the body (implementation) of the model to the design - if you need to read the implementation, simply read the source code will be okay.
And when you have run Instant Reverse to reverse existing source code to class model, the generated class model will have the file reference to the source code automatically (as show as image). That means you can simply click the reference icon on the class model and click the source code from the popup menu to go back to the source code for viewing.
I would like to inform you that in the new version, VP-UML 7.0, we support *.m files (the Objective-C source code), you can select the File of Type for selecting .m files for Instant Reverse (see attached image).
Please note that we only reverse definition in source to class model, implementation in code will not be reversed.
Hope you find this enhancement if helpful. If there is anything I can do to help please feel free to have a post.