ResourceForkMBS class

Online Documentation   -   Statistics   -   FAQ   -   Plugin Parts (All, Dependencies)   -   Class hierarchy

New in Version 22.2 22.3 22.4 22.5 23.0 23.1 23.2 23.3 23.4 23.5 24.0 24.1

The list of the   topics,   classes,   interfaces,   controls,   modules,   global methods by category,   global methods by name,   screenshots,   licenses   and   examples.

Platforms to show: All Mac Windows Linux Cross-Platform

ResourceForkMBS class

Type Topic Plugin Version macOS Windows Linux iOS Targets
class Files MBS MacClassic Plugin 13.0 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
This class is for reading/writing resource forks on Mac.
Example
dim f as FolderItem = SpecialFolder.Desktop.Child("test.rsrc")
dim r as ResourceForkMBS = ResourceForkMBS.Create(f)

r.AddResource "Hello World", "TEXT", 128, "just a test"

It is a replacement for ResourceFork class in Xojo which has been removed for Cocoa and Console targets in Xojo version 2012r2.

Resourcefork methods are deprecated by Apple, but work in 32 and 64-bit applications as of MBS Plugin version 19.5.
This is an abstract class. You can't create an instance, but you can get one from various plugin functions.

This class has no sub classes.

Some examples using this class:

Blog Entries

Release notes


The items on this page are in the following plugins: MBS MacClassic Plugin.


ResolutionMBS   -   ResStreamMBS


💬 Ask a question or report a problem