xib2coder parses a XIB file and generates Objective-C NSCoding category implementations for the custom classes contained in the archive. The generated categories can be added beside existing class implementations without replacing those classes. The goal is to make it easier to produce accurate code for GNUstep while keeping the tool buildable on both GNUstep under Linux and macOS.
On macOS with Xcode:
xcodebuild -project xib2coder.xcodeproj -target xib2coderOn GNUstep:
makeIf your GNUstep environment is not already loaded, source the GNUstep make environment first, for example:
. /usr/share/GNUstep/Makefiles/GNUstep.shxib2coder path/to/file.xibFor each custom class in the XIB, xib2coder writes a category implementation beside the input XIB using the form:
ClassName+XIB2CoderNSCoding.m