MCPcopy Create free account
hub / github.com/Card-Forge/forge / hasContents

Method hasContents

forge-gui-ios/src/forge/ios/Main.java:46–49  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

44 //special clipboard that works on iOS
45 private static final class IOSClipboard implements com.badlogic.gdx.utils.Clipboard {
46 @Override
47 public boolean hasContents() {
48 return UIPasteboard.getGeneralPasteboard().toString().length() > 0;
49 }
50
51 @Override
52 public String getContents() {

Callers 1

keyUpMethod · 0.45

Calls 2

lengthMethod · 0.80
toStringMethod · 0.45

Tested by

no test coverage detected