Xcode 4.3.2 - missing iOS controls - xcode

I think I'm missing some controls in the tool window in Xcode 4.3.2.
I created a new iOS 5 project, and my list of controls looks like this:
I noticed that I got more controls when I opened a sample project downloaded from the Apple dev site.
Then I tried to open my own project, which started out showing a code file. Then I got a huge list. But as soon as I view the storyboard, or a Xib file it reverts back to the shorter list.
In the huge list of controls, some of them doesn't look iOS-ish. I suspect that it loads the whole lot Xcode has to offer across project types (both iOS, Mac). Looks like this:
Do I need to manually load some frameworks, or similar into my project in order to get more controls?

The first screenshot shows the CocoaTouch controls, the second one shows standard Cocoa Controls. Not all of the latter ones are available on iOS/CocoaTouch. You can change the filter with the drop-down menu directly above the list ("Objects" in the first screenshot, "Object Library" in the second one)

Related

Connecting a Label/Button from StoryBoard to ContentView in Xcode 13

Options Window
How can I connect a label, button, or other element from my Storyboard to my coding file in Xcode 13? When I first loaded Xcode, there was no storyboard file added to my project. I had to add one myself. Then, when I created labels and buttons on the Storyboard, it wouldn't allow me to connect to the coding file the way I used to (clicking Ctrl and dragging the label/button to the code). I feel like I'm missing something simple but I can't find any solutions online. Thanks in advance.
You have selected a Multiplatform template. This is only supported by SwiftUI.
Select a single platform template (iOS, macOS etc)

"Auto Layout before OS X 10.7"

I have an app in the app store, FractalWorks, which is based on a very old code-base. It's a big app, with quite a few screens. It was created in Objective-C before auto-synthesized properties were a thing, to give you an idea of how long ago it was created.
I wrote the app when I had a full-time gig as an independent software developer. I've since taken a day job, and support my apps in my spare time.
It still sells fairly well, and I recently used to add a section to the Wikipedia article on the Mandelbrot set on 3D images: https://en.wikipedia.org/wiki/Mandelbrot_set#3D_images_of_Mandelbrot_and_Julia_sets
I'm fluent in Auto-Layout now, but haven't taken the time to update the app's XIB files from "struts and springs" style to Auto-Layout - nor do I want to invest the time to do so if I can possibly help it.
I want to add a minor enhancement to the app that involves adding some UI elements and making one of the windows slightly taller. The minute I try to use Interface Builder to edit my XIB, it apparently silently changes it to Auto-Layout, and then complains about "Auto Layout before OS X 10.7". (It was released to the app store for OS X version 10.4, if memory serves, and I've moved the OS version up to the lowest version I could get away with in order to support legacy customers. It currently supports ≥10.6. The original, pre app-store version used even older OS versions.)
Googling this error suggests I use the file inspector on my XIB file to un-check a "Use AutoLayout" checkbox, but I don't see any such checkbox.
What am I missing?
If I use Xcode's code review button to compare the XIB file before and after editing it, various "tool version" values are changed, as well as it gaining a setting useAutolayout="YES". Editing that to read useAutolayout="NO" does not solve the problem.
All the credit goes to matt and his comment.
1. In the Navigator (left panel) go to issue navigator and click on the error.
2. In the Inspectors panel (right panel) the Size inspector will be automatically selected. Switch Layout from Automatic to Translates Mask Into Constraints.
Update: It's called Autoresizing Mask now.
3. Repeat for every occurrence of this error.
You may end up with an error not in the Illegal Configuration group like the following which opens the All Messages view in the middle and doesn't open the Size inspector.
This is a compile time error, just build/run your app again.
And also from the previously mentioned comment:
Be careful not to make any constraints, as that will cause an incoherent situation.
If you have multiple auto layout errors, which in all likelihood you will have, select all the controls in a window and perform the operation once rather than for each individual control. Repeat for each window.

Is there a way to open and view the storyboard in two different windows on Xcode 7?

I'm using Xcode 7.3.1 I would like to have the same storyboard open in two side-by-side windows. I tried using the Assistant Editor to manually open the same storyboard and that works fine but when I click on one side or the other the storyboard in the other window disappears.
The reason I'm trying to do this is I want to replicate parts of the storyboard to another part and it's annoying to keep navigating all over the place and trying to remember what it looked like.
No. Storyboard is a XML file, that save changes not as often as to work with it from two screens. It can lead to mistakes. However you can temporary copy UIViewControllers and place them wherever you need, replicate parts and delete them.

I want to make sure I added icons correctly in X-Code4.5

I am developing an iphone only app in X-Code 4.5 and I am in the process of adding in my icons. I was not able to find specific instructions for adding in icon files specifically using X-Code 4.5 so I followed these instructions which call for editing the info.plist which I am assuming is the "info" tab when view the target. Is that correct?
I attached a screenshot of the seven icons I included in the info/plist under icon Files. Please let me know if I did it correctly.
editing the info.plist which I am assuming is the "info" tab when view the target. Is that correct?
Yes, it is.
The easiest way to verify that you added the icons correctly, is to run the app on your device or in the simulator. If the icon shows app (instead of the default white icon) it worked.
That being said, your config looks fine to me.

Xcode 4.2 and new Tabbed Application Project

Can anyone help with Xcode 4.2 and the new tabbed application project? With Xcode 4.2, i create a new tabbed bar application, and it works as desired. However, it seems that instead of creating a new window and main.xib file that contains the tabviewcontroller, it sets everything in code within the appDelegate.
its easy to work with the tabbarcontroller via code and i have no problems setting up other tab items, however, i feel that my iOS development skills (they are new) are missing something as i would NOT even know if it was still possible to work with the tabviewcontroller graphically now in the way this project template has been setup.
Is there a way to work with the tabviewcontroller graphically? would i have to create a new main.xib file and link everything up to that? i'm still not strong enough in my skills to work out all the minute details but if that is the path that people suggest, i will look into it and try to figure it out.
I only want to work this out so i can fully understand whats going on now with Xcode 4.2, I have no unrelenting desire to only work with the tab bar controller graphically, but am curios as to why i cannot find it (or if i should)... just trying to get my head around how these things should be working.
You should use the Single-View Application template.
HEre you can add graphically that control

Resources