FolderItem.MacCreator - safe to change?

I have inherited an old Xojo project with this attribute, which is deprecated (FolderItem.MacCreator )
The code is simply
f.MacCreator = ""

What was the purpose of this library? Is there older xojo documentation in existence which may explain it?
Finally, is there a suggested replacement?

I’m no Mac expert but I believe Uniform_Type_Identifiers is what you want to look into

2 Likes

setting it to empty is non-sense. You may just remove that line.
MacCreator used to be a 4 character code to tell which app made a file.

2 Likes

This is in a Save As partcode: the saved file must have an Extension and add it to its name. Check the Open code and match t with the Fie Extension.

The old documentation is not available from Xojo servers (you can ask for the old pdf); a search in the internet certainly will gives you link(s) to download it.

1 Like

MacCreator has been obsolete for many years. You can simple delete that line of code. Not that assigning an empty string had ever made any sense as the creator code was strictly 4 bytes.

Forum for Xojo Programming Language and IDE. Copyright © 2021 Xojo, Inc.