org.robovm.ibxcode.pbxproj.PBXNode Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of robovm-ibxcode Show documentation
Show all versions of robovm-ibxcode Show documentation
The RoboVM doesn't provide any functionality to edit xib/storyboards at iOS side.
All changes to be done in Interface Builder. To simplify it simple xcode project is
generated that contains all classes that are exported by Custom class. These classes
expose IBOutlet/IBOutletCollection/IBAction/IBObservable to easy attach outlet to
corresponding field/setter in class
The newest version!
package org.robovm.ibxcode.pbxproj;
public class PBXNode {
private static long uuidCounter = 0x10000000000000L;
protected final String uuid;
protected final PBXProject project;
protected final String name;
public PBXNode(PBXProject project, String name) {
this.project = project;
this.name = name;
this.uuid = String.format("AB%020x", uuidCounter) ;
uuidCounter += 1;
}
public PBXProject getProject() {
return project;
}
public String getUuid() {
return uuid;
}
public String getName() {
return name;
}
public String uuidWithComment() {
return this.uuid + " /* " + this.name + " */";
}
public void dump(PrintStreamTab ps) {
}
}