What Is Instant Code Reverse for Objective-C in Visual Paradigm?
Instant Code Reverse for Objective-C is a reverse engineering feature in Visual Paradigm Desktop that analyzes existing Objective-C source code and converts the discovered code structures into UML class models. It allows developers to bring an existing Objective-C codebase into a visual modeling environment without having to recreate its classes manually.
By reversing Objective-C source files into UML class models, developers can examine the structure of an application, understand relationships between classes, review an existing implementation, and create UML class diagrams to communicate the architecture of the software.
The feature is particularly useful when working with existing applications, legacy projects, inherited codebases, and third-party Objective-C libraries. Instead of relying exclusively on source code files to understand a system, developers can use Visual Paradigm to transform the source code structure into a visual representation.
Instant Code Reverse is a code-to-model operation. It imports structural information from Objective-C source code into a Visual Paradigm project. After reversing, users can choose which discovered classes to display in a UML class diagram.
Why Use Instant Code Reverse for Objective-C?
Instant Code Reverse helps developers understand and document existing Objective-C software by transforming source code structures into UML models. It reduces the manual effort involved in reconstructing a system’s class structure and provides a visual foundation for software analysis.
Understand Existing Objective-C Codebases
When joining an existing development project, developers may need to understand a large number of classes, their responsibilities, and their relationships. Reading individual source files can make it difficult to obtain an overall understanding of the system.
By reversing Objective-C source code into UML class models, developers can explore the discovered classes in Visual Paradigm and create diagrams that reveal important structural relationships.
Visualize Software Architecture
Source code contains structural information that can be represented through UML class diagrams. Instant Reverse helps extract this information so developers can visualize class hierarchies, associations, interface-related relationships, and containment structures where these are available in the reversed model.
Document Legacy Applications
Legacy applications often have incomplete, outdated, or missing design documentation. Instant Code Reverse provides a practical starting point for reconstructing structural documentation from existing Objective-C source files.
The resulting UML models can be organized into a Visual Paradigm project and used as the foundation for further documentation and architectural analysis.
Review and Analyze Implementations
Developers can use the generated class models and diagrams to review an implementation, identify potential design deficiencies, and investigate areas that may benefit from improvement.
For example, a developer may inspect inheritance relationships, identify classes with extensive dependencies, or examine how different parts of an application are connected.
Explore and Extend Existing Libraries
Instant Reverse can also be used to analyze an existing Objective-C library. Reversing a library’s source code into UML class models provides a visual starting point for understanding its structure before extending or integrating it into another application.
Edition Availability
Instant Code Reverse for Objective-C is a code engineering capability of Visual Paradigm Desktop. According to the published Visual Paradigm edition comparison, Objective-C code generation and reverse engineering are supported in the following editions:
| Visual Paradigm Edition | Objective-C Reverse Engineering |
|---|---|
| Enterprise | Supported |
| Professional | Supported |
| Standard | Supported |
| Modeler | Not listed as supported |
| Community | Not listed as supported |
For the latest licensing information, consult the Visual Paradigm Editions Comparison and verify the capabilities included in your installed product version.
How Instant Code Reverse for Objective-C Works
Instant Reverse follows a code-to-model workflow. It reads the specified Objective-C source files, identifies the classes and their structural information, and creates corresponding UML class model elements in the Visual Paradigm project.
The process consists of two main stages:
- Reverse source code into UML models: Visual Paradigm analyzes the Objective-C source files and creates corresponding class model elements.
- Form UML class diagrams: Users select the reversed classes and configure the relationships and presentation details to create one or more class diagrams.
These stages are related but separate. Reversing source code creates model elements, while forming a diagram determines how selected model elements are visually presented.
Instant Code Reverse for Objective-C: Functionality Breakdown
Objective-C Language Selection
The Language setting specifies the programming language of the source files to be analyzed.
To reverse Objective-C source code, select Objective-C in the Language field of the Instant Reverse window.
This tells Visual Paradigm to use the Objective-C reverse engineering process rather than the reverse engineering process for another supported language.
Source File and Folder Selection
The Path setting specifies the location of the Objective-C source code to reverse.
Visual Paradigm allows users to specify either:
- A source file: Use this when reversing a particular Objective-C source file.
- A folder: Use this when reversing source files stored together in a directory.
When working with an existing application, selecting the appropriate source folder provides a convenient way to process the relevant codebase rather than specifying files individually.
Exclude Source Files
The Exclude setting allows users to specify files that should be excluded from the reverse engineering process.
This is useful when a source folder contains files that are not relevant to the model being constructed. For example, developers may want to exclude unrelated source files or focus the analysis on a particular subsystem.
Excluding unnecessary files can also help keep the resulting UML model focused on the intended scope of analysis.
Source File Encoding
The Encoding setting specifies the character encoding used when reading the Objective-C source files.
Choosing an appropriate encoding is important when source files contain non-ASCII characters, such as localized text, comments, or identifiers.
If the encoding does not match the actual source files, some characters may not be interpreted correctly. When source text contains unexpected characters after processing, verify the encoding setting and the original file encoding.
Update Type and Duplicate Class Handling
The Update Type setting determines how Visual Paradigm handles classes that already exist in the project and have the same identity as classes discovered during reverse engineering.
Two update types are available:
Update duplicate class(es)
This option updates existing classes using information obtained from the reversed source code.
It is useful when a model already exists and you want to bring existing class elements up to date with the source code being reversed.
Replace duplicate class(es)
This option discards existing duplicate classes and replaces them with classes reversed from the source code.
It is useful when the source code should take precedence over the existing model elements.
| Update Type | Behavior | Typical Use |
|---|---|---|
| Update duplicate class(es) | Updates existing duplicate classes using source code information. | Refreshing an existing model while retaining its existing class elements. |
| Replace duplicate class(es) | Discards existing duplicate classes and replaces them with reversed classes. | Reconstructing existing classes from the source code. |
Important: These options concern duplicate class handling. They do not represent two different ways of reading Objective-C source code. Before selecting Replace duplicate class(es), consider whether the existing model contains manually maintained information that should be preserved.
Reverse to Model
The Reverse to Model setting allows users to specify the parent model under which the reversed classes should be placed.
Instead of placing all reversed classes directly into an existing model structure, users can organize different source code imports into separate model areas.
For example:
- Old: Store classes reversed from a legacy implementation.
- Prototype: Store classes reversed from a prototype or experimental implementation.
- Existing model: Place reversed classes under an appropriate model already defined in the project.
To select the destination model, click the ellipsis button at the end of the Reverse to Model row. In the Select Parent Model window, choose an existing model or click New Model to create one. Click OK to confirm the selection.
This functionality is particularly useful when a project contains multiple versions of a system or when users want to keep imported code structures organized separately.
Advanced Options
The Instant Reverse window provides an Advanced Options control for additional configuration related to Objective-C reverse engineering.
Users can access this control when they need to configure advanced reverse engineering behavior beyond the basic source selection and model destination settings.
The specific advanced settings available may depend on the installed Visual Paradigm version. Consult the in-product Help associated with Advanced Options for the exact settings supported by your installation.
Automatic Class Diagram Formation
After Instant Reverse finishes, Visual Paradigm can display the Instant Reverse Form Diagram window. This allows users to select the reversed classes and create a UML class diagram.
Users can decide whether to form a diagram immediately or postpone diagram creation. Even if diagram formation is cancelled, the reversed classes remain available in the project through Model Explorer or Class Repository.
This separation between model creation and diagram creation allows users to reverse a codebase first and decide how to visualize its structure later.
Form Diagram Options: Controlling UML Relationships
The Form Diagram Options tab determines which structural relationships surrounding the selected classes should be included in the generated UML class diagram.
These options help users control the scope and level of detail of the resulting diagram.
Show Superclasses
Displays generalization relationships between the selected classes and their superclasses or ancestors.
Use this option when you want to understand the inheritance hierarchy above the selected classes.
Show Subclasses
Displays generalization relationships between the selected classes and their subclasses or descendants.
Use this option to examine which classes inherit from the selected classes.
Show Suppliers (Interface)
Displays realization relationships between the selected classes and their suppliers, such as interfaces.
This option helps reveal interface-related relationships associated with the selected classes.
Show Clients
Displays realization relationships between the selected elements and their clients, meaning classes that implement the relevant interfaces.
Use this option when examining which classes provide implementations of interface-related elements.
Show Navigable Classes
Displays association relationships between selected elements and their navigable classes, which are the target classes of the associations.
This option helps reveal the classes that selected classes can navigate to through associations.
Show Non-Navigable Classes
Displays association relationships between selected elements and their non-navigable classes, which are the source classes of the associations.
Use this option to examine the other side of association relationships involving the selected elements.
Show Containers
Displays containment relationships between selected elements and their containers, such as packages.
This option is useful when you want to show the organizational context of the selected classes.
Show Residents
Displays containment relationships between selected elements and their resident elements, such as classes contained within a package.
Visual Paradigm provides three levels of resident display:
- Single level only: Shows only one level of resident elements in the new diagram.
- All levels in single diagram: Shows resident elements from all levels in one diagram.
- All levels in sub diagrams: Shows resident elements from all levels in multiple diagrams, with each diagram showing a single level.
The choice determines how deeply the containment hierarchy is expanded in the resulting diagrams.
Show as Containment Relationships
Displays containment relationships as connectors in the new diagram.
This option changes how containment relationships are represented visually, making them explicit connectors between the relevant model elements.
Form Diagram Options Summary
| Option | What It Displays |
|---|---|
| Show superclasses | Generalization relationships to ancestors. |
| Show subclasses | Generalization relationships to descendants. |
| Show suppliers (interface) | Realization relationships to suppliers and interfaces. |
| Show clients | Realization relationships to implementing classes. |
| Show navigable classes | Associations to navigable target classes. |
| Show non-navigable classes | Associations to non-navigable source classes. |
| Show containers | Containment relationships to parent containers. |
| Show residents | Containment relationships to resident elements. |
| Show as containment relationships | Containment relationships represented as connectors. |
Presentation Options: Controlling Class Diagram Appearance
The Presentation Options tab controls how class attributes, operations, and types are displayed in the generated UML class diagram.
These settings allow users to choose between a detailed diagram that exposes more implementation information and a simplified diagram that focuses on the most important structural details.
Attribute Options
Attribute options determine how class attributes are displayed.
- Show all: Displays all attributes of the classes in the new diagram.
- Public only: Displays only public attributes.
- Hide all: Hides all attributes.
- Initial values: Displays initial values of class attributes.
Use Show all when you need a comprehensive view of class properties. Use Public only when preparing a diagram that focuses on publicly accessible class members. Hide all is useful when the diagram should emphasize class relationships rather than internal attributes.
Operation Options
Operation options determine how class operations are displayed.
- Show all: Displays all operations of the classes in the new diagram.
- Public only: Displays only public operations.
- Hide all: Hides all operations.
- Initial values: Displays initial values of operations.
These settings help control the amount of behavioral information visible in a class diagram.
Type Options
Type options determine how type names are presented in the generated class diagram.
- Fully-qualified: Displays the fully qualified name of types.
- Name only: Displays only the type name.
- Relative: Displays type names relative to the current class.
Fully-qualified names provide more contextual information, which can be helpful when working with complex projects containing types from different namespaces or packages. Name only provides a shorter presentation, while Relative displays the type name in relation to the current class.
Presentation Options Summary
| Setting | Available Choices | Purpose |
|---|---|---|
| Attribute options | Show all, Public only, Hide all, Initial values | Control attribute visibility and initial-value presentation. |
| Operation options | Show all, Public only, Hide all, Initial values | Control operation visibility and initial-value presentation. |
| Type options | Fully-qualified, Name only, Relative | Control the level of detail in type names. |
How to Reverse Objective-C Source Code into UML Class Models
Follow these steps to reverse engineer Objective-C source code using Visual Paradigm Desktop.
Open Instant Reverse
- Open your project in Visual Paradigm Desktop.
- Select Tools > Code > Instant Reverse… from the toolbar.
- Wait for the Instant Reverse window to appear.
Select Objective-C as the Language
- Locate the Language field in the Instant Reverse window.
- Select Objective-C.
This identifies the source code as Objective-C and configures the reverse engineering process accordingly.
Specify the Source Code Location
- Locate the Path field.
- Specify the path to the Objective-C source file or the folder containing the source files.
- If necessary, configure the Exclude setting to omit files from the reverse engineering process.
- Choose the appropriate Encoding for the source files.
Configure the Update Type
- Locate the Update Type setting.
- Choose Update duplicate class(es) to update existing duplicate classes using the source code.
- Alternatively, choose Replace duplicate class(es) to discard existing duplicate classes and replace them with the reversed classes.
Choose the option that best matches how you want existing model elements to be handled.
Choose the Destination Model
- Locate the Reverse to Model row.
- Click the ellipsis button at the end of the row.
- In the Select Parent Model window, select an existing model.
- Alternatively, click New Model to create a new model for the reversed classes.
- Click OK to confirm the selection.
Start Reverse Engineering
- Review the language, source path, exclusion, encoding, update type, and destination model settings.
- Configure Advanced Options if required.
- Click OK to start the reverse engineering process.
- Wait for Visual Paradigm to finish processing the source code.
Visual Paradigm creates UML class model elements based on the Objective-C source code.
Form a UML Class Diagram
- After the reverse engineering process finishes, the Instant Reverse Form Diagram window appears.
- In the Select Class tab, select the classes you want to include in the diagram.
- Open the Form Diagram Options tab and configure the relationships to display.
- Open the Presentation Options tab and configure the visibility of attributes, operations, and types.
- Click OK to create the class diagram.
If you do not want to create a diagram immediately, click Cancel. This does not remove the reversed classes. You can find them in Model Explorer or Class Repository and form a diagram later.
Selecting Classes for the Generated UML Diagram
The Select Class tab in the Instant Reverse Form Diagram window displays a tree containing the classes discovered during reverse engineering.
Users must select at least one class before Visual Paradigm can form a class diagram.
The class selection determines the initial scope of the generated diagram. The Form Diagram Options can then expand the diagram to include related classes, such as superclasses, subclasses, suppliers, clients, and associated classes.
Why Should You Avoid Selecting Too Many Classes?
Forming a diagram with a large number of classes and relationships can be a computationally expensive operation. It may also produce a diagram that is difficult to read because of the number of shapes and connectors.
For large Objective-C applications, consider selecting a smaller group of related classes first. You can create additional diagrams for other parts of the system rather than placing the entire codebase into one diagram.
What Happens After Instant Reverse?
After a successful Objective-C reverse engineering operation, the discovered classes become UML model elements within the Visual Paradigm project.
There are two ways to proceed:
Form a Class Diagram Immediately
Use the Instant Reverse Form Diagram window to select classes, configure relationship visibility, configure presentation settings, and create a UML class diagram.
Explore the Reversed Classes Later
If you cancel the diagram formation window, the reversed classes are still available in:
- Model Explorer: Browse the model elements within the project structure.
- Class Repository: Find and access the reversed class elements.
You can use these model elements to form class diagrams manually at a later time.
Practical Workflows and Use Cases
Documenting a Legacy Objective-C Application
Goal: Reconstruct the structural documentation of an existing Objective-C application.
- Open the Visual Paradigm project in which you want to maintain the documentation.
- Open Tools > Code > Instant Reverse.
- Select Objective-C as the language.
- Specify the folder containing the legacy application’s source files.
- Choose the appropriate Update Type.
- Set Reverse to Model to a dedicated model, such as Old.
- Start reverse engineering.
- Select relevant classes in the diagram formation window.
- Configure the relationship and presentation options.
- Create the UML class diagram.
Result: The existing application is represented by UML class models and diagrams that can be used for further analysis and documentation.
Updating an Existing UML Model
Goal: Refresh an existing UML class model using the current Objective-C source code.
- Open the project containing the existing UML model.
- Start Instant Reverse and select Objective-C.
- Specify the updated source file or source folder.
- Choose Update duplicate class(es) to update existing duplicate classes using source information.
- Set the appropriate Reverse to Model destination.
- Start the reverse engineering operation.
- Review the resulting model elements and create diagrams as necessary.
Result: Existing model classes can be updated using information from the source code.
Replacing Existing Classes with Source Code
Goal: Replace existing duplicate class elements with classes reconstructed from the Objective-C source.
- Open the project containing the existing model elements.
- Start Instant Reverse and select Objective-C.
- Specify the relevant source files or folder.
- Choose Replace duplicate class(es).
- Set the destination model.
- Start reverse engineering.
- Form a class diagram if required.
Result: Existing duplicate classes are discarded and replaced by classes reversed from the source code.
Analyzing an Objective-C Library
Goal: Understand the structural organization of an existing Objective-C library before extending or integrating it.
- Specify the source location of the library.
- Reverse the source code using Objective-C as the selected language.
- Organize the resulting classes under an appropriate model.
- Select the classes relevant to the library functionality being investigated.
- Enable the relationship options needed to understand inheritance, interface realization, associations, and containment.
- Create one or more UML class diagrams.
Result: Developers obtain a visual representation of the library’s class structure that can support further investigation and design work.
Best Practices for Objective-C Reverse Engineering
Start with a Clearly Defined Source Scope
Before reversing code, identify which source files or directories are relevant to the intended analysis. Avoid including unrelated source files when they do not contribute to the model you want to create.
Choose the Update Type Carefully
Use Update duplicate class(es) when the intention is to update existing classes using source information. Use Replace duplicate class(es) when existing duplicate classes should be discarded and replaced. Consider existing model content before choosing the replacement option.
Organize Reversed Classes into Dedicated Models
Use Reverse to Model to keep different codebases, prototypes, or legacy implementations organized. This is especially helpful when multiple source versions are being analyzed within one Visual Paradigm project.
Choose Relationships Based on the Analysis Goal
Do not automatically enable every relationship option for every diagram. Select the relationships that help answer the question being investigated.
- For inheritance analysis, enable Show superclasses and Show subclasses.
- For interface implementation analysis, enable Show suppliers (interface) and Show clients.
- For dependency and association analysis, enable Show navigable classes and Show non-navigable classes.
- For package organization, enable Show containers and Show residents.
Control Diagram Complexity
Large class diagrams can become difficult to understand. Select a manageable number of classes and use multiple diagrams to document different areas of the application.
Use Presentation Options to Match the Audience
For detailed technical analysis, Show all attributes and Show all operations can expose more class information. For high-level architectural documentation, Public only or Hide all can produce a cleaner diagram.
Verify the Source Encoding
When source files contain localized text or special characters, make sure the Encoding setting matches the actual encoding used by the files.
Important Considerations and Limitations
Instant Reverse Is a Code-to-Model Operation
Instant Code Reverse converts source code into UML class models. It is not the same as generating Objective-C source code from UML models.
Reverse Engineering Does Not Automatically Create Every Diagram Type
The documented Objective-C Instant Reverse workflow creates UML class models and allows users to form UML class diagrams. It should not be interpreted as an automatic generator for sequence diagrams, activity diagrams, or other UML diagram types.
Model Creation and Diagram Creation Are Separate
Successfully reversing source code does not require users to create a class diagram immediately. The reversed classes remain accessible in Model Explorer or Class Repository even when diagram formation is cancelled.
Diagram Formation Can Be Resource-Intensive
Creating diagrams with too many selected classes can be computationally expensive. For large projects, divide the analysis into smaller groups of related classes.
Duplicate Class Handling Requires Care
The Update duplicate class(es) and Replace duplicate class(es) options have different effects on existing model elements. Select the appropriate option based on whether existing classes should be updated or replaced.
Reversed Models Should Be Reviewed
Reverse engineering provides a structural representation derived from source code. Developers should review the resulting model and diagrams to ensure they accurately communicate the architecture and meet the intended documentation requirements.
Troubleshooting Objective-C Instant Reverse
Objective-C Source Files Are Not Reversed as Expected
Check that Objective-C is selected in the Language field and that the specified Path points to the intended source file or source folder. Also verify that the source files are accessible.
Some Source Files Should Not Be Included
Use the Exclude setting to specify files that should be omitted from the reverse engineering process.
Existing Classes Are Not Being Handled as Expected
Review the Update Type setting. Update duplicate class(es) updates existing duplicate classes using source information, while Replace duplicate class(es) discards existing duplicate classes and replaces them.
Special Characters Appear Incorrectly
Check the Encoding setting and make sure it corresponds to the actual character encoding of the Objective-C source files.
The Resulting Class Diagram Is Too Large
Reduce the number of selected classes in the Select Class tab. Also review the Form Diagram Options and disable relationships that are not necessary for the current diagram.
For complex applications, create several smaller diagrams instead of one diagram containing the entire class structure.
No Class Diagram Appears After Reverse Engineering
Check whether the Instant Reverse Form Diagram window was cancelled. Cancelling this window does not remove the reversed classes. Look for the classes in Model Explorer or Class Repository and create a diagram later.
The Diagram Does Not Show All Related Classes
Review the Form Diagram Options. Superclasses, subclasses, suppliers, clients, navigable classes, non-navigable classes, containers, and residents have separate display settings. Enable the relevant options according to the relationships you want to visualize.
The Diagram Contains Too Much Information
Review the Presentation Options. Use Public only or Hide all for attributes and operations when a simplified diagram is preferred. Consider changing Type Options to Name only to reduce the amount of type information displayed.
Instant Reverse vs. Instant Generator for Objective-C
Visual Paradigm provides both reverse engineering and code generation capabilities. Although they are related to code engineering, they perform opposite operations.
| Aspect | Instant Reverse | Instant Generator |
|---|---|---|
| Direction | Objective-C source code to UML models. | UML models to Objective-C source code. |
| Input | Existing Objective-C source files. | Existing UML class models. |
| Output | UML class model elements and optionally class diagrams. | Objective-C source code. |
| Primary purpose | Understand and document existing code. | Generate implementation code from a model. |
| Typical use case | Analyzing an existing application or library. | Implementing a modeled software design. |
Choose Instant Reverse when you already have Objective-C source code and want to reconstruct its UML class structure. Choose Instant Generator when you have UML class models and want to generate Objective-C source code from them.
Instant Reverse should also be distinguished from continuous round-trip synchronization. The documented Objective-C workflow is a reverse engineering operation that imports source code structures into a model; it should not be assumed to provide automatic, continuous synchronization between the source code and UML model.
Frequently Asked Questions About Instant Code Reverse for Objective-C
What is Instant Code Reverse for Objective-C?
Instant Code Reverse for Objective-C is a Visual Paradigm Desktop feature that analyzes Objective-C source code and converts the discovered structures into UML class models. Users can then select the reversed classes and create UML class diagrams.
Can Visual Paradigm generate UML class diagrams from Objective-C source code?
Yes. Visual Paradigm can reverse Objective-C source files into UML class models and provides an Instant Reverse Form Diagram window for selecting classes and creating UML class diagrams.
How do I reverse Objective-C source code in Visual Paradigm?
Select Tools > Code > Instant Reverse, choose Objective-C as the language, specify the source file or folder, configure the reverse engineering settings, and click OK. After processing, select the classes and diagram options in the Instant Reverse Form Diagram window.
Which Visual Paradigm editions support Objective-C reverse engineering?
According to the published edition comparison, Objective-C code generation and reverse engineering are supported in Enterprise, Professional, and Standard editions. Modeler and Community are not listed as supporting this capability.
Can I reverse a single Objective-C source file?
Yes. The Path setting accepts a source file or a folder containing source files. You can specify an individual file when you only want to reverse a particular part of the codebase.
Can I reverse an entire Objective-C project?
You can specify the folder containing the relevant Objective-C source files. The reverse engineering process analyzes the source files within the specified scope. Use Exclude when certain files should be omitted.
What is the difference between Update duplicate class(es) and Replace duplicate class(es)?
Update duplicate class(es) updates existing duplicate classes using information from the source code. Replace duplicate class(es) discards existing duplicate classes and replaces them with classes reversed from the source code.
What does Reverse to Model do?
Reverse to Model specifies the parent model under which reversed classes are placed. Users can select an existing model or create a new model through the Select Parent Model window.
Can I reverse Objective-C code into a specific model?
Yes. Click the ellipsis button beside Reverse to Model, select an existing parent model or create a new one, and confirm the selection before starting reverse engineering.
What is the Instant Reverse Form Diagram window?
It is the window displayed after reverse engineering that allows users to select reversed classes and configure how they should be presented in a UML class diagram.
Do I have to create a class diagram immediately after reversing Objective-C code?
No. You can cancel the Instant Reverse Form Diagram window. The reversed classes remain available in Model Explorer or Class Repository and can be used to create diagrams later.
What is the Select Class tab used for?
The Select Class tab displays a tree of the classes discovered during reverse engineering. Users select at least one class to include in the new UML class diagram.
What does Show superclasses do?
Show superclasses includes generalization relationships between selected classes and their ancestors in the generated diagram.
What does Show subclasses do?
Show subclasses includes generalization relationships between selected classes and their descendants in the generated diagram.
What does Show suppliers (interface) do?
It displays realization relationships between selected elements and their suppliers, such as interfaces.
What does Show clients do?
It displays realization relationships between selected elements and their clients, meaning classes that implement the relevant interfaces.
What is the difference between Show navigable classes and Show non-navigable classes?
Show navigable classes displays association relationships to navigable target classes. Show non-navigable classes displays association relationships to non-navigable source classes.
What is the difference between Show containers and Show residents?
Show containers displays the containment relationships between selected elements and their parent containers, such as packages. Show residents displays the containment relationships involving resident elements contained within those containers.
What are the three Show residents options?
Single level only displays one level of residents. All levels in single diagram displays all levels in one diagram. All levels in sub diagrams displays all levels across multiple diagrams, with each diagram showing one level.
What does Show as containment relationships do?
It displays containment relationships as connectors in the generated class diagram.
Can I hide attributes in the generated class diagram?
Yes. In Presentation Options, set Attribute options to Hide all. You can also select Show all, Public only, or Initial values.
Can I show only public operations?
Yes. Set Operation options to Public only in the Presentation Options tab.
How can I display fully qualified type names?
In Presentation Options, set Type options to Fully-qualified. Other available choices are Name only and Relative.
Why does Visual Paradigm recommend selecting fewer classes?
Forming a class diagram with too many classes can be computationally expensive and can produce a diagram that is difficult to understand. Selecting related classes and creating multiple diagrams is often more manageable.
Does cancelling the diagram formation window delete reversed classes?
No. Cancelling only closes the diagram formation process. The reversed classes remain in the project and can be accessed through Model Explorer or Class Repository.
Can Instant Reverse generate Objective-C source code?
No. Instant Reverse converts Objective-C source code into UML class models. To generate Objective-C source code from UML models, use the corresponding Objective-C Instant Generator feature.
Does Instant Reverse automatically synchronize source code and UML models?
No. Instant Reverse is a code-to-model reverse engineering operation. It should not be confused with continuous round-trip synchronization.
Can I use Instant Reverse to generate sequence diagrams from Objective-C?
The documented Objective-C Instant Reverse workflow generates UML class models and supports the formation of class diagrams. It does not document automatic sequence diagram generation from Objective-C source code.
Can I use Instant Reverse to analyze a third-party Objective-C library?
Yes, provided you have access to the relevant Objective-C source files. You can reverse the source code into UML class models and create diagrams to examine the library’s structure.
Where can I find the reversed classes if I did not create a diagram?
Open Model Explorer or Class Repository in Visual Paradigm and locate the model elements created by the reverse engineering operation.
What should I do if the reversed source code contains incorrectly displayed characters?
Check the Encoding setting in the Instant Reverse window and select the encoding that matches the original Objective-C source files.
Summary
Visual Paradigm’s Instant Code Reverse for Objective-C provides a practical way to transform existing Objective-C source code into UML class models. By automatically reconstructing class structures, it helps developers understand existing applications, document legacy systems, review software architecture, and investigate third-party libraries.
Its configurable reverse engineering settings provide control over source selection, file exclusions, character encoding, duplicate class handling, and model organization. After reversing, users can select classes and configure relationship and presentation options to create UML class diagrams suited to their analysis requirements.
Whether you are documenting an existing application, updating a UML model, or investigating an unfamiliar Objective-C codebase, Instant Code Reverse provides a bridge between source code and visual software modeling in Visual Paradigm Desktop.
VISUAL PARADIGM