Viewing Interface in XCode 12.3
Old apps may be using .xib (or .nib, if it's too old) instead of .storyboard.I cannot display the interface in XCode.
Or the app may be constructing UI by code.
If you cannot find any in a buildable project, no way. The project may not have a visual interface definitions like storyboard or xib.How can I display the interface in this project?
CocoaSlideShow was from Github.
I downloaded a zip of the CocoaSlideShow code from GitHub. The first time I viewed it with XCode (12.3.(12C33)) I could see the interface. After closing and re-opening I could not see it.
I can find one CocoaSlideShow on Github, and it has only xibs.CocoaSlideShow was from Github.
Unless you accidentally deleted the xibs, you may be mistaking where to find it.I could see the interface. After closing and re-opening I could not see it.
The modification I am trying to do is to add a pad region below the image, write some text entered in a text box in the pad region when a button is clicked. If I try and determine how to do this by setting a breakpoint where the image EXIF metadata is set, the call stack shown in the left pane contains what looks like assembler (Framework code) in the routine which calls the one in which the breakpoint is set. If I add a button, how can I make its click event execute the code to add padding to the image and write in it?
OK, please clarify:When I click on same file in the Modified code I don't see it and the message Unable to load Revisions appears
You can find MainMenu.xib in your project ( after modified).
You cannot open or edit the MainMenu.xib in Xcode
the message Unable to load Revisions appears <- ??? Where and when? When you try to open it? Or when build it?
Please do not ask two things in one thread.how can I make its click event execute the code to add padding to the image and write in it?
I am re-entering the project modifications to the downloaded code and so far the interface is visible when clicking MainMenu.xib.
Please confirm, all you done is click on it, right?When I click on it
You have not written in any place that you Build or Run your project. How do you confirm the project builds and runs OK?the project builds and runs OK.
Please write everything you have done in your project.
Have you never touched Comparison button (⇄)?
Seems you can work on it. Please remember everything you have done it, when you find something wrong in your project.I am re-entering the project modifications to the downloaded code and so far the interface is visible when clicking MainMenu.xib.