mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-12-03 19:44:22 +00:00
Tests: Remove ThemeKitchenSinkTest
The controls kitchen sink test shows the same controls in more states, with working behaviour, and the integration applications cover cib loading. This application adds nothing of its own and is superfluous.
This commit is contained in:
1 parent
d0e6d094c9
commit
bd79633fe2
8 files changed
-1678
No files matched your search
@@ -1,40 +0,0 @@
|
||||
/*
|
||||
* AppController.j
|
||||
* ThemeKitchenSink
|
||||
*
|
||||
* Created by Alexander Ljungberg on May 11, 2014.
|
||||
* Copyright 2014, SlevenBits, Ltd. All rights reserved.
|
||||
*/
|
||||
|
||||
@import <Foundation/Foundation.j>
|
||||
@import <AppKit/AppKit.j>
|
||||
|
||||
|
||||
@implementation AppController : CPObject
|
||||
{
|
||||
@outlet CPWindow window1;
|
||||
@outlet CPWindow window2;
|
||||
@outlet CPTableView tableView;
|
||||
@outlet CPOutlineView outlineView;
|
||||
@outlet CPTokenField tokenField;
|
||||
@outlet CPArrayController arrayController1;
|
||||
}
|
||||
|
||||
- (void)applicationDidFinishLaunching:(CPNotification)aNotification
|
||||
{
|
||||
// This is called when the application is done loading.
|
||||
}
|
||||
|
||||
- (void)awakeFromCib
|
||||
{
|
||||
// This is called when the cib is done loading.
|
||||
// You can implement this method on any object instantiated from a Cib.
|
||||
// It's a useful hook for setting up current UI values, and other things.
|
||||
[arrayController1 setContent:@[
|
||||
@{'animal': 'cat', 'legs': 4},
|
||||
@{'animal': 'duck', 'legs': 2},
|
||||
@{'animal': 'centipede', 'legs': 100},
|
||||
]];
|
||||
}
|
||||
|
||||
@end
|
||||
@@ -1,16 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>Main cib file base name</key>
|
||||
<string>MainMenu.cib</string>
|
||||
<key>CPBundleName</key>
|
||||
<string>ThemeKitchenSink</string>
|
||||
<key>CPDefaultTheme</key>
|
||||
<string>Aristo3</string>
|
||||
<key>CPBundleVersion</key>
|
||||
<string>1.0</string>
|
||||
<key>CPHumanReadableCopyright</key>
|
||||
<string>Copyright © 2014, SlevenBits, Ltd. All rights reserved.</string>
|
||||
</dict>
|
||||
</plist>
|
||||
@@ -1,245 +0,0 @@
|
||||
/*
|
||||
* Jakefile
|
||||
* ThemeKitchenSinkTest
|
||||
*
|
||||
* Created by Alexander Ljungberg on May 11, 2014.
|
||||
* Copyright 2014, SlevenBits, Ltd. All rights reserved.
|
||||
*/
|
||||
|
||||
var ENV = process.env,
|
||||
cp = require("child_process"),
|
||||
fs = require("fs"),
|
||||
path = require("path"),
|
||||
task = JAKE.task,
|
||||
FileList = JAKE.FileList,
|
||||
app = CAPPUCCINO.Jake.applicationtask.app,
|
||||
configuration = ENV["CONFIG"] || ENV["CONFIGURATION"] || ENV["c"] || "Debug",
|
||||
OS = require("os"),
|
||||
projectName = "ThemeKitchenSinkTest";
|
||||
|
||||
app (projectName, function(task)
|
||||
{
|
||||
ENV["OBJJ_INCLUDE_PATHS"] = "Frameworks";
|
||||
|
||||
if (configuration === "Debug")
|
||||
ENV["OBJJ_INCLUDE_PATHS"] = path.join(ENV["OBJJ_INCLUDE_PATHS"], configuration);
|
||||
|
||||
task.setBuildIntermediatesPath(path.join("Build", "ThemeKitchenSinkTest.build", configuration));
|
||||
task.setBuildPath(path.join("Build", configuration));
|
||||
|
||||
task.setProductName("ThemeKitchenSinkTest");
|
||||
task.setIdentifier("com.yourcompany.ThemeKitchenSinkTest");
|
||||
task.setVersion("1.0");
|
||||
task.setAuthor("SlevenBits, Ltd.");
|
||||
task.setEmail("feedback @nospam@ yourcompany.com");
|
||||
task.setSummary("ThemeKitchenSinkTest");
|
||||
task.setSources(new FileList("**/*.j").exclude(path.join("Build", "**")).exclude(path.join("Frameworks", "Source", "**")));
|
||||
task.setResources(new FileList("Resources/**"));
|
||||
task.setIndexFilePath("index.html");
|
||||
task.setInfoPlistPath("Info.plist");
|
||||
|
||||
if (configuration === "Debug")
|
||||
task.setCompilerFlags("-DDEBUG -g");
|
||||
else
|
||||
task.setCompilerFlags("-O");
|
||||
});
|
||||
|
||||
task ("default", [projectName], function()
|
||||
{
|
||||
printResults(configuration);
|
||||
});
|
||||
|
||||
task ("build", ["default"], function()
|
||||
{
|
||||
updateApplicationSize();
|
||||
});
|
||||
|
||||
task ("debug", function()
|
||||
{
|
||||
ENV["CONFIGURATION"] = "Debug";
|
||||
JAKE.subjake(["."], "build", ENV);
|
||||
});
|
||||
|
||||
task ("release", function()
|
||||
{
|
||||
ENV["CONFIGURATION"] = "Release";
|
||||
JAKE.subjake(["."], "build", ENV);
|
||||
});
|
||||
|
||||
task ("run", ["debug"], function()
|
||||
{
|
||||
cp.execSync(["open", path.join("Build", "Debug", projectName, "index.html")].join(" "), { stdio: "inherit" });
|
||||
});
|
||||
|
||||
task ("run-release", ["release"], function()
|
||||
{
|
||||
cp.execSync(["open", path.join("Build", "Release", projectName, "index.html")].join(" "), { stdio: "inherit" });
|
||||
});
|
||||
|
||||
task ("deploy", ["release"], function()
|
||||
{
|
||||
fs.mkdirSync(path.join("Build", "Deployment", projectName), { recursive: true });
|
||||
cp.execSync(["press", "-f", path.join("Build", "Release", projectName), path.join("Build", "Deployment", projectName)].join(" "), { stdio: "inherit" });
|
||||
printResults("Deployment")
|
||||
});
|
||||
|
||||
task ("desktop", ["release"], function()
|
||||
{
|
||||
fs.mkdirSync(path.join("Build", "Desktop", projectName), { recursive: true });
|
||||
require("@objj/nativehost").buildNativeHost(path.join("Build", "Release", projectName), path.join("Build", "Desktop", projectName, "ThemeKitchenSinkTest.app"));
|
||||
printResults("Desktop")
|
||||
});
|
||||
|
||||
task ("run-desktop", ["desktop"], function()
|
||||
{
|
||||
cp.execSync([path.join("Build", "Desktop", projectName, "ThemeKitchenSinkTest.app", "Contents", "MacOS", "NativeHost"), "-i"].join(" "), { stdio: "inherit" });
|
||||
});
|
||||
|
||||
function printResults(configuration)
|
||||
{
|
||||
console.log("----------------------------");
|
||||
console.log(configuration+" app built at path: "+path.join("Build", configuration, projectName));
|
||||
console.log("----------------------------");
|
||||
}
|
||||
|
||||
function updateApplicationSize()
|
||||
{
|
||||
console.log("Calculating application file sizes...");
|
||||
|
||||
var contents = fs.readFileSync(path.join("Build", ENV["CONFIGURATION"], projectName, "Info.plist"), { encoding: "utf8" }),
|
||||
format = CFPropertyList.sniffedFormatOfString(contents),
|
||||
plist = CFPropertyList.propertyListFromString(contents),
|
||||
totalBytes = {executable:0, data:0, mhtml:0};
|
||||
|
||||
// Get the size of all framework executables and sprite data
|
||||
var frameworksDir = "Frameworks";
|
||||
|
||||
if (ENV["CONFIGURATION"] === "Debug")
|
||||
frameworksDir = path.join(frameworksDir, "Debug");
|
||||
|
||||
var frameworks = fs.existsSync(frameworksDir) ? fs.readdirSync(frameworksDir) : [];
|
||||
|
||||
frameworks.forEach(function(framework)
|
||||
{
|
||||
if (framework !== "Source")
|
||||
addBundleFileSizes(path.join(frameworksDir, framework), totalBytes);
|
||||
});
|
||||
|
||||
// Read in the default theme name, and attempt to get its size
|
||||
var themeName = plist.valueForKey("CPDefaultTheme") || "Aristo2",
|
||||
themePath = nil;
|
||||
|
||||
if (themeName === "Aristo" || themeName === "Aristo2")
|
||||
themePath = path.join(frameworksDir, "AppKit", "Resources", themeName + ".blend");
|
||||
else
|
||||
themePath = path.join("Frameworks", "Resources", themeName + ".blend");
|
||||
|
||||
if (fs.existsSync(themePath) && fs.lstatSync(themePath).isDirectory())
|
||||
addBundleFileSizes(themePath, totalBytes);
|
||||
|
||||
// Add sizes for the app
|
||||
addBundleFileSizes(path.join("Build", ENV["CONFIGURATION"], projectName), totalBytes);
|
||||
|
||||
console.log("Executables: " + totalBytes.executable + ", sprite data: " + totalBytes.data + ", total: " + (totalBytes.executable + totalBytes.data));
|
||||
|
||||
var dict = new CFMutableDictionary();
|
||||
|
||||
dict.setValueForKey("executable", totalBytes.executable);
|
||||
dict.setValueForKey("data", totalBytes.data);
|
||||
dict.setValueForKey("mhtml", totalBytes.mhtml);
|
||||
|
||||
plist.setValueForKey("CPApplicationSize", dict);
|
||||
|
||||
fs.writeFileSync(path.join("Build", ENV["CONFIGURATION"], projectName, "Info.plist"), CFPropertyList.stringFromPropertyList(plist, format), { encoding: "utf8" });
|
||||
}
|
||||
|
||||
function addBundleFileSizes(bundlePath, totalBytes)
|
||||
{
|
||||
var bundleName = path.basename(bundlePath),
|
||||
environment = bundleName === "Foundation" ? "Objj" : "Browser",
|
||||
bundlePath = path.join(bundlePath, environment + ".environment");
|
||||
|
||||
if (fs.existsSync(bundlePath) && fs.lstatSync(bundlePath).isDirectory())
|
||||
{
|
||||
var filename = bundleName + ".sj",
|
||||
filePath = path.join(bundlePath, filename);
|
||||
|
||||
if (fs.existsSync(filePath))
|
||||
totalBytes.executable += fs.lstatSync(filePath).size;
|
||||
|
||||
filePath = path.join(bundlePath, "dataURLs.txt");
|
||||
|
||||
if (fs.existsSync(filePath))
|
||||
totalBytes.data += fs.lstatSync(filePath).size;
|
||||
|
||||
filePath = path.join(bundlePath, "MHTMLData.txt");
|
||||
|
||||
if (fs.existsSync(filePath))
|
||||
totalBytes.mhtml += fs.lstatSync(filePath).size;
|
||||
|
||||
filePath = path.join(bundlePath, "MHTMLPaths.txt");
|
||||
|
||||
if (fs.existsSync(filePath))
|
||||
totalBytes.mhtml += fs.lstatSync(filePath).size;
|
||||
}
|
||||
}
|
||||
|
||||
task ("clean", function()
|
||||
{
|
||||
cp.execSync("rm -rf Build", { stdio: "inherit" });
|
||||
});
|
||||
|
||||
task ("clobber", ["clean"], function()
|
||||
{
|
||||
cp.execSync("rm -rf Frameworks", { stdio: "inherit" });
|
||||
});
|
||||
|
||||
/*
|
||||
Sets the theme this application uses, for example:
|
||||
|
||||
npx jake theme Aristo2
|
||||
npx jake theme "Aristo3 Dark"
|
||||
|
||||
The name is written to CPDefaultTheme in Info.plist as given, with its case
|
||||
kept and &, < and > escaped. Empty the browser cache afterwards, because the
|
||||
browser keeps the old Info.plist.
|
||||
|
||||
Jake runs each word on the command line as a task, in order, and looks a task
|
||||
up only when it reaches it. So this task declares the theme name as an empty
|
||||
task, which Jake then runs without effect. A name that is already a task is
|
||||
refused, because Jake would run that task after this one. So is a name that
|
||||
starts with ^ or jake:, which Jake reads as a task scope.
|
||||
*/
|
||||
JAKE.task ("theme", function()
|
||||
{
|
||||
var fs = require("fs"),
|
||||
path = require("path"),
|
||||
themeName = process.argv[process.argv.indexOf("theme") + 1],
|
||||
plistPath = path.join(__dirname, "Info.plist"),
|
||||
themeKey = /(<key>CPDefaultTheme<\/key>\s*<string>)[^<]*(<\/string>)/;
|
||||
|
||||
if (!themeName || !themeName.trim())
|
||||
throw new Error("Give a theme name, for example: npx jake theme \"Aristo3 Dark\"");
|
||||
|
||||
if (/^(\^|jake:)/.test(themeName))
|
||||
throw new Error("A theme name cannot start with ^ or jake:, which Jake reads as a task scope");
|
||||
|
||||
if (JAKE.application().lookup(themeName))
|
||||
throw new Error(themeName + " is a task in this Jakefile, not a theme name");
|
||||
|
||||
var plist = fs.readFileSync(plistPath, "utf8"),
|
||||
plistValue = themeName.replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">");
|
||||
|
||||
if (!themeKey.test(plist))
|
||||
throw new Error("No CPDefaultTheme key in " + plistPath);
|
||||
|
||||
plist = plist.replace(themeKey, function(match, head, tail)
|
||||
{
|
||||
return head + plistValue + tail;
|
||||
});
|
||||
|
||||
fs.writeFileSync(plistPath, plist);
|
||||
JAKE.task(themeName);
|
||||
|
||||
console.log("Theme set to " + themeName + " in " + plistPath);
|
||||
});
|
||||
@@ -1 +0,0 @@
|
||||
280NPLIST;1.0;D;K;4;$topD;K;18;CPCibObjectDataKeyD;K;6;CP$UIDd;1;2E;E;K;8;$objectsA;S;5;$nullD;K;10;$classnameS;16;_CPCibObjectDataK;8;$classesA;S;16;_CPCibObjectDataS;8;CPObjectE;E;D;K;6;$classD;K;6;CP$UIDd;1;1E;K;28;_CPCibObjectDataNamesKeysKeyD;K;6;CP$UIDd;1;0E;K;30;_CPCibObjectDataNamesValuesKeyD;K;6;CP$UIDd;1;0E;K;30;_CPCibObjectDataClassesKeysKeyD;K;6;CP$UIDd;1;0E;K;32;_CPCibObjectDataClassesValuesKeyD;K;6;CP$UIDd;1;0E;K;30;_CPCibObjectDataConnectionsKeyD;K;6;CP$UIDd;1;4E;K;28;_CPCibObjectDataFrameworkKeyD;K;6;CP$UIDd;1;0E;K;26;_CPCibObjectDataNextOidKeyD;K;6;CP$UIDd;1;5E;K;30;_CPCibObjectDataObjectsKeysKeyD;K;6;CP$UIDd;1;6E;K;32;_CPCibObjectDataObjectsValuesKeyD;K;6;CP$UIDd;1;7E;K;26;_CPCibObjectDataOidKeysKeyD;K;6;CP$UIDd;1;8E;K;28;_CPCibObjectDataOidValuesKeyD;K;6;CP$UIDd;1;9E;K;28;_CPCibObjectDataFileOwnerKeyD;K;6;CP$UIDd;2;11E;K;33;_CPCibObjectDataVisibleWindowsKeyD;K;6;CP$UIDd;2;13E;E;D;K;10;$classnameS;7;CPArrayK;8;$classesA;S;7;CPArrayS;8;CPObjectE;E;D;K;6;$classD;K;6;CP$UIDd;1;3E;K;10;CP.objectsA;D;K;6;CP$UIDd;2;15E;D;K;6;CP$UIDd;2;16E;D;K;6;CP$UIDd;2;17E;D;K;6;CP$UIDd;2;18E;D;K;6;CP$UIDd;2;19E;D;K;6;CP$UIDd;2;20E;D;K;6;CP$UIDd;2;21E;D;K;6;CP$UIDd;2;22E;D;K;6;CP$UIDd;2;23E;D;K;6;CP$UIDd;2;24E;D;K;6;CP$UIDd;2;26E;D;K;6;CP$UIDd;2;27E;D;K;6;CP$UIDd;2;28E;D;K;6;CP$UIDd;2;29E;D;K;6;CP$UIDd;2;30E;D;K;6;CP$UIDd;2;31E;D;K;6;CP$UIDd;2;32E;D;K;6;CP$UIDd;2;33E;D;K;6;CP$UIDd;2;34E;D;K;6;CP$UIDd;2;35E;D;K;6;CP$UIDd;2;36E;D;K;6;CP$UIDd;2;37E;D;K;6;CP$UIDd;2;38E;D;K;6;CP$UIDd;2;39E;D;K;6;CP$UIDd;2;40E;D;K;6;CP$UIDd;2;41E;D;K;6;CP$UIDd;2;42E;D;K;6;CP$UIDd;2;43E;D;K;6;CP$UIDd;2;44E;D;K;6;CP$UIDd;2;45E;D;K;6;CP$UIDd;2;46E;D;K;6;CP$UIDd;2;47E;D;K;6;CP$UIDd;2;48E;D;K;6;CP$UIDd;2;49E;D;K;6;CP$UIDd;2;50E;D;K;6;CP$UIDd;2;51E;D;K;6;CP$UIDd;2;52E;D;K;6;CP$UIDd;2;53E;D;K;6;CP$UIDd;2;54E;D;K;6;CP$UIDd;2;55E;D;K;6;CP$UIDd;2;56E;D;K;6;CP$UIDd;2;57E;D;K;6;CP$UIDd;2;58E;D;K;6;CP$UIDd;2;60E;D;K;6;CP$UIDd;2;61E;E;E;D;K;6;$classD;K;6;CP$UIDd;1;3E;K;10;CP.objectsA;E;E;D;K;6;$classD;K;6;CP$UIDd;1;3E;K;10;CP.objectsA;D;K;6;CP$UIDd;2;62E;D;K;6;CP$UIDd;2;64E;D;K;6;CP$UIDd;2;66E;D;K;6;CP$UIDd;2;67E;D;K;6;CP$UIDd;2;68E;D;K;6;CP$UIDd;2;69E;D;K;6;CP$UIDd;2;70E;D;K;6;CP$UIDd;2;71E;D;K;6;CP$UIDd;2;72E;D;K;6;CP$UIDd;2;73E;D;K;6;CP$UIDd;2;74E;D;K;6;CP$UIDd;2;75E;D;K;6;CP$UIDd;2;76E;D;K;6;CP$UIDd;2;77E;D;K;6;CP$UIDd;2;78E;D;K;6;CP$UIDd;2;79E;D;K;6;CP$UIDd;2;80E;D;K;6;CP$UIDd;2;81E;D;K;6;CP$UIDd;2;82E;D;K;6;CP$UIDd;2;83E;D;K;6;CP$UIDd;2;84E;D;K;6;CP$UIDd;2;85E;D;K;6;CP$UIDd;2;86E;D;K;6;CP$UIDd;2;87E;D;K;6;CP$UIDd;2;88E;D;K;6;CP$UIDd;2;89E;D;K;6;CP$UIDd;2;90E;D;K;6;CP$UIDd;2;91E;D;K;6;CP$UIDd;2;92E;D;K;6;CP$UIDd;2;93E;D;K;6;CP$UIDd;2;94E;D;K;6;CP$UIDd;2;95E;D;K;6;CP$UIDd;2;96E;D;K;6;CP$UIDd;2;97E;D;K;6;CP$UIDd;2;98E;D;K;6;CP$UIDd;2;99E;D;K;6;CP$UIDd;3;100E;D;K;6;CP$UIDd;3;101E;D;K;6;CP$UIDd;3;102E;D;K;6;CP$UIDd;3;103E;D;K;6;CP$UIDd;3;104E;D;K;6;CP$UIDd;3;105E;D;K;6;CP$UIDd;3;106E;D;K;6;CP$UIDd;3;107E;D;K;6;CP$UIDd;3;108E;D;K;6;CP$UIDd;3;109E;D;K;6;CP$UIDd;3;110E;D;K;6;CP$UIDd;3;111E;D;K;6;CP$UIDd;3;112E;D;K;6;CP$UIDd;3;113E;D;K;6;CP$UIDd;3;114E;D;K;6;CP$UIDd;3;115E;D;K;6;CP$UIDd;3;116E;D;K;6;CP$UIDd;3;117E;D;K;6;CP$UIDd;3;118E;D;K;6;CP$UIDd;3;119E;D;K;6;CP$UIDd;3;120E;D;K;6;CP$UIDd;3;121E;D;K;6;CP$UIDd;3;122E;D;K;6;CP$UIDd;3;123E;D;K;6;CP$UIDd;3;124E;D;K;6;CP$UIDd;3;125E;D;K;6;CP$UIDd;3;126E;D;K;6;CP$UIDd;3;127E;D;K;6;CP$UIDd;3;128E;D;K;6;CP$UIDd;3;129E;D;K;6;CP$UIDd;3;130E;D;K;6;CP$UIDd;3;132E;D;K;6;CP$UIDd;3;134E;D;K;6;CP$UIDd;3;136E;D;K;6;CP$UIDd;1;0E;D;K;6;CP$UIDd;3;137E;D;K;6;CP$UIDd;1;0E;D;K;6;CP$UIDd;3;138E;D;K;6;CP$UIDd;1;0E;D;K;6;CP$UIDd;3;140E;D;K;6;CP$UIDd;1;0E;D;K;6;CP$UIDd;3;141E;D;K;6;CP$UIDd;1;0E;D;K;6;CP$UIDd;3;143E;D;K;6;CP$UIDd;1;0E;D;K;6;CP$UIDd;3;145E;D;K;6;CP$UIDd;1;0E;D;K;6;CP$UIDd;3;147E;D;K;6;CP$UIDd;1;0E;D;K;6;CP$UIDd;3;149E;D;K;6;CP$UIDd;1;0E;D;K;6;CP$UIDd;3;151E;D;K;6;CP$UIDd;1;0E;D;K;6;CP$UIDd;3;153E;D;K;6;CP$UIDd;1;0E;D;K;6;CP$UIDd;3;154E;D;K;6;CP$UIDd;3;155E;D;K;6;CP$UIDd;3;156E;D;K;6;CP$UIDd;3;158E;D;K;6;CP$UIDd;1;0E;D;K;6;CP$UIDd;3;159E;D;K;6;CP$UIDd;1;0E;D;K;6;CP$UIDd;1;0E;D;K;6;CP$UIDd;1;0E;D;K;6;CP$UIDd;3;161E;D;K;6;CP$UIDd;1;0E;D;K;6;CP$UIDd;3;163E;D;K;6;CP$UIDd;1;0E;D;K;6;CP$UIDd;3;164E;D;K;6;CP$UIDd;1;0E;D;K;6;CP$UIDd;3;165E;D;K;6;CP$UIDd;1;0E;D;K;6;CP$UIDd;3;167E;D;K;6;CP$UIDd;3;168E;D;K;6;CP$UIDd;1;0E;D;K;6;CP$UIDd;3;169E;D;K;6;CP$UIDd;1;0E;D;K;6;CP$UIDd;3;171E;D;K;6;CP$UIDd;3;173E;D;K;6;CP$UIDd;3;175E;D;K;6;CP$UIDd;3;177E;D;K;6;CP$UIDd;3;178E;D;K;6;CP$UIDd;3;179E;D;K;6;CP$UIDd;1;0E;D;K;6;CP$UIDd;3;180E;D;K;6;CP$UIDd;3;181E;D;K;6;CP$UIDd;3;182E;D;K;6;CP$UIDd;1;0E;D;K;6;CP$UIDd;3;183E;D;K;6;CP$UIDd;1;0E;D;K;6;CP$UIDd;3;184E;D;K;6;CP$UIDd;1;0E;D;K;6;CP$UIDd;3;185E;D;K;6;CP$UIDd;1;0E;D;K;6;CP$UIDd;3;186E;D;K;6;CP$UIDd;1;0E;D;K;6;CP$UIDd;3;187E;D;K;6;CP$UIDd;1;0E;D;K;6;CP$UIDd;3;188E;D;K;6;CP$UIDd;1;0E;D;K;6;CP$UIDd;3;189E;D;K;6;CP$UIDd;1;0E;D;K;6;CP$UIDd;3;190E;D;K;6;CP$UIDd;1;0E;D;K;6;CP$UIDd;3;191E;D;K;6;CP$UIDd;1;0E;D;K;6;CP$UIDd;3;192E;D;K;6;CP$UIDd;1;0E;D;K;6;CP$UIDd;3;193E;D;K;6;CP$UIDd;3;194E;D;K;Line truncated
|
||||
@@ -1,988 +0,0 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="24506" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none">
|
||||
<dependencies>
|
||||
<deployment version="1050" identifier="macosx" />
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="24506" />
|
||||
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0" />
|
||||
</dependencies>
|
||||
<objects>
|
||||
<customObject id="-2" userLabel="File's Owner" customClass="NSApplication">
|
||||
<connections>
|
||||
<outlet property="delegate" destination="450" id="451" />
|
||||
</connections>
|
||||
</customObject>
|
||||
<customObject id="-1" userLabel="First Responder" customClass="FirstResponder" />
|
||||
<customObject id="-3" userLabel="Application" customClass="NSObject" />
|
||||
<menu title="AMainMenu" systemMenu="main" id="29" userLabel="MainMenu">
|
||||
<items>
|
||||
<menuItem title="ThemeKitchenSink" id="56">
|
||||
<menu key="submenu" title="ThemeKitchenSink" systemMenu="apple" id="57">
|
||||
<items>
|
||||
<menuItem title="About ThemeKitchenSink" id="58">
|
||||
<modifierMask key="keyEquivalentModifierMask" />
|
||||
<connections>
|
||||
<action selector="orderFrontStandardAboutPanel:" target="-2" id="142" />
|
||||
</connections>
|
||||
</menuItem>
|
||||
<menuItem isSeparatorItem="YES" id="236">
|
||||
<modifierMask key="keyEquivalentModifierMask" command="YES" />
|
||||
</menuItem>
|
||||
<menuItem title="Preferences…" keyEquivalent="," id="129" />
|
||||
<menuItem isSeparatorItem="YES" id="143">
|
||||
<modifierMask key="keyEquivalentModifierMask" command="YES" />
|
||||
</menuItem>
|
||||
<menuItem title="Quit ThemeKitchenSink" keyEquivalent="q" id="136">
|
||||
<connections>
|
||||
<action selector="terminate:" target="-3" id="449" />
|
||||
</connections>
|
||||
</menuItem>
|
||||
</items>
|
||||
</menu>
|
||||
</menuItem>
|
||||
<menuItem title="File" id="83">
|
||||
<menu key="submenu" title="File" id="81">
|
||||
<items>
|
||||
<menuItem title="New" keyEquivalent="n" id="82">
|
||||
<connections>
|
||||
<action selector="newDocument:" target="-1" id="373" />
|
||||
</connections>
|
||||
</menuItem>
|
||||
<menuItem title="Open…" keyEquivalent="o" id="72">
|
||||
<connections>
|
||||
<action selector="openDocument:" target="-1" id="374" />
|
||||
</connections>
|
||||
</menuItem>
|
||||
<menuItem title="Open Recent" id="124">
|
||||
<menu key="submenu" title="Open Recent" systemMenu="recentDocuments" id="125">
|
||||
<items>
|
||||
<menuItem title="Clear Menu" id="126">
|
||||
<connections>
|
||||
<action selector="clearRecentDocuments:" target="-1" id="127" />
|
||||
</connections>
|
||||
</menuItem>
|
||||
</items>
|
||||
</menu>
|
||||
</menuItem>
|
||||
<menuItem isSeparatorItem="YES" id="79">
|
||||
<modifierMask key="keyEquivalentModifierMask" command="YES" />
|
||||
</menuItem>
|
||||
<menuItem title="Close" keyEquivalent="w" id="73">
|
||||
<connections>
|
||||
<action selector="performClose:" target="-1" id="193" />
|
||||
</connections>
|
||||
</menuItem>
|
||||
<menuItem title="Save" keyEquivalent="s" id="75">
|
||||
<connections>
|
||||
<action selector="saveDocument:" target="-1" id="362" />
|
||||
</connections>
|
||||
</menuItem>
|
||||
<menuItem title="Save As…" keyEquivalent="S" id="80">
|
||||
<modifierMask key="keyEquivalentModifierMask" shift="YES" command="YES" />
|
||||
<connections>
|
||||
<action selector="saveDocumentAs:" target="-1" id="363" />
|
||||
</connections>
|
||||
</menuItem>
|
||||
<menuItem title="Revert to Saved" id="112">
|
||||
<modifierMask key="keyEquivalentModifierMask" />
|
||||
<connections>
|
||||
<action selector="revertDocumentToSaved:" target="-1" id="364" />
|
||||
</connections>
|
||||
</menuItem>
|
||||
</items>
|
||||
</menu>
|
||||
</menuItem>
|
||||
<menuItem title="Edit" id="217">
|
||||
<menu key="submenu" title="Edit" id="205">
|
||||
<items>
|
||||
<menuItem title="Undo" keyEquivalent="z" id="207">
|
||||
<connections>
|
||||
<action selector="undo:" target="-1" id="223" />
|
||||
</connections>
|
||||
</menuItem>
|
||||
<menuItem title="Redo" keyEquivalent="Z" id="215">
|
||||
<modifierMask key="keyEquivalentModifierMask" shift="YES" command="YES" />
|
||||
<connections>
|
||||
<action selector="redo:" target="-1" id="231" />
|
||||
</connections>
|
||||
</menuItem>
|
||||
<menuItem isSeparatorItem="YES" id="206">
|
||||
<modifierMask key="keyEquivalentModifierMask" command="YES" />
|
||||
</menuItem>
|
||||
<menuItem title="Cut" keyEquivalent="x" id="199">
|
||||
<connections>
|
||||
<action selector="cut:" target="-1" id="228" />
|
||||
</connections>
|
||||
</menuItem>
|
||||
<menuItem title="Copy" keyEquivalent="c" id="197">
|
||||
<connections>
|
||||
<action selector="copy:" target="-1" id="224" />
|
||||
</connections>
|
||||
</menuItem>
|
||||
<menuItem title="Paste" keyEquivalent="v" id="203">
|
||||
<connections>
|
||||
<action selector="paste:" target="-1" id="226" />
|
||||
</connections>
|
||||
</menuItem>
|
||||
<menuItem title="Delete" id="202">
|
||||
<connections>
|
||||
<action selector="delete:" target="-1" id="235" />
|
||||
</connections>
|
||||
</menuItem>
|
||||
<menuItem title="Select All" keyEquivalent="a" id="198">
|
||||
<connections>
|
||||
<action selector="selectAll:" target="-1" id="232" />
|
||||
</connections>
|
||||
</menuItem>
|
||||
<menuItem isSeparatorItem="YES" id="214">
|
||||
<modifierMask key="keyEquivalentModifierMask" command="YES" />
|
||||
</menuItem>
|
||||
<menuItem title="Find" id="218">
|
||||
<menu key="submenu" title="Find" id="220">
|
||||
<items>
|
||||
<menuItem title="Find…" tag="1" keyEquivalent="f" id="209">
|
||||
<connections>
|
||||
<action selector="performFindPanelAction:" target="-1" id="241" />
|
||||
</connections>
|
||||
</menuItem>
|
||||
<menuItem title="Find Next" tag="2" keyEquivalent="g" id="208" />
|
||||
<menuItem title="Find Previous" tag="3" keyEquivalent="G" id="213">
|
||||
<modifierMask key="keyEquivalentModifierMask" shift="YES" command="YES" />
|
||||
</menuItem>
|
||||
<menuItem title="Use Selection for Find" tag="7" keyEquivalent="e" id="221" />
|
||||
<menuItem title="Jump to Selection" keyEquivalent="j" id="210">
|
||||
<connections>
|
||||
<action selector="centerSelectionInVisibleArea:" target="-1" id="245" />
|
||||
</connections>
|
||||
</menuItem>
|
||||
</items>
|
||||
</menu>
|
||||
</menuItem>
|
||||
<menuItem title="Spelling and Grammar" id="216">
|
||||
<menu key="submenu" title="Spelling and Grammar" id="200">
|
||||
<items>
|
||||
<menuItem title="Show Spelling…" keyEquivalent=":" id="204">
|
||||
<connections>
|
||||
<action selector="showGuessPanel:" target="-1" id="230" />
|
||||
</connections>
|
||||
</menuItem>
|
||||
<menuItem title="Check Spelling" keyEquivalent=";" id="201">
|
||||
<connections>
|
||||
<action selector="checkSpelling:" target="-1" id="225" />
|
||||
</connections>
|
||||
</menuItem>
|
||||
<menuItem title="Check Spelling While Typing" id="219">
|
||||
<connections>
|
||||
<action selector="toggleContinuousSpellChecking:" target="-1" id="222" />
|
||||
</connections>
|
||||
</menuItem>
|
||||
<menuItem title="Check Grammar With Spelling" id="346">
|
||||
<connections>
|
||||
<action selector="toggleGrammarChecking:" target="-1" id="347" />
|
||||
</connections>
|
||||
</menuItem>
|
||||
</items>
|
||||
</menu>
|
||||
</menuItem>
|
||||
<menuItem title="Substitutions" id="348">
|
||||
<menu key="submenu" title="Substitutions" id="349">
|
||||
<items>
|
||||
<menuItem title="Smart Copy/Paste" tag="1" keyEquivalent="f" id="350">
|
||||
<connections>
|
||||
<action selector="toggleSmartInsertDelete:" target="-1" id="355" />
|
||||
</connections>
|
||||
</menuItem>
|
||||
<menuItem title="Smart Quotes" tag="2" keyEquivalent="g" id="351">
|
||||
<connections>
|
||||
<action selector="toggleAutomaticQuoteSubstitution:" target="-1" id="356" />
|
||||
</connections>
|
||||
</menuItem>
|
||||
<menuItem title="Smart Links" tag="3" keyEquivalent="G" id="354">
|
||||
<modifierMask key="keyEquivalentModifierMask" shift="YES" command="YES" />
|
||||
<connections>
|
||||
<action selector="toggleAutomaticLinkDetection:" target="-1" id="357" />
|
||||
</connections>
|
||||
</menuItem>
|
||||
</items>
|
||||
</menu>
|
||||
</menuItem>
|
||||
<menuItem title="Speech" id="211">
|
||||
<menu key="submenu" title="Speech" id="212">
|
||||
<items>
|
||||
<menuItem title="Start Speaking" id="196">
|
||||
<connections>
|
||||
<action selector="startSpeaking:" target="-1" id="233" />
|
||||
</connections>
|
||||
</menuItem>
|
||||
<menuItem title="Stop Speaking" id="195">
|
||||
<connections>
|
||||
<action selector="stopSpeaking:" target="-1" id="227" />
|
||||
</connections>
|
||||
</menuItem>
|
||||
</items>
|
||||
</menu>
|
||||
</menuItem>
|
||||
</items>
|
||||
</menu>
|
||||
</menuItem>
|
||||
<menuItem title="View" id="295">
|
||||
<menu key="submenu" title="View" id="296">
|
||||
<items>
|
||||
<menuItem title="Show Toolbar" keyEquivalent="t" id="297">
|
||||
<modifierMask key="keyEquivalentModifierMask" option="YES" command="YES" />
|
||||
<connections>
|
||||
<action selector="toggleToolbarShown:" target="-1" id="366" />
|
||||
</connections>
|
||||
</menuItem>
|
||||
<menuItem title="Customize Toolbar…" id="298">
|
||||
<connections>
|
||||
<action selector="runToolbarCustomizationPalette:" target="-1" id="365" />
|
||||
</connections>
|
||||
</menuItem>
|
||||
</items>
|
||||
</menu>
|
||||
</menuItem>
|
||||
<menuItem title="Window" id="19">
|
||||
<menu key="submenu" title="Window" systemMenu="window" id="24">
|
||||
<items>
|
||||
<menuItem title="Minimize" keyEquivalent="m" id="23">
|
||||
<connections>
|
||||
<action selector="performMiniaturize:" target="-1" id="37" />
|
||||
</connections>
|
||||
</menuItem>
|
||||
<menuItem title="Zoom" id="239">
|
||||
<connections>
|
||||
<action selector="performZoom:" target="-1" id="240" />
|
||||
</connections>
|
||||
</menuItem>
|
||||
<menuItem isSeparatorItem="YES" id="92">
|
||||
<modifierMask key="keyEquivalentModifierMask" command="YES" />
|
||||
</menuItem>
|
||||
<menuItem title="Bring All to Front" id="5">
|
||||
<connections>
|
||||
<action selector="arrangeInFront:" target="-1" id="39" />
|
||||
</connections>
|
||||
</menuItem>
|
||||
</items>
|
||||
</menu>
|
||||
</menuItem>
|
||||
<menuItem title="Help" id="103">
|
||||
<menu key="submenu" title="Help" id="106">
|
||||
<items>
|
||||
<menuItem title="ThemeKitchenSink Help" keyEquivalent="?" id="111">
|
||||
<connections>
|
||||
<action selector="showHelp:" target="-1" id="360" />
|
||||
</connections>
|
||||
</menuItem>
|
||||
</items>
|
||||
</menu>
|
||||
</menuItem>
|
||||
</items>
|
||||
</menu>
|
||||
<window title="Theme Kitchen Sink" allowsToolTipsWhenApplicationIsInactive="NO" autorecalculatesKeyViewLoop="NO" releasedWhenClosed="NO" animationBehavior="default" id="371">
|
||||
<windowStyleMask key="styleMask" titled="YES" closable="YES" miniaturizable="YES" />
|
||||
<windowPositionMask key="initialPositionMask" leftStrut="YES" topStrut="YES" />
|
||||
<rect key="contentRect" x="50" y="950" width="400" height="379" />
|
||||
<rect key="screenRect" x="0.0" y="0.0" width="2560" height="1418" />
|
||||
<view key="contentView" id="372">
|
||||
<rect key="frame" x="0.0" y="0.0" width="400" height="379" />
|
||||
<autoresizingMask key="autoresizingMask" />
|
||||
<subviews>
|
||||
<button verticalHuggingPriority="750" id="m1Q-ok-PNB">
|
||||
<rect key="frame" x="47" y="331" width="115" height="32" />
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES" />
|
||||
<buttonCell key="cell" type="push" title="Push Button" bezelStyle="rounded" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="X0r-ay-WG5">
|
||||
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES" />
|
||||
<font key="font" metaFont="system" />
|
||||
</buttonCell>
|
||||
</button>
|
||||
<button verticalHuggingPriority="750" id="8w0-DY-wnU">
|
||||
<rect key="frame" x="51" y="296" width="106" height="23" />
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES" />
|
||||
<buttonCell key="cell" type="smallSquare" title="Gradient Button" bezelStyle="smallSquare" imagePosition="overlaps" alignment="center" state="on" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="Fku-oO-DFg">
|
||||
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES" />
|
||||
<font key="font" metaFont="system" />
|
||||
</buttonCell>
|
||||
</button>
|
||||
<button verticalHuggingPriority="750" id="L15-kr-47K">
|
||||
<rect key="frame" x="20" y="260" width="168" height="19" />
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES" />
|
||||
<buttonCell key="cell" type="roundRect" title="Round Rect Button" bezelStyle="roundedRect" alignment="center" state="on" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="PW3-qi-AoF">
|
||||
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES" />
|
||||
<font key="font" metaFont="cellTitle" />
|
||||
</buttonCell>
|
||||
</button>
|
||||
<textField verticalHuggingPriority="750" id="C6f-cn-Ejv">
|
||||
<rect key="frame" x="20" y="219" width="168" height="22" />
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES" />
|
||||
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" state="on" borderStyle="bezel" placeholderString="Placeholder" drawsBackground="YES" id="X49-6N-eJn">
|
||||
<font key="font" metaFont="system" />
|
||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog" />
|
||||
<color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog" />
|
||||
</textFieldCell>
|
||||
</textField>
|
||||
<textField verticalHuggingPriority="750" id="BYm-D6-XPe">
|
||||
<rect key="frame" x="20" y="178" width="168" height="22" />
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES" />
|
||||
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" state="on" borderStyle="bezel" title="Text Field" placeholderString="Text Field" drawsBackground="YES" id="EbY-ET-auV">
|
||||
<font key="font" metaFont="system" />
|
||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog" />
|
||||
<color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog" />
|
||||
</textFieldCell>
|
||||
</textField>
|
||||
<searchField wantsLayer="YES" verticalHuggingPriority="750" id="IRn-og-xq8">
|
||||
<rect key="frame" x="20" y="138" width="168" height="22" />
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES" />
|
||||
<searchFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" borderStyle="bezel" placeholderString="Search..." usesSingleLineMode="YES" bezelStyle="round" id="NEi-Ik-boX">
|
||||
<font key="font" metaFont="system" />
|
||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog" />
|
||||
<color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog" />
|
||||
</searchFieldCell>
|
||||
</searchField>
|
||||
<tokenField verticalHuggingPriority="750" id="cgg-x6-ZES">
|
||||
<rect key="frame" x="20" y="100" width="168" height="22" />
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES" />
|
||||
<tokenFieldCell key="cell" selectable="YES" editable="YES" borderStyle="bezel" alignment="left" placeholderString="Token Field" drawsBackground="YES" allowsEditingTextAttributes="YES" id="8sw-AY-wa2">
|
||||
<font key="font" metaFont="system" />
|
||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog" />
|
||||
<color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog" />
|
||||
</tokenFieldCell>
|
||||
</tokenField>
|
||||
<comboBox verticalHuggingPriority="750" id="qJv-OJ-Yc2">
|
||||
<rect key="frame" x="20" y="59" width="171" height="26" />
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES" />
|
||||
<comboBoxCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" borderStyle="bezel" placeholderString="Combo Placeholder" drawsBackground="YES" completes="NO" numberOfVisibleItems="5" id="Ohc-Ax-HCX">
|
||||
<font key="font" metaFont="system" />
|
||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog" />
|
||||
<color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog" />
|
||||
<objectValues>
|
||||
<string>Combo 1</string>
|
||||
<string>Combo 2</string>
|
||||
</objectValues>
|
||||
</comboBoxCell>
|
||||
</comboBox>
|
||||
<datePicker verticalHuggingPriority="750" id="Nyf-TH-sCe">
|
||||
<rect key="frame" x="212" y="337" width="164" height="27" />
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES" />
|
||||
<datePickerCell key="cell" borderStyle="bezel" alignment="left" id="YVR-Be-Oh8">
|
||||
<font key="font" metaFont="system" />
|
||||
<date key="date" timeIntervalSinceReferenceDate="-595929600">
|
||||
|
||||
</date>
|
||||
<color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog" />
|
||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog" />
|
||||
</datePickerCell>
|
||||
</datePicker>
|
||||
<button id="s5G-Vz-zGA">
|
||||
<rect key="frame" x="210" y="298" width="50" height="18" />
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES" />
|
||||
<buttonCell key="cell" type="check" title="On" bezelStyle="regularSquare" imagePosition="left" state="on" inset="2" id="oIQ-QI-Xm0">
|
||||
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES" />
|
||||
<font key="font" metaFont="system" />
|
||||
</buttonCell>
|
||||
</button>
|
||||
<popUpButton verticalHuggingPriority="750" id="UGk-XV-ZaN">
|
||||
<rect key="frame" x="210" y="255" width="166" height="26" />
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES" />
|
||||
<popUpButtonCell key="cell" type="push" title="Item 1" bezelStyle="rounded" alignment="left" lineBreakMode="truncatingTail" state="on" borderStyle="borderAndBezel" imageScaling="proportionallyDown" inset="2" selectedItem="W6B-1t-gc8" id="2nf-In-XW9">
|
||||
<behavior key="behavior" lightByBackground="YES" lightByGray="YES" />
|
||||
<font key="font" metaFont="message" />
|
||||
<menu key="menu" title="OtherViews" id="HDA-tp-FFv">
|
||||
<items>
|
||||
<menuItem title="Item 1" state="on" id="W6B-1t-gc8" />
|
||||
<menuItem title="Item 2" id="9Lv-UK-1lN" />
|
||||
<menuItem title="Item 3" id="Dtf-lv-NCN" />
|
||||
</items>
|
||||
</menu>
|
||||
</popUpButtonCell>
|
||||
</popUpButton>
|
||||
<segmentedControl verticalHuggingPriority="750" id="mOA-en-OrL">
|
||||
<rect key="frame" x="210" y="218" width="165" height="24" />
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES" />
|
||||
<segmentedCell key="cell" borderStyle="border" alignment="left" style="rounded" trackingMode="selectOne" id="keX-he-mMK">
|
||||
<font key="font" metaFont="system" />
|
||||
<segments>
|
||||
<segment label="Segment 1" />
|
||||
<segment label="s2" selected="YES" tag="1" />
|
||||
<segment label="s3" />
|
||||
</segments>
|
||||
</segmentedCell>
|
||||
</segmentedControl>
|
||||
<matrix verticalHuggingPriority="750" allowsEmptySelection="NO" autorecalculatesCellSize="YES" id="KQ3-nf-Ma2">
|
||||
<rect key="frame" x="212" y="156" width="161" height="44" />
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES" />
|
||||
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog" />
|
||||
<size key="cellSize" width="161" height="21" />
|
||||
<size key="intercellSpacing" width="4" height="2" />
|
||||
<buttonCell key="prototype" type="radio" title="Radio" imagePosition="left" alignment="left" inset="2" id="5Ye-Nj-IfV">
|
||||
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES" />
|
||||
<font key="font" metaFont="system" />
|
||||
</buttonCell>
|
||||
<cells>
|
||||
<column>
|
||||
<buttonCell type="radio" title="Choice 1" imagePosition="left" alignment="left" state="on" tag="1" inset="2" id="oH3-qp-vQs">
|
||||
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES" />
|
||||
<font key="font" metaFont="system" />
|
||||
</buttonCell>
|
||||
<buttonCell type="radio" title="Radio 2" imagePosition="left" alignment="left" inset="2" id="rFD-z0-4Y7">
|
||||
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES" />
|
||||
<font key="font" metaFont="system" />
|
||||
</buttonCell>
|
||||
</column>
|
||||
</cells>
|
||||
</matrix>
|
||||
<levelIndicator verticalHuggingPriority="750" id="jBj-xF-Lda">
|
||||
<rect key="frame" x="212" y="104" width="161" height="18" />
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES" />
|
||||
<levelIndicatorCell key="cell" alignment="left" doubleValue="2" maxValue="4" warningValue="2" criticalValue="2" id="Acb-qs-8YX" />
|
||||
</levelIndicator>
|
||||
<slider verticalHuggingPriority="750" id="edU-t7-Igg">
|
||||
<rect key="frame" x="210" y="63" width="140" height="21" />
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES" />
|
||||
<sliderCell key="cell" state="on" alignment="left" maxValue="100" doubleValue="50" tickMarkPosition="above" sliderType="linear" id="UHF-Or-5s8" />
|
||||
</slider>
|
||||
<slider horizontalHuggingPriority="750" id="9o7-4W-Zwn">
|
||||
<rect key="frame" x="354" y="24" width="21" height="60" />
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES" />
|
||||
<sliderCell key="cell" alignment="left" maxValue="100" doubleValue="50" tickMarkPosition="right" sliderType="linear" id="JBT-Ky-BmW" />
|
||||
</slider>
|
||||
<slider horizontalHuggingPriority="750" verticalHuggingPriority="750" id="jy5-Va-tpd">
|
||||
<rect key="frame" x="210" y="30" width="28" height="30" />
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES" />
|
||||
<sliderCell key="cell" alignment="left" maxValue="100" doubleValue="50" allowsTickMarkValuesOnly="YES" sliderType="circular" id="vOu-Is-dMN" />
|
||||
</slider>
|
||||
<progressIndicator maxValue="100" indeterminate="YES" style="bar" id="d3g-aQ-mA1">
|
||||
<rect key="frame" x="20" y="26" width="168" height="20" />
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES" />
|
||||
</progressIndicator>
|
||||
<button id="pHc-Hn-Vfh">
|
||||
<rect key="frame" x="264" y="298" width="64" height="18" />
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES" />
|
||||
<buttonCell key="cell" type="check" title="Off" bezelStyle="regularSquare" imagePosition="left" inset="2" id="YKd-yR-FLp">
|
||||
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES" />
|
||||
<font key="font" metaFont="system" />
|
||||
</buttonCell>
|
||||
</button>
|
||||
<button id="jdV-tx-rHd">
|
||||
<rect key="frame" x="318" y="298" width="57" height="18" />
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES" />
|
||||
<buttonCell key="cell" type="check" title="Both" bezelStyle="regularSquare" imagePosition="left" state="mixed" allowsMixedState="YES" inset="2" id="x9w-JM-6Ja">
|
||||
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES" />
|
||||
<font key="font" metaFont="system" />
|
||||
</buttonCell>
|
||||
</button>
|
||||
</subviews>
|
||||
</view>
|
||||
<toolbar key="toolbar" implicitIdentifier="31335BF5-06C2-4494-957E-17ECA44216CD" autosavesConfiguration="NO" showsBaselineSeparator="NO" displayMode="iconAndLabel" sizeMode="regular" id="Rut-eV-zaw">
|
||||
<allowedToolbarItems>
|
||||
<toolbarItem implicitItemIdentifier="NSToolbarShowColorsItem" id="XfP-dr-bVG" />
|
||||
<toolbarItem implicitItemIdentifier="NSToolbarSpaceItem" id="NtD-Zr-KP3" />
|
||||
<toolbarItem implicitItemIdentifier="NSToolbarFlexibleSpaceItem" id="gjn-oz-RUD" />
|
||||
<toolbarItem implicitItemIdentifier="244A013B-F872-4F2A-8B72-516062AA8096" label="Search" paletteLabel="Search" id="SKK-gI-mQI">
|
||||
<nil key="toolTip" />
|
||||
<size key="minSize" width="96" height="22" />
|
||||
<size key="maxSize" width="96" height="22" />
|
||||
<searchField key="view" verticalHuggingPriority="750" id="2uA-Se-Sf2">
|
||||
<rect key="frame" x="0.0" y="14" width="96" height="22" />
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES" />
|
||||
<searchFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" borderStyle="bezel" usesSingleLineMode="YES" bezelStyle="round" id="2Qj-vz-cxN">
|
||||
<font key="font" metaFont="system" />
|
||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog" />
|
||||
<color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog" />
|
||||
</searchFieldCell>
|
||||
</searchField>
|
||||
</toolbarItem>
|
||||
</allowedToolbarItems>
|
||||
<defaultToolbarItems>
|
||||
<toolbarItem reference="XfP-dr-bVG" />
|
||||
<toolbarItem reference="gjn-oz-RUD" />
|
||||
<toolbarItem reference="SKK-gI-mQI" />
|
||||
</defaultToolbarItems>
|
||||
</toolbar>
|
||||
<connections>
|
||||
<outlet property="initialFirstResponder" destination="C6f-cn-Ejv" id="DHk-zy-MVe" />
|
||||
</connections>
|
||||
<point key="canvasLocation" x="180.5" y="283.5" />
|
||||
</window>
|
||||
<window title="Disabled" allowsToolTipsWhenApplicationIsInactive="NO" autorecalculatesKeyViewLoop="NO" releasedWhenClosed="NO" animationBehavior="default" id="W7U-iv-ySD">
|
||||
<windowStyleMask key="styleMask" titled="YES" closable="YES" miniaturizable="YES" />
|
||||
<windowPositionMask key="initialPositionMask" leftStrut="YES" topStrut="YES" />
|
||||
<rect key="contentRect" x="500" y="950" width="400" height="379" />
|
||||
<rect key="screenRect" x="0.0" y="0.0" width="2560" height="1418" />
|
||||
<view key="contentView" id="FDt-ae-SeF">
|
||||
<rect key="frame" x="0.0" y="0.0" width="400" height="379" />
|
||||
<autoresizingMask key="autoresizingMask" />
|
||||
<subviews>
|
||||
<button verticalHuggingPriority="750" id="kh6-h7-Kd4">
|
||||
<rect key="frame" x="47" y="331" width="115" height="32" />
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES" />
|
||||
<buttonCell key="cell" type="push" title="Push Button" bezelStyle="rounded" alignment="center" enabled="NO" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="cTY-FY-kGw">
|
||||
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES" />
|
||||
<font key="font" metaFont="system" />
|
||||
</buttonCell>
|
||||
</button>
|
||||
<button verticalHuggingPriority="750" id="BF9-qc-ctw">
|
||||
<rect key="frame" x="51" y="296" width="106" height="23" />
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES" />
|
||||
<buttonCell key="cell" type="smallSquare" title="Gradient Button" bezelStyle="smallSquare" imagePosition="overlaps" alignment="center" enabled="NO" state="on" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="uCk-Re-QfN">
|
||||
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES" />
|
||||
<font key="font" metaFont="system" />
|
||||
</buttonCell>
|
||||
</button>
|
||||
<button verticalHuggingPriority="750" id="a20-aP-t1B">
|
||||
<rect key="frame" x="20" y="260" width="168" height="19" />
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES" />
|
||||
<buttonCell key="cell" type="roundRect" title="Round Rect Button" bezelStyle="roundedRect" alignment="center" enabled="NO" state="on" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="QD9-t6-Po1">
|
||||
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES" />
|
||||
<font key="font" metaFont="cellTitle" />
|
||||
</buttonCell>
|
||||
</button>
|
||||
<textField verticalHuggingPriority="750" id="tPQ-e1-g2c">
|
||||
<rect key="frame" x="20" y="219" width="168" height="22" />
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES" />
|
||||
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" enabled="NO" sendsActionOnEndEditing="YES" state="on" borderStyle="bezel" placeholderString="Placeholder" drawsBackground="YES" id="zW6-VN-dxF">
|
||||
<font key="font" metaFont="system" />
|
||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog" />
|
||||
<color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog" />
|
||||
</textFieldCell>
|
||||
</textField>
|
||||
<textField verticalHuggingPriority="750" id="U0X-Eq-pQs">
|
||||
<rect key="frame" x="20" y="178" width="168" height="22" />
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES" />
|
||||
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" enabled="NO" sendsActionOnEndEditing="YES" state="on" borderStyle="bezel" title="Text Field" placeholderString="Text Field" drawsBackground="YES" id="0Ud-HG-MXF">
|
||||
<font key="font" metaFont="system" />
|
||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog" />
|
||||
<color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog" />
|
||||
</textFieldCell>
|
||||
</textField>
|
||||
<searchField wantsLayer="YES" verticalHuggingPriority="750" id="4pl-5H-Ohc">
|
||||
<rect key="frame" x="20" y="138" width="168" height="22" />
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES" />
|
||||
<searchFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" enabled="NO" borderStyle="bezel" placeholderString="Search..." usesSingleLineMode="YES" bezelStyle="round" id="uvk-CA-iTo">
|
||||
<font key="font" metaFont="system" />
|
||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog" />
|
||||
<color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog" />
|
||||
</searchFieldCell>
|
||||
</searchField>
|
||||
<tokenField verticalHuggingPriority="750" id="LWF-i7-07J">
|
||||
<rect key="frame" x="20" y="100" width="168" height="22" />
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES" />
|
||||
<tokenFieldCell key="cell" selectable="YES" editable="YES" enabled="NO" borderStyle="bezel" alignment="left" placeholderString="Token Field" drawsBackground="YES" allowsEditingTextAttributes="YES" id="J7a-aR-qY8">
|
||||
<font key="font" metaFont="system" />
|
||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog" />
|
||||
<color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog" />
|
||||
</tokenFieldCell>
|
||||
</tokenField>
|
||||
<comboBox verticalHuggingPriority="750" id="S32-Da-1Tl">
|
||||
<rect key="frame" x="20" y="59" width="171" height="26" />
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES" />
|
||||
<comboBoxCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" enabled="NO" sendsActionOnEndEditing="YES" borderStyle="bezel" placeholderString="Combo Placeholder" drawsBackground="YES" completes="NO" numberOfVisibleItems="5" id="c7w-o3-R5g">
|
||||
<font key="font" metaFont="system" />
|
||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog" />
|
||||
<color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog" />
|
||||
<objectValues>
|
||||
<string>Combo 1</string>
|
||||
<string>Combo 2</string>
|
||||
</objectValues>
|
||||
</comboBoxCell>
|
||||
</comboBox>
|
||||
<datePicker verticalHuggingPriority="750" id="2XV-IY-OJW">
|
||||
<rect key="frame" x="212" y="337" width="164" height="27" />
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES" />
|
||||
<datePickerCell key="cell" enabled="NO" borderStyle="bezel" alignment="left" id="HAZ-R9-IDq">
|
||||
<font key="font" metaFont="system" />
|
||||
<date key="date" timeIntervalSinceReferenceDate="-595929600">
|
||||
|
||||
</date>
|
||||
<color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog" />
|
||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog" />
|
||||
</datePickerCell>
|
||||
</datePicker>
|
||||
<button id="XAD-7T-JNG">
|
||||
<rect key="frame" x="210" y="298" width="50" height="18" />
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES" />
|
||||
<buttonCell key="cell" type="check" title="On" bezelStyle="regularSquare" imagePosition="left" enabled="NO" state="on" inset="2" id="yeU-T7-qow">
|
||||
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES" />
|
||||
<font key="font" metaFont="system" />
|
||||
</buttonCell>
|
||||
</button>
|
||||
<popUpButton verticalHuggingPriority="750" id="kAL-gB-u1v">
|
||||
<rect key="frame" x="210" y="255" width="166" height="26" />
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES" />
|
||||
<popUpButtonCell key="cell" type="push" title="Item 1" bezelStyle="rounded" alignment="left" lineBreakMode="truncatingTail" enabled="NO" state="on" borderStyle="borderAndBezel" imageScaling="proportionallyDown" inset="2" selectedItem="VWK-Dg-VWi" id="dHb-VL-2qb">
|
||||
<behavior key="behavior" lightByBackground="YES" lightByGray="YES" />
|
||||
<font key="font" metaFont="message" />
|
||||
<menu key="menu" title="OtherViews" id="1RJ-hC-fQ9">
|
||||
<items>
|
||||
<menuItem title="Item 1" state="on" id="VWK-Dg-VWi" />
|
||||
<menuItem title="Item 2" id="qVa-Qo-AN3" />
|
||||
<menuItem title="Item 3" id="ho8-1E-oNk" />
|
||||
</items>
|
||||
</menu>
|
||||
</popUpButtonCell>
|
||||
</popUpButton>
|
||||
<segmentedControl verticalHuggingPriority="750" id="QPh-rE-dW1">
|
||||
<rect key="frame" x="210" y="218" width="165" height="24" />
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES" />
|
||||
<segmentedCell key="cell" enabled="NO" borderStyle="border" alignment="left" style="rounded" trackingMode="selectOne" id="FAz-f4-ZMZ">
|
||||
<font key="font" metaFont="system" />
|
||||
<segments>
|
||||
<segment label="Segment 1" />
|
||||
<segment label="s2" selected="YES" tag="1" />
|
||||
<segment label="s3" />
|
||||
</segments>
|
||||
</segmentedCell>
|
||||
</segmentedControl>
|
||||
<matrix verticalHuggingPriority="750" allowsEmptySelection="NO" autorecalculatesCellSize="YES" id="tSl-oy-FGM">
|
||||
<rect key="frame" x="212" y="156" width="161" height="44" />
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES" />
|
||||
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog" />
|
||||
<size key="cellSize" width="161" height="21" />
|
||||
<size key="intercellSpacing" width="4" height="2" />
|
||||
<buttonCell key="prototype" type="radio" title="Radio" imagePosition="left" alignment="left" enabled="NO" inset="2" id="HUq-GV-XJk">
|
||||
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES" />
|
||||
<font key="font" metaFont="system" />
|
||||
</buttonCell>
|
||||
<cells>
|
||||
<column>
|
||||
<buttonCell type="radio" title="Choice 1" imagePosition="left" alignment="left" enabled="NO" state="on" tag="1" inset="2" id="gu9-8g-4nJ">
|
||||
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES" />
|
||||
<font key="font" metaFont="system" />
|
||||
</buttonCell>
|
||||
<buttonCell type="radio" title="Radio 2" imagePosition="left" alignment="left" enabled="NO" inset="2" id="Zv3-mI-4pz">
|
||||
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES" />
|
||||
<font key="font" metaFont="system" />
|
||||
</buttonCell>
|
||||
</column>
|
||||
</cells>
|
||||
</matrix>
|
||||
<levelIndicator verticalHuggingPriority="750" id="oFL-g5-60W">
|
||||
<rect key="frame" x="212" y="104" width="161" height="18" />
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES" />
|
||||
<levelIndicatorCell key="cell" enabled="NO" alignment="left" doubleValue="2" maxValue="4" warningValue="2" criticalValue="2" id="pbN-94-NBT" />
|
||||
</levelIndicator>
|
||||
<slider verticalHuggingPriority="750" id="lD1-pl-5N8">
|
||||
<rect key="frame" x="210" y="63" width="140" height="21" />
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES" />
|
||||
<sliderCell key="cell" enabled="NO" state="on" alignment="left" maxValue="100" doubleValue="50" tickMarkPosition="above" sliderType="linear" id="2pd-nJ-eVg" />
|
||||
</slider>
|
||||
<slider horizontalHuggingPriority="750" id="rpQ-09-pB0">
|
||||
<rect key="frame" x="354" y="24" width="21" height="60" />
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES" />
|
||||
<sliderCell key="cell" enabled="NO" alignment="left" maxValue="100" doubleValue="50" tickMarkPosition="right" sliderType="linear" id="IzM-6A-KZM" />
|
||||
</slider>
|
||||
<slider horizontalHuggingPriority="750" verticalHuggingPriority="750" id="oz1-8B-wNA">
|
||||
<rect key="frame" x="210" y="30" width="28" height="30" />
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES" />
|
||||
<sliderCell key="cell" enabled="NO" alignment="left" maxValue="100" doubleValue="50" allowsTickMarkValuesOnly="YES" sliderType="circular" id="1fL-Mq-tEe" />
|
||||
</slider>
|
||||
<progressIndicator maxValue="100" indeterminate="YES" style="bar" id="Mqe-5W-M6f">
|
||||
<rect key="frame" x="20" y="26" width="168" height="20" />
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES" />
|
||||
</progressIndicator>
|
||||
<button id="xNr-zU-w5g">
|
||||
<rect key="frame" x="264" y="298" width="64" height="18" />
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES" />
|
||||
<buttonCell key="cell" type="check" title="Off" bezelStyle="regularSquare" imagePosition="left" enabled="NO" inset="2" id="5vW-Zn-Wbi">
|
||||
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES" />
|
||||
<font key="font" metaFont="system" />
|
||||
</buttonCell>
|
||||
</button>
|
||||
<button id="Hub-9L-8cC">
|
||||
<rect key="frame" x="318" y="298" width="57" height="18" />
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES" />
|
||||
<buttonCell key="cell" type="check" title="Both" bezelStyle="regularSquare" imagePosition="left" enabled="NO" state="mixed" allowsMixedState="YES" inset="2" id="XIA-V0-rid">
|
||||
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES" />
|
||||
<font key="font" metaFont="system" />
|
||||
</buttonCell>
|
||||
</button>
|
||||
</subviews>
|
||||
</view>
|
||||
<toolbar key="toolbar" implicitIdentifier="31335BF5-06C2-4494-957E-17ECA44216CD" autosavesConfiguration="NO" showsBaselineSeparator="NO" displayMode="iconAndLabel" sizeMode="regular" id="3mf-UF-VJR">
|
||||
<allowedToolbarItems>
|
||||
<toolbarItem implicitItemIdentifier="NSToolbarShowColorsItem" id="EiB-mY-HZt" />
|
||||
<toolbarItem implicitItemIdentifier="NSToolbarSpaceItem" id="ein-DW-yBi" />
|
||||
<toolbarItem implicitItemIdentifier="NSToolbarFlexibleSpaceItem" id="GVw-Fj-PlK" />
|
||||
<toolbarItem implicitItemIdentifier="244A013B-F872-4F2A-8B72-516062AA8096" label="Search" paletteLabel="Search" id="aPm-pf-k81">
|
||||
<nil key="toolTip" />
|
||||
<size key="minSize" width="96" height="22" />
|
||||
<size key="maxSize" width="96" height="22" />
|
||||
<searchField key="view" verticalHuggingPriority="750" id="VWt-sG-c5A">
|
||||
<rect key="frame" x="0.0" y="14" width="96" height="22" />
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES" />
|
||||
<searchFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" borderStyle="bezel" usesSingleLineMode="YES" bezelStyle="round" id="0op-AY-z8F">
|
||||
<font key="font" metaFont="system" />
|
||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog" />
|
||||
<color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog" />
|
||||
</searchFieldCell>
|
||||
</searchField>
|
||||
</toolbarItem>
|
||||
</allowedToolbarItems>
|
||||
<defaultToolbarItems>
|
||||
<toolbarItem reference="EiB-mY-HZt" />
|
||||
<toolbarItem reference="GVw-Fj-PlK" />
|
||||
<toolbarItem reference="aPm-pf-k81" />
|
||||
</defaultToolbarItems>
|
||||
</toolbar>
|
||||
<connections>
|
||||
<outlet property="initialFirstResponder" destination="tPQ-e1-g2c" id="NA7-3q-TTm" />
|
||||
</connections>
|
||||
<point key="canvasLocation" x="622.5" y="283.5" />
|
||||
</window>
|
||||
<customObject id="450" customClass="AppController">
|
||||
<connections>
|
||||
<outlet property="arrayController1" destination="rrv-nI-veC" id="wdJ-0F-l3x" />
|
||||
<outlet property="outlineView" destination="4Hh-8f-RDn" id="0Oi-Lc-T9z" />
|
||||
<outlet property="tableView" destination="shA-7P-arB" id="BXi-GL-kOB" />
|
||||
<outlet property="theWindow" destination="371" id="459" />
|
||||
<outlet property="tokenField" destination="cgg-x6-ZES" id="tC3-r1-Jbs" />
|
||||
<outlet property="window1" destination="371" id="LbR-Jd-lH2" />
|
||||
<outlet property="window2" destination="j2v-PX-iBy" id="EXs-Ut-jCZ" />
|
||||
</connections>
|
||||
</customObject>
|
||||
<window title="Window" allowsToolTipsWhenApplicationIsInactive="NO" autorecalculatesKeyViewLoop="NO" releasedWhenClosed="NO" animationBehavior="default" id="j2v-PX-iBy">
|
||||
<windowStyleMask key="styleMask" titled="YES" closable="YES" miniaturizable="YES" resizable="YES" />
|
||||
<windowPositionMask key="initialPositionMask" leftStrut="YES" topStrut="YES" />
|
||||
<rect key="contentRect" x="950" y="950" width="400" height="379" />
|
||||
<rect key="screenRect" x="0.0" y="0.0" width="2560" height="1418" />
|
||||
<view key="contentView" id="aR0-Ja-Olx">
|
||||
<rect key="frame" x="0.0" y="0.0" width="400" height="379" />
|
||||
<autoresizingMask key="autoresizingMask" />
|
||||
<subviews>
|
||||
<splitView id="Xjm-2q-3Dn">
|
||||
<rect key="frame" x="0.0" y="0.0" width="400" height="379" />
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES" />
|
||||
<subviews>
|
||||
<scrollView autohidesScrollers="YES" horizontalLineScroll="19" horizontalPageScroll="10" verticalLineScroll="19" verticalPageScroll="10" usesPredominantAxisScrolling="NO" id="gV4-HB-4sG">
|
||||
<rect key="frame" x="0.0" y="0.0" width="400" height="125" />
|
||||
<autoresizingMask key="autoresizingMask" />
|
||||
<clipView key="contentView" id="idG-Tf-0gG">
|
||||
<rect key="frame" x="1" y="1" width="398" height="123" />
|
||||
<autoresizingMask key="autoresizingMask" />
|
||||
<subviews>
|
||||
<tableView verticalHuggingPriority="750" allowsExpansionToolTips="YES" columnAutoresizingStyle="lastColumnOnly" columnSelection="YES" multipleSelection="NO" autosaveColumns="NO" headerView="jHo-AX-3yB" id="shA-7P-arB">
|
||||
<rect key="frame" x="0.0" y="0.0" width="398" height="106" />
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES" />
|
||||
<size key="intercellSpacing" width="3" height="2" />
|
||||
<color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog" />
|
||||
<color key="gridColor" name="gridColor" catalog="System" colorSpace="catalog" />
|
||||
<tableColumns>
|
||||
<tableColumn width="116" minWidth="40" maxWidth="1000" id="yGs-l3-cic">
|
||||
<tableHeaderCell key="headerCell" lineBreakMode="truncatingTail" borderStyle="border" alignment="left" title="Animal">
|
||||
<color key="textColor" name="headerTextColor" catalog="System" colorSpace="catalog" />
|
||||
<color key="backgroundColor" white="0.33333298560000002" alpha="1" colorSpace="calibratedWhite" />
|
||||
</tableHeaderCell>
|
||||
<textFieldCell key="dataCell" lineBreakMode="truncatingTail" selectable="YES" editable="YES" alignment="left" title="Text Cell" id="XDU-w8-xfV">
|
||||
<font key="font" metaFont="system" />
|
||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog" />
|
||||
<color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog" />
|
||||
</textFieldCell>
|
||||
<tableColumnResizingMask key="resizingMask" resizeWithTable="YES" userResizable="YES" />
|
||||
<connections>
|
||||
<binding destination="rrv-nI-veC" name="value" keyPath="arrangedObjects.animal" id="EYe-rY-eLf" />
|
||||
</connections>
|
||||
</tableColumn>
|
||||
<tableColumn width="247" minWidth="40" maxWidth="1000" id="GZe-CK-edV">
|
||||
<tableHeaderCell key="headerCell" lineBreakMode="truncatingTail" borderStyle="border" alignment="left" title="Legs">
|
||||
<color key="textColor" name="headerTextColor" catalog="System" colorSpace="catalog" />
|
||||
<color key="backgroundColor" white="0.33333298560000002" alpha="1" colorSpace="calibratedWhite" />
|
||||
</tableHeaderCell>
|
||||
<textFieldCell key="dataCell" lineBreakMode="truncatingTail" selectable="YES" editable="YES" alignment="left" title="Text Cell" id="6kS-MU-uPq">
|
||||
<font key="font" metaFont="system" />
|
||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog" />
|
||||
<color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog" />
|
||||
</textFieldCell>
|
||||
<tableColumnResizingMask key="resizingMask" resizeWithTable="YES" userResizable="YES" />
|
||||
<connections>
|
||||
<binding destination="rrv-nI-veC" name="value" keyPath="arrangedObjects.legs" id="BgT-LY-ihn" />
|
||||
</connections>
|
||||
</tableColumn>
|
||||
</tableColumns>
|
||||
</tableView>
|
||||
</subviews>
|
||||
</clipView>
|
||||
<scroller key="horizontalScroller" hidden="YES" wantsLayer="YES" verticalHuggingPriority="750" horizontal="YES" id="1c0-Tn-IVO">
|
||||
<rect key="frame" x="1" y="119" width="223" height="15" />
|
||||
<autoresizingMask key="autoresizingMask" />
|
||||
</scroller>
|
||||
<scroller key="verticalScroller" hidden="YES" wantsLayer="YES" verticalHuggingPriority="750" horizontal="NO" id="2rM-9L-xfE">
|
||||
<rect key="frame" x="224" y="17" width="15" height="102" />
|
||||
<autoresizingMask key="autoresizingMask" />
|
||||
</scroller>
|
||||
<tableHeaderView key="headerView" id="jHo-AX-3yB">
|
||||
<rect key="frame" x="0.0" y="0.0" width="398" height="17" />
|
||||
<autoresizingMask key="autoresizingMask" />
|
||||
</tableHeaderView>
|
||||
</scrollView>
|
||||
<customView id="n75-n4-RWy">
|
||||
<rect key="frame" x="0.0" y="134" width="400" height="107" />
|
||||
<autoresizingMask key="autoresizingMask" />
|
||||
<subviews>
|
||||
<scrollView autohidesScrollers="YES" horizontalLineScroll="10" horizontalPageScroll="10" verticalLineScroll="10" verticalPageScroll="10" hasHorizontalScroller="NO" usesPredominantAxisScrolling="NO" id="Wso-KU-HWc">
|
||||
<rect key="frame" x="0.0" y="0.0" width="400" height="107" />
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES" />
|
||||
<clipView key="contentView" id="vkG-FN-jJU">
|
||||
<rect key="frame" x="1" y="1" width="398" height="105" />
|
||||
<autoresizingMask key="autoresizingMask" />
|
||||
<subviews>
|
||||
<predicateEditor verticalHuggingPriority="750" nestingMode="compound" canRemoveAllRows="YES" rowHeight="25" id="Ss2-OI-ZrJ">
|
||||
<rect key="frame" x="0.0" y="0.0" width="398" height="105" />
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMaxY="YES" />
|
||||
<rowTemplates>
|
||||
<predicateEditorRowTemplate rowType="compound" id="eb1-GK-QsD">
|
||||
<popUpMenus>
|
||||
<menu id="yWB-BA-D5R">
|
||||
<items>
|
||||
<menuItem title="Any" state="on" id="S6l-Xg-DNo">
|
||||
<integer key="representedObject" value="2" />
|
||||
</menuItem>
|
||||
<menuItem title="All" id="Mem-At-UKG">
|
||||
<integer key="representedObject" value="1" />
|
||||
</menuItem>
|
||||
</items>
|
||||
</menu>
|
||||
<menu id="fnV-o3-XcB">
|
||||
<items>
|
||||
<menuItem title="of the following are true" state="on" id="xnE-9O-HkQ" />
|
||||
</items>
|
||||
</menu>
|
||||
</popUpMenus>
|
||||
</predicateEditorRowTemplate>
|
||||
<predicateEditorRowTemplate rowType="simple" id="nfl-ps-Lbn">
|
||||
<array key="leftExpressionObject">
|
||||
<expression type="keyPath">
|
||||
<string key="keyPath">name</string>
|
||||
</expression>
|
||||
<expression type="keyPath">
|
||||
<string key="keyPath">address</string>
|
||||
</expression>
|
||||
<expression type="keyPath">
|
||||
<string key="keyPath">sign</string>
|
||||
</expression>
|
||||
</array>
|
||||
<integer key="rightExpressionObject" value="700" />
|
||||
<popUpMenus>
|
||||
<menu id="ryP-Cp-C3e">
|
||||
<items>
|
||||
<menuItem title="name" state="on" id="Grd-Au-1GT">
|
||||
<expression key="representedObject" type="keyPath">
|
||||
<string key="keyPath">name</string>
|
||||
</expression>
|
||||
</menuItem>
|
||||
<menuItem title="address" id="HPb-MG-x2O">
|
||||
<expression key="representedObject" type="keyPath">
|
||||
<string key="keyPath">address</string>
|
||||
</expression>
|
||||
</menuItem>
|
||||
<menuItem title="sign" id="CG7-Pw-3jj">
|
||||
<expression key="representedObject" type="keyPath">
|
||||
<string key="keyPath">sign</string>
|
||||
</expression>
|
||||
</menuItem>
|
||||
</items>
|
||||
</menu>
|
||||
<menu id="YEn-KF-zWs">
|
||||
<items>
|
||||
<menuItem title="contains" state="on" id="goO-Wu-stV">
|
||||
<integer key="representedObject" value="99" />
|
||||
</menuItem>
|
||||
<menuItem title="begins with" id="CH3-A6-oAB">
|
||||
<integer key="representedObject" value="8" />
|
||||
</menuItem>
|
||||
<menuItem title="ends with" id="kM7-ng-jKw">
|
||||
<integer key="representedObject" value="9" />
|
||||
</menuItem>
|
||||
<menuItem title="is" id="eva-wS-h4v">
|
||||
<integer key="representedObject" value="4" />
|
||||
</menuItem>
|
||||
<menuItem title="is not" id="C1G-0H-Soy">
|
||||
<integer key="representedObject" value="5" />
|
||||
</menuItem>
|
||||
</items>
|
||||
</menu>
|
||||
</popUpMenus>
|
||||
</predicateEditorRowTemplate>
|
||||
</rowTemplates>
|
||||
</predicateEditor>
|
||||
</subviews>
|
||||
<color key="backgroundColor" white="0.91000002619999998" alpha="1" colorSpace="calibratedWhite" />
|
||||
</clipView>
|
||||
<scroller key="horizontalScroller" hidden="YES" wantsLayer="YES" verticalHuggingPriority="750" horizontal="YES" id="8xV-kJ-Kj9">
|
||||
<rect key="frame" x="-100" y="-100" width="360" height="15" />
|
||||
<autoresizingMask key="autoresizingMask" />
|
||||
</scroller>
|
||||
<scroller key="verticalScroller" hidden="YES" wantsLayer="YES" verticalHuggingPriority="750" horizontal="NO" id="q8h-Hx-LXC">
|
||||
<rect key="frame" x="463" y="1" width="16" height="73" />
|
||||
<autoresizingMask key="autoresizingMask" />
|
||||
</scroller>
|
||||
</scrollView>
|
||||
</subviews>
|
||||
</customView>
|
||||
<scrollView autohidesScrollers="YES" horizontalLineScroll="19" horizontalPageScroll="10" verticalLineScroll="19" verticalPageScroll="10" usesPredominantAxisScrolling="NO" id="6Wn-af-dne">
|
||||
<rect key="frame" x="0.0" y="250" width="400" height="129" />
|
||||
<autoresizingMask key="autoresizingMask" />
|
||||
<clipView key="contentView" id="Lu8-yG-0Lg">
|
||||
<rect key="frame" x="1" y="1" width="398" height="127" />
|
||||
<autoresizingMask key="autoresizingMask" />
|
||||
<subviews>
|
||||
<outlineView verticalHuggingPriority="750" allowsExpansionToolTips="YES" columnAutoresizingStyle="lastColumnOnly" multipleSelection="NO" autosaveColumns="NO" headerView="PDh-qN-oBS" indentationPerLevel="16" outlineTableColumn="7mC-Ze-467" id="4Hh-8f-RDn">
|
||||
<rect key="frame" x="0.0" y="0.0" width="398" height="110" />
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES" />
|
||||
<size key="intercellSpacing" width="3" height="2" />
|
||||
<color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog" />
|
||||
<color key="gridColor" name="gridColor" catalog="System" colorSpace="catalog" />
|
||||
<tableColumns>
|
||||
<tableColumn width="101" minWidth="16" maxWidth="1000" id="7mC-Ze-467">
|
||||
<tableHeaderCell key="headerCell" lineBreakMode="truncatingTail" borderStyle="border" alignment="left">
|
||||
<color key="textColor" name="headerTextColor" catalog="System" colorSpace="catalog" />
|
||||
<color key="backgroundColor" white="0.33333298560000002" alpha="1" colorSpace="calibratedWhite" />
|
||||
</tableHeaderCell>
|
||||
<textFieldCell key="dataCell" lineBreakMode="truncatingTail" selectable="YES" editable="YES" alignment="left" title="Text Cell" id="Q1J-Cx-Gzx">
|
||||
<font key="font" metaFont="system" />
|
||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog" />
|
||||
<color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog" />
|
||||
</textFieldCell>
|
||||
<tableColumnResizingMask key="resizingMask" resizeWithTable="YES" userResizable="YES" />
|
||||
</tableColumn>
|
||||
<tableColumn width="262" minWidth="40" maxWidth="1000" id="BBs-9V-PKs">
|
||||
<tableHeaderCell key="headerCell" lineBreakMode="truncatingTail" borderStyle="border" alignment="left">
|
||||
<color key="textColor" name="headerTextColor" catalog="System" colorSpace="catalog" />
|
||||
<color key="backgroundColor" white="0.33333298560000002" alpha="1" colorSpace="calibratedWhite" />
|
||||
</tableHeaderCell>
|
||||
<textFieldCell key="dataCell" lineBreakMode="truncatingTail" selectable="YES" editable="YES" alignment="left" title="Text Cell" id="9uT-Nj-ZIP">
|
||||
<font key="font" metaFont="system" />
|
||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog" />
|
||||
<color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog" />
|
||||
</textFieldCell>
|
||||
<tableColumnResizingMask key="resizingMask" resizeWithTable="YES" userResizable="YES" />
|
||||
</tableColumn>
|
||||
</tableColumns>
|
||||
</outlineView>
|
||||
</subviews>
|
||||
</clipView>
|
||||
<scroller key="horizontalScroller" hidden="YES" wantsLayer="YES" verticalHuggingPriority="750" horizontal="YES" id="ygC-y5-gzb">
|
||||
<rect key="frame" x="1" y="119" width="223" height="15" />
|
||||
<autoresizingMask key="autoresizingMask" />
|
||||
</scroller>
|
||||
<scroller key="verticalScroller" hidden="YES" wantsLayer="YES" verticalHuggingPriority="750" horizontal="NO" id="Dt6-Nh-RS6">
|
||||
<rect key="frame" x="224" y="17" width="15" height="102" />
|
||||
<autoresizingMask key="autoresizingMask" />
|
||||
</scroller>
|
||||
<tableHeaderView key="headerView" id="PDh-qN-oBS">
|
||||
<rect key="frame" x="0.0" y="0.0" width="398" height="17" />
|
||||
<autoresizingMask key="autoresizingMask" />
|
||||
</tableHeaderView>
|
||||
</scrollView>
|
||||
</subviews>
|
||||
<holdingPriorities>
|
||||
<real value="250" />
|
||||
<real value="250" />
|
||||
<real value="250" />
|
||||
</holdingPriorities>
|
||||
</splitView>
|
||||
</subviews>
|
||||
</view>
|
||||
<point key="canvasLocation" x="1076" y="229.5" />
|
||||
</window>
|
||||
<arrayController id="rrv-nI-veC" />
|
||||
</objects>
|
||||
</document>
|
||||
@@ -1,204 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<!--
|
||||
index-debug.html
|
||||
__project.name__
|
||||
|
||||
Created by __user.name__ on __project.date__.
|
||||
Copyright __project.year__, __organization.name__ All rights reserved.
|
||||
-->
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
|
||||
<!--[if lte IE 8]>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7, chrome=1">
|
||||
<![endif]-->
|
||||
<!--[if gte IE 9]>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge, chrome=1">
|
||||
<![endif]-->
|
||||
|
||||
<meta name="viewport" content="initial-scale=1.0, user-scalable=no">
|
||||
|
||||
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||
<meta name="apple-mobile-web-app-status-bar-style" content="black">
|
||||
|
||||
<link rel="apple-touch-icon" href="Resources/icon.png">
|
||||
<link rel="apple-touch-startup-image" href="Resources/default.png">
|
||||
|
||||
<title>__project.name__</title>
|
||||
|
||||
<!-- Custom javascript goes here -->
|
||||
<!-- End custom javascript -->
|
||||
|
||||
<script type="text/javascript">
|
||||
OBJJ_MAIN_FILE = "main.j";
|
||||
OBJJ_INCLUDE_PATHS = ["Frameworks/Debug", "Frameworks"];
|
||||
// The below will tell the compiler to generate debug symbols, type signatures and not inline objj_msgSend functions.
|
||||
// This will affect only Objective-J code that is compiled when loading the application. It will not affect precompiled
|
||||
// code like the Cappuccino frameworks.
|
||||
//
|
||||
// Debug symbols will give each Objective-J method a Javascript function name. Without a name it will be very hard to find
|
||||
// the methods in the debugger.
|
||||
// Type Signatures will give type information to the Objective-J runtime for instance variables and methods.
|
||||
// Inline objj_msgSend will give a speed increase but decorators will not work. Check below on debug options for
|
||||
// more information on decorators.
|
||||
//
|
||||
// Uncomment or comment on the line below to change the flags
|
||||
OBJJ_COMPILER_FLAGS = ["IncludeDebugSymbols", "IncludeTypeSignatures", "SourceMap", "InlineMsgSend"];
|
||||
|
||||
var progressBar = null;
|
||||
|
||||
OBJJ_PROGRESS_CALLBACK = function(percent, appSize, path)
|
||||
{
|
||||
percent = percent * 100;
|
||||
|
||||
if (!progressBar)
|
||||
progressBar = document.getElementById("progress-bar");
|
||||
|
||||
if (progressBar)
|
||||
progressBar.style.width = Math.min(percent, 100) + "%";
|
||||
}
|
||||
|
||||
var loadingHTML =
|
||||
'<div id="loading">' +
|
||||
' <div id="loading-text">Loading...</div>' +
|
||||
' <div id="progress-indicator">' +
|
||||
' <span id="progress-bar" style="width:0%"></span>' +
|
||||
' </div>' +
|
||||
'</div>';
|
||||
</script>
|
||||
|
||||
<script type="text/javascript" src="Frameworks/Debug/Objective-J/Objective-J.js" charset="UTF-8"></script>
|
||||
|
||||
<script type="text/javascript">
|
||||
objj_msgSend_reset();
|
||||
|
||||
// DEBUG OPTIONS:
|
||||
// Decorators will only work when the code is compiled without the compiler option 'InlineMsgSend'. Check above.
|
||||
|
||||
// Uncomment to enable printing of backtraces on exceptions:
|
||||
//objj_msgSend_decorate(objj_backtrace_decorator);
|
||||
|
||||
// Uncomment to supress exceptions that take place inside a message
|
||||
//objj_msgSend_decorate(objj_supress_exceptions_decorator)
|
||||
|
||||
// Uncomment to enable runtime type checking:
|
||||
//objj_msgSend_decorate(objj_typecheck_decorator);
|
||||
|
||||
// Uncomment (along with both above) to print backtraces on type check errors:
|
||||
//objj_typecheck_prints_backtrace = true;
|
||||
|
||||
// Uncomment to disable the default logger (CPLogConsole if window.console exists, CPLogPopup otherwise):
|
||||
//CPLogUnregister(CPLogDefault);
|
||||
|
||||
// Uncomment to enable a specific logger:
|
||||
//CPLogRegister(CPLogConsole);
|
||||
//CPLogRegister(CPLogPopup);
|
||||
|
||||
// Tag view DOM elements with a "data-cappuccino-view" attribute that contains
|
||||
// the class name of the view that created them. Comment this or set to false to disable.
|
||||
appkit_tag_dom_elements = true;
|
||||
</script>
|
||||
|
||||
<style type="text/css">
|
||||
html, body, h1, p {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
/* We need a body wrapper because Cappuccino is unhappy if we change the body element */
|
||||
#cappuccino-body {
|
||||
/* Position it absolutely so it will fill the height without content */
|
||||
position: absolute;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
width: 100%;
|
||||
|
||||
/* Put it at the bottom of the stack so it doesn't interfere with UI */
|
||||
z-index: 0;
|
||||
}
|
||||
|
||||
#cappuccino-body .container {
|
||||
display: table;
|
||||
margin: 0 auto;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
#cappuccino-body .content {
|
||||
display: table-cell;
|
||||
height: 100%;
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
#loading {
|
||||
position: relative;
|
||||
top: 35%;
|
||||
}
|
||||
|
||||
#loading-text {
|
||||
height: 1.5em;
|
||||
color: #555;
|
||||
font: normal bold 36px/36px Arial, sans-serif;
|
||||
}
|
||||
|
||||
#progress-indicator {
|
||||
padding: 0px;
|
||||
height: 16px;
|
||||
border: 5px solid #555;
|
||||
border-radius: 18px;
|
||||
background-color: white;
|
||||
}
|
||||
|
||||
#progress-bar {
|
||||
position: relative;
|
||||
top: -1px;
|
||||
left: -1px;
|
||||
display: block;
|
||||
height: 18px;
|
||||
|
||||
/* Compensate for moving the bar left 1px to overlap the indicator border */
|
||||
border-right: 1px solid #555;
|
||||
background-color: #555;
|
||||
}
|
||||
|
||||
#noscript {
|
||||
position: relative;
|
||||
top: 35%;
|
||||
padding: 1em 1.5em;
|
||||
border: 5px solid #555;
|
||||
border-radius: 16px;
|
||||
background-color: white;
|
||||
color: #555;
|
||||
text-align: center;
|
||||
font: bold 24px Arial, sans-serif;
|
||||
}
|
||||
|
||||
#noscript a {
|
||||
color: #98c0ff;
|
||||
text-decoration: none;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="cappuccino-body">
|
||||
<div class="container">
|
||||
<div class="content">
|
||||
<script type="text/javascript">
|
||||
document.write(loadingHTML);
|
||||
</script>
|
||||
</div>
|
||||
</div>
|
||||
<noscript style="position:absolute; top:0; left:0; width:100%; height:100%">
|
||||
<div class="container">
|
||||
<div class="content">
|
||||
<div id="noscript">
|
||||
<p style="font-size:120%; margin-bottom:.75em">JavaScript is required for this application.</p>
|
||||
<p><a href="http://www.enable-javascript.com" target="_blank">Enable JavaScript</a></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</noscript>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,166 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<!--
|
||||
index.html
|
||||
__project.name__
|
||||
|
||||
Created by __user.name__ on __project.date__.
|
||||
Copyright __project.year__, __organization.name__ All rights reserved.
|
||||
-->
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
|
||||
<!--[if lte IE 8]>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7, chrome=1">
|
||||
<![endif]-->
|
||||
<!--[if gte IE 9]>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge, chrome=1">
|
||||
<![endif]-->
|
||||
|
||||
<meta name="viewport" content="initial-scale=1.0, user-scalable=no">
|
||||
|
||||
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||
<meta name="apple-mobile-web-app-status-bar-style" content="black">
|
||||
|
||||
<link rel="apple-touch-icon" href="Resources/icon.png">
|
||||
<link rel="apple-touch-startup-image" href="Resources/default.png">
|
||||
|
||||
<title>__project.name__</title>
|
||||
|
||||
<!-- Custom javascript goes here -->
|
||||
<!-- End custom javascript -->
|
||||
|
||||
<script type="text/javascript">
|
||||
OBJJ_MAIN_FILE = "main.j";
|
||||
// The below will tell the compiler to not generate debug symbols but will generate type signatures and inline objj_msgSend functions.
|
||||
// This will affect only Objective-J code that is compiled when loading the application. It will not affect precompiled
|
||||
// code like the Cappuccino frameworks.
|
||||
// Uncomment or comment on the line below to change the flags
|
||||
OBJJ_COMPILER_FLAGS = [/*"IncludeDebugSymbols"*/, "IncludeTypeSignatures"/*, "SourceMap"*/, "InlineMsgSend"];
|
||||
|
||||
var progressBar = null;
|
||||
|
||||
OBJJ_PROGRESS_CALLBACK = function(percent, appSize, path)
|
||||
{
|
||||
percent = percent * 100;
|
||||
|
||||
if (!progressBar)
|
||||
progressBar = document.getElementById("progress-bar");
|
||||
|
||||
if (progressBar)
|
||||
progressBar.style.width = Math.min(percent, 100) + "%";
|
||||
}
|
||||
|
||||
var loadingHTML =
|
||||
'<div id="loading">' +
|
||||
' <div id="loading-text">Loading...</div>' +
|
||||
' <div id="progress-indicator">' +
|
||||
' <span id="progress-bar" style="width:0%"></span>' +
|
||||
' </div>' +
|
||||
'</div>';
|
||||
</script>
|
||||
|
||||
<script type="text/javascript" src="Frameworks/Objective-J/Objective-J.js" charset="UTF-8"></script>
|
||||
|
||||
<style type="text/css">
|
||||
html, body, h1, p {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
/* We need a body wrapper because Cappuccino is unhappy if we change the body element */
|
||||
#cappuccino-body {
|
||||
/* Position it absolutely so it will fill the height without content */
|
||||
position: absolute;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
width: 100%;
|
||||
|
||||
/* Put it at the bottom of the stack so it doesn't interfere with UI */
|
||||
z-index: 0;
|
||||
}
|
||||
|
||||
#cappuccino-body .container {
|
||||
display: table;
|
||||
margin: 0 auto;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
#cappuccino-body .content {
|
||||
display: table-cell;
|
||||
height: 100%;
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
#loading {
|
||||
position: relative;
|
||||
top: 35%;
|
||||
}
|
||||
|
||||
#loading-text {
|
||||
height: 1.5em;
|
||||
color: #555;
|
||||
font: normal bold 36px/36px Arial, sans-serif;
|
||||
}
|
||||
|
||||
#progress-indicator {
|
||||
padding: 0px;
|
||||
height: 16px;
|
||||
border: 5px solid #555;
|
||||
border-radius: 18px;
|
||||
background-color: white;
|
||||
}
|
||||
|
||||
#progress-bar {
|
||||
position: relative;
|
||||
top: -1px;
|
||||
left: -1px;
|
||||
display: block;
|
||||
height: 18px;
|
||||
|
||||
/* Compensate for moving the bar left 1px to overlap the indicator border */
|
||||
border-right: 1px solid #555;
|
||||
background-color: #555;
|
||||
}
|
||||
|
||||
#noscript {
|
||||
position: relative;
|
||||
top: 35%;
|
||||
padding: 1em 1.5em;
|
||||
border: 5px solid #555;
|
||||
border-radius: 16px;
|
||||
background-color: white;
|
||||
color: #555;
|
||||
text-align: center;
|
||||
font: bold 24px Arial, sans-serif;
|
||||
}
|
||||
|
||||
#noscript a {
|
||||
color: #98c0ff;
|
||||
text-decoration: none;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="cappuccino-body">
|
||||
<div class="container">
|
||||
<div class="content">
|
||||
<script type="text/javascript">
|
||||
document.write(loadingHTML);
|
||||
</script>
|
||||
</div>
|
||||
</div>
|
||||
<noscript style="position:absolute; top:0; left:0; width:100%; height:100%">
|
||||
<div class="container">
|
||||
<div class="content">
|
||||
<div id="noscript">
|
||||
<p style="font-size:120%; margin-bottom:.75em">JavaScript is required for this application.</p>
|
||||
<p><a href="http://www.enable-javascript.com" target="_blank">Enable JavaScript</a></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</noscript>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,18 +0,0 @@
|
||||
/*
|
||||
* AppController.j
|
||||
* ThemeKitchenSink
|
||||
*
|
||||
* Created by Alexander Ljungberg on May 11, 2014.
|
||||
* Copyright 2014, SlevenBits, Ltd. All rights reserved.
|
||||
*/
|
||||
|
||||
@import <Foundation/Foundation.j>
|
||||
@import <AppKit/AppKit.j>
|
||||
|
||||
@import "AppController.j"
|
||||
|
||||
|
||||
function main(args, namedArgs)
|
||||
{
|
||||
CPApplicationMain(args, namedArgs);
|
||||
}
|
||||
Reference in new issue
Block a user