Post

Replies

Boosts

Views

Activity

Reply to Can I download updates for Xcode?
Go to the following area of Apple's developer website: Apple's Xcode Resources page - https://developer.apple.com/xcode/resources/ The Additional Downloads section has links for beta versions and older versions of Xcode. The site Xcode Releases (xcodereleases.com) also has download links for every Xcode version. The download links are to Apple's servers.
Oct ’20
Reply to AppKit Document based app, cannot open document
If you are not the creator of the abc file type, you should not be creating the UTI com.davidebenini.abc for the file type. An existing file type should have its own UTI already. You should create a new UTI like com.davidebenini.abc only for file types that you create. If the abc file format is a plain text file format, shouldn't it conform to a plain text UTI, public.plain-text, instead of public.data? Is your NSDocument subclass called Document? Those are the only possible things I can see wrong with your info.plist file.
Topic: UI Frameworks SubTopic: AppKit Tags:
Oct ’20
Reply to ld: framework not found
Third party frameworks should be installed in /Library/Frameworks. The System folder is for Apple's frameworks. How are you adding the framework to the project? Is the framework in the Frameworks, Libraries, and Embedded Content section of your app target? If not, what happens when you click the Add button and add the framework that way?
Oct ’20
Reply to Unexpected behavior with Xcode 12 split view Controller?
A split view has multiple view controllers: one for the split view and one for each split view item. My guess is one of the other view controllers is getting the message to change the background color. Which view controller has the button that triggers the IBAction? If you want the whole window's background color to change, you should put the IBAction to change the color in the split view controller. Then you can go through each child view controller and change the view's background color.
Sep ’20
Reply to Xcode, git, and gitignore
In Xcode's Source Control preferences, click the Git button. There is an Ignored Files list where you can add files to ignore. One thing to keep in mind is if git is tracking a file before you add files to ignore, git will keep tracking the file. You will have to temporarily move the file out of the .git folder (This basically involves moving the file out of the project folder), commit to git, then move the file back.
Sep ’20