mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-12-04 11:54:59 +00:00
Deploying to gh-pages from @ cappuccino/cappuccino@1da107c404 🚀
This commit is contained in:
1 parent
ae26c00f42
commit
3435d0ac20
12 files changed
+2651
-142
No files matched your search
@@ -31863,6 +31863,505 @@ class_addMethods(meta_class, [new objj_method(sel_getUid("splitViewItemWithViewC
|
||||
|
||||
,["instancetype","CPViewController"])]);
|
||||
}
|
||||
p;13;CPStackView.jt;32509;@STATIC;1.0;i;8;CPView.jt;32477;objj_executeFile("CPView.j", YES);{var the_typedef = objj_allocateTypeDef("CPStackViewGravity");
|
||||
objj_registerTypeDef(the_typedef);
|
||||
}CPStackViewGravityTop = 1;
|
||||
CPStackViewGravityLeading = 1;
|
||||
CPStackViewGravityCenter = 2;
|
||||
CPStackViewGravityBottom = 3;
|
||||
CPStackViewGravityTrailing = 3;
|
||||
{var the_typedef = objj_allocateTypeDef("CPStackViewDistribution");
|
||||
objj_registerTypeDef(the_typedef);
|
||||
}CPStackViewDistributionGravityAreas = 0;
|
||||
CPStackViewDistributionFill = 1;
|
||||
CPStackViewDistributionFillEqually = 2;
|
||||
CPStackViewDistributionFillProportionally = 3;
|
||||
CPStackViewDistributionEqualSpacing = 4;
|
||||
CPStackViewDistributionEqualCentering = 5;
|
||||
{var the_typedef = objj_allocateTypeDef("CPStackViewVisibilityPriority");
|
||||
objj_registerTypeDef(the_typedef);
|
||||
}CPStackViewVisibilityPriorityMustHold = 1000.0;
|
||||
CPStackViewVisibilityPriorityNotVisible = 0.0;
|
||||
var CPStackViewSpacingUseDefault = 3.40282347e+38;
|
||||
|
||||
{var the_class = objj_allocateClassPair(CPView, "CPStackView"),
|
||||
meta_class = the_class.isa;class_addIvars(the_class, [new objj_ivar("_orientation", "CPUserInterfaceLayoutOrientation"), new objj_ivar("_alignment", "CPLayoutAttribute"), new objj_ivar("_spacing", "float"), new objj_ivar("_edgeInsets", "CPEdgeInsets"), new objj_ivar("_detachesHiddenViews", "BOOL"), new objj_ivar("_viewsLeading", "CPMutableArray"), new objj_ivar("_viewsCenter", "CPMutableArray"), new objj_ivar("_viewsTrailing", "CPMutableArray"), new objj_ivar("_arrangedSubviews", "CPMutableArray"), new objj_ivar("_customSpacings", "CPMapTable"), new objj_ivar("_visibilityPriorities", "CPMapTable")]);objj_registerClassPair(the_class);
|
||||
class_addMethods(the_class, [new objj_method(sel_getUid("initWithFrame:"), function $CPStackView__initWithFrame_(self, _cmd, aFrame)
|
||||
{
|
||||
if (self = (objj_getClass("CPStackView").super_class.method_dtable["initWithFrame:"] || _objj_forward)(self, "initWithFrame:", aFrame))
|
||||
{
|
||||
self._orientation = CPUserInterfaceLayoutOrientationHorizontal;
|
||||
self._alignment = CPLayoutAttributeCenterY;
|
||||
self._spacing = 8.0;
|
||||
self._edgeInsets = CPEdgeInsetsMake(0, 0, 0, 0);
|
||||
self._detachesHiddenViews = YES;
|
||||
self._viewsLeading = ((___r1 = (CPMutableArray.isa.method_msgSend["alloc"] || _objj_forward)(CPMutableArray, "alloc")), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["init"] || _objj_forward)(___r1, "init"));
|
||||
self._viewsCenter = ((___r1 = (CPMutableArray.isa.method_msgSend["alloc"] || _objj_forward)(CPMutableArray, "alloc")), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["init"] || _objj_forward)(___r1, "init"));
|
||||
self._viewsTrailing = ((___r1 = (CPMutableArray.isa.method_msgSend["alloc"] || _objj_forward)(CPMutableArray, "alloc")), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["init"] || _objj_forward)(___r1, "init"));
|
||||
self._arrangedSubviews = ((___r1 = (CPMutableArray.isa.method_msgSend["alloc"] || _objj_forward)(CPMutableArray, "alloc")), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["init"] || _objj_forward)(___r1, "init"));
|
||||
self._customSpacings = ((___r1 = (CPMapTable == null ? CPMapTable : (CPMapTable.isa.method_msgSend["alloc"] || _objj_forward)(CPMapTable, "alloc"))), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["init"] || _objj_forward)(___r1, "init"));
|
||||
self._visibilityPriorities = ((___r1 = (CPMapTable == null ? CPMapTable : (CPMapTable.isa.method_msgSend["alloc"] || _objj_forward)(CPMapTable, "alloc"))), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["init"] || _objj_forward)(___r1, "init"));
|
||||
}
|
||||
return self;
|
||||
var ___r1;
|
||||
}
|
||||
|
||||
,["id","CGRect"]), new objj_method(sel_getUid("orientation"), function $CPStackView__orientation(self, _cmd)
|
||||
{
|
||||
return self._orientation;
|
||||
}
|
||||
|
||||
,["CPUserInterfaceLayoutOrientation"]), new objj_method(sel_getUid("setOrientation:"), function $CPStackView__setOrientation_(self, _cmd, anOrientation)
|
||||
{
|
||||
if (self._orientation === anOrientation)
|
||||
return;
|
||||
self._orientation = anOrientation;
|
||||
if (self._orientation === CPUserInterfaceLayoutOrientationVertical)
|
||||
{
|
||||
if (self._alignment === CPLayoutAttributeCenterY)
|
||||
self._alignment = CPLayoutAttributeCenterX;
|
||||
}
|
||||
else
|
||||
{
|
||||
if (self._alignment === CPLayoutAttributeCenterX)
|
||||
self._alignment = CPLayoutAttributeCenterY;
|
||||
}
|
||||
(self.isa.method_msgSend["setNeedsLayout:"] || _objj_forward)(self, "setNeedsLayout:", YES);
|
||||
}
|
||||
|
||||
,["void","CPUserInterfaceLayoutOrientation"]), new objj_method(sel_getUid("alignment"), function $CPStackView__alignment(self, _cmd)
|
||||
{
|
||||
return self._alignment;
|
||||
}
|
||||
|
||||
,["CPLayoutAttribute"]), new objj_method(sel_getUid("setAlignment:"), function $CPStackView__setAlignment_(self, _cmd, anAlignment)
|
||||
{
|
||||
if (self._alignment === anAlignment)
|
||||
return;
|
||||
self._alignment = anAlignment;
|
||||
(self.isa.method_msgSend["setNeedsLayout:"] || _objj_forward)(self, "setNeedsLayout:", YES);
|
||||
}
|
||||
|
||||
,["void","CPLayoutAttribute"]), new objj_method(sel_getUid("spacing"), function $CPStackView__spacing(self, _cmd)
|
||||
{
|
||||
return self._spacing;
|
||||
}
|
||||
|
||||
,["float"]), new objj_method(sel_getUid("setSpacing:"), function $CPStackView__setSpacing_(self, _cmd, aSpacing)
|
||||
{
|
||||
if (self._spacing === aSpacing)
|
||||
return;
|
||||
self._spacing = aSpacing;
|
||||
(self.isa.method_msgSend["setNeedsLayout:"] || _objj_forward)(self, "setNeedsLayout:", YES);
|
||||
}
|
||||
|
||||
,["void","float"]), new objj_method(sel_getUid("edgeInsets"), function $CPStackView__edgeInsets(self, _cmd)
|
||||
{
|
||||
return self._edgeInsets;
|
||||
}
|
||||
|
||||
,["CPEdgeInsets"]), new objj_method(sel_getUid("setEdgeInsets:"), function $CPStackView__setEdgeInsets_(self, _cmd, insets)
|
||||
{
|
||||
if (CPEdgeInsetsEqualToEdgeInsets(self._edgeInsets, insets))
|
||||
return;
|
||||
self._edgeInsets = insets;
|
||||
(self.isa.method_msgSend["setNeedsLayout:"] || _objj_forward)(self, "setNeedsLayout:", YES);
|
||||
}
|
||||
|
||||
,["void","CPEdgeInsets"]), new objj_method(sel_getUid("detachesHiddenViews"), function $CPStackView__detachesHiddenViews(self, _cmd)
|
||||
{
|
||||
return self._detachesHiddenViews;
|
||||
}
|
||||
|
||||
,["BOOL"]), new objj_method(sel_getUid("setDetachesHiddenViews:"), function $CPStackView__setDetachesHiddenViews_(self, _cmd, shouldDetach)
|
||||
{
|
||||
if (self._detachesHiddenViews === shouldDetach)
|
||||
return;
|
||||
self._detachesHiddenViews = shouldDetach;
|
||||
(self.isa.method_msgSend["setNeedsLayout:"] || _objj_forward)(self, "setNeedsLayout:", YES);
|
||||
}
|
||||
|
||||
,["void","BOOL"]), new objj_method(sel_getUid("_containerForGravity:"), function $CPStackView___containerForGravity_(self, _cmd, gravity)
|
||||
{
|
||||
if (gravity === CPStackViewGravityCenter)
|
||||
return self._viewsCenter;
|
||||
else if (gravity === CPStackViewGravityTrailing)
|
||||
return self._viewsTrailing;
|
||||
return self._viewsLeading;
|
||||
}
|
||||
|
||||
,["CPArray","CPStackViewGravity"]), new objj_method(sel_getUid("addView:inGravity:"), function $CPStackView__addView_inGravity_(self, _cmd, aView, gravity)
|
||||
{
|
||||
var container = (self.isa.method_msgSend["_containerForGravity:"] || _objj_forward)(self, "_containerForGravity:", gravity);
|
||||
if (((___r1 = self._arrangedSubviews), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["containsObject:"] || _objj_forward)(___r1, "containsObject:", aView)))
|
||||
(self.isa.method_msgSend["removeView:"] || _objj_forward)(self, "removeView:", aView);
|
||||
(container == null ? container : (container.isa.method_msgSend["addObject:"] || _objj_forward)(container, "addObject:", aView));
|
||||
((___r1 = self._arrangedSubviews), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["addObject:"] || _objj_forward)(___r1, "addObject:", aView));
|
||||
if ((aView == null ? aView : (aView.isa.method_msgSend["superview"] || _objj_forward)(aView, "superview")) !== self)
|
||||
(self.isa.method_msgSend["addSubview:"] || _objj_forward)(self, "addSubview:", aView);
|
||||
(self.isa.method_msgSend["setNeedsLayout:"] || _objj_forward)(self, "setNeedsLayout:", YES);
|
||||
var ___r1;
|
||||
}
|
||||
|
||||
,["void","CPView","CPStackViewGravity"]), new objj_method(sel_getUid("insertView:atIndex:inGravity:"), function $CPStackView__insertView_atIndex_inGravity_(self, _cmd, aView, index, gravity)
|
||||
{
|
||||
var container = (self.isa.method_msgSend["_containerForGravity:"] || _objj_forward)(self, "_containerForGravity:", gravity);
|
||||
if (((___r1 = self._arrangedSubviews), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["containsObject:"] || _objj_forward)(___r1, "containsObject:", aView)))
|
||||
(self.isa.method_msgSend["removeView:"] || _objj_forward)(self, "removeView:", aView);
|
||||
if (index >= (container == null ? container : (container.isa.method_msgSend["count"] || _objj_forward)(container, "count")))
|
||||
(container == null ? container : (container.isa.method_msgSend["addObject:"] || _objj_forward)(container, "addObject:", aView));
|
||||
else
|
||||
(container == null ? container : (container.isa.method_msgSend["insertObject:atIndex:"] || _objj_forward)(container, "insertObject:atIndex:", aView, index));
|
||||
((___r1 = self._arrangedSubviews), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["addObject:"] || _objj_forward)(___r1, "addObject:", aView));
|
||||
if ((aView == null ? aView : (aView.isa.method_msgSend["superview"] || _objj_forward)(aView, "superview")) !== self)
|
||||
(self.isa.method_msgSend["addSubview:"] || _objj_forward)(self, "addSubview:", aView);
|
||||
(self.isa.method_msgSend["setNeedsLayout:"] || _objj_forward)(self, "setNeedsLayout:", YES);
|
||||
var ___r1;
|
||||
}
|
||||
|
||||
,["void","CPView","CPInteger","CPStackViewGravity"]), new objj_method(sel_getUid("setViews:inGravity:"), function $CPStackView__setViews_inGravity_(self, _cmd, views, gravity)
|
||||
{
|
||||
var container = (self.isa.method_msgSend["_containerForGravity:"] || _objj_forward)(self, "_containerForGravity:", gravity);
|
||||
for (var i = 0; i < (container == null ? container : (container.isa.method_msgSend["count"] || _objj_forward)(container, "count")); i++)
|
||||
{
|
||||
var oldView = container[i];
|
||||
(oldView == null ? oldView : (oldView.isa.method_msgSend["removeFromSuperview"] || _objj_forward)(oldView, "removeFromSuperview"));
|
||||
((___r1 = self._arrangedSubviews), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["removeObject:"] || _objj_forward)(___r1, "removeObject:", oldView));
|
||||
}
|
||||
(container == null ? container : (container.isa.method_msgSend["removeAllObjects"] || _objj_forward)(container, "removeAllObjects"));
|
||||
for (var i = 0; i < (views == null ? views : (views.isa.method_msgSend["count"] || _objj_forward)(views, "count")); i++)
|
||||
{
|
||||
var newView = views[i];
|
||||
(container == null ? container : (container.isa.method_msgSend["addObject:"] || _objj_forward)(container, "addObject:", newView));
|
||||
((___r1 = self._arrangedSubviews), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["addObject:"] || _objj_forward)(___r1, "addObject:", newView));
|
||||
(self.isa.method_msgSend["addSubview:"] || _objj_forward)(self, "addSubview:", newView);
|
||||
}
|
||||
(self.isa.method_msgSend["setNeedsLayout:"] || _objj_forward)(self, "setNeedsLayout:", YES);
|
||||
var ___r1;
|
||||
}
|
||||
|
||||
,["void","CPArray","CPStackViewGravity"]), new objj_method(sel_getUid("removeView:"), function $CPStackView__removeView_(self, _cmd, aView)
|
||||
{
|
||||
if (!((___r1 = self._arrangedSubviews), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["containsObject:"] || _objj_forward)(___r1, "containsObject:", aView)))
|
||||
return;
|
||||
((___r1 = self._viewsLeading), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["removeObject:"] || _objj_forward)(___r1, "removeObject:", aView));
|
||||
((___r1 = self._viewsCenter), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["removeObject:"] || _objj_forward)(___r1, "removeObject:", aView));
|
||||
((___r1 = self._viewsTrailing), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["removeObject:"] || _objj_forward)(___r1, "removeObject:", aView));
|
||||
((___r1 = self._arrangedSubviews), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["removeObject:"] || _objj_forward)(___r1, "removeObject:", aView));
|
||||
(aView == null ? aView : (aView.isa.method_msgSend["removeFromSuperview"] || _objj_forward)(aView, "removeFromSuperview"));
|
||||
(self.isa.method_msgSend["setNeedsLayout:"] || _objj_forward)(self, "setNeedsLayout:", YES);
|
||||
var ___r1;
|
||||
}
|
||||
|
||||
,["void","CPView"]), new objj_method(sel_getUid("viewsInGravity:"), function $CPStackView__viewsInGravity_(self, _cmd, gravity)
|
||||
{
|
||||
return ((___r1 = (self.isa.method_msgSend["_containerForGravity:"] || _objj_forward)(self, "_containerForGravity:", gravity)), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["copy"] || _objj_forward)(___r1, "copy"));
|
||||
var ___r1;
|
||||
}
|
||||
|
||||
,["CPArray","CPStackViewGravity"]), new objj_method(sel_getUid("arrangedSubviews"), function $CPStackView__arrangedSubviews(self, _cmd)
|
||||
{
|
||||
return ((___r1 = self._arrangedSubviews), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["copy"] || _objj_forward)(___r1, "copy"));
|
||||
var ___r1;
|
||||
}
|
||||
|
||||
,["CPArray"]), new objj_method(sel_getUid("addArrangedSubview:"), function $CPStackView__addArrangedSubview_(self, _cmd, view)
|
||||
{
|
||||
(self.isa.method_msgSend["addView:inGravity:"] || _objj_forward)(self, "addView:inGravity:", view, CPStackViewGravityLeading);
|
||||
}
|
||||
|
||||
,["void","CPView"]), new objj_method(sel_getUid("removeArrangedSubview:"), function $CPStackView__removeArrangedSubview_(self, _cmd, view)
|
||||
{
|
||||
(self.isa.method_msgSend["removeView:"] || _objj_forward)(self, "removeView:", view);
|
||||
}
|
||||
|
||||
,["void","CPView"]), new objj_method(sel_getUid("customSpacingAfterView:"), function $CPStackView__customSpacingAfterView_(self, _cmd, aView)
|
||||
{
|
||||
var val = ((___r1 = self._customSpacings), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["objectForKey:"] || _objj_forward)(___r1, "objectForKey:", aView));
|
||||
if (val)
|
||||
return (val == null ? val : (val.isa.method_msgSend["floatValue"] || _objj_forward)(val, "floatValue"));
|
||||
return CPStackViewSpacingUseDefault;
|
||||
var ___r1;
|
||||
}
|
||||
|
||||
,["float","CPView"]), new objj_method(sel_getUid("setCustomSpacing:afterView:"), function $CPStackView__setCustomSpacing_afterView_(self, _cmd, spacing, aView)
|
||||
{
|
||||
if (spacing === CPStackViewSpacingUseDefault)
|
||||
((___r1 = self._customSpacings), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["removeObjectForKey:"] || _objj_forward)(___r1, "removeObjectForKey:", aView));
|
||||
else
|
||||
((___r1 = self._customSpacings), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["setObject:forKey:"] || _objj_forward)(___r1, "setObject:forKey:", spacing, aView));
|
||||
(self.isa.method_msgSend["setNeedsLayout:"] || _objj_forward)(self, "setNeedsLayout:", YES);
|
||||
var ___r1;
|
||||
}
|
||||
|
||||
,["void","float","CPView"]), new objj_method(sel_getUid("_spacingAfterView:"), function $CPStackView___spacingAfterView_(self, _cmd, aView)
|
||||
{
|
||||
var custom = (self.isa.method_msgSend["customSpacingAfterView:"] || _objj_forward)(self, "customSpacingAfterView:", aView);
|
||||
if (custom !== CPStackViewSpacingUseDefault)
|
||||
return custom;
|
||||
return self._spacing;
|
||||
}
|
||||
|
||||
,["float","CPView"]), new objj_method(sel_getUid("setVisibilityPriority:forView:"), function $CPStackView__setVisibilityPriority_forView_(self, _cmd, priority, aView)
|
||||
{
|
||||
((___r1 = self._visibilityPriorities), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["setObject:forKey:"] || _objj_forward)(___r1, "setObject:forKey:", priority, aView));
|
||||
if (priority === CPStackViewVisibilityPriorityNotVisible)
|
||||
{
|
||||
(aView == null ? aView : (aView.isa.method_msgSend["setHidden:"] || _objj_forward)(aView, "setHidden:", YES));
|
||||
}
|
||||
else if (priority === CPStackViewVisibilityPriorityMustHold)
|
||||
{
|
||||
(aView == null ? aView : (aView.isa.method_msgSend["setHidden:"] || _objj_forward)(aView, "setHidden:", NO));
|
||||
}
|
||||
(self.isa.method_msgSend["setNeedsLayout:"] || _objj_forward)(self, "setNeedsLayout:", YES);
|
||||
var ___r1;
|
||||
}
|
||||
|
||||
,["void","float","CPView"]), new objj_method(sel_getUid("visibilityPriorityForView:"), function $CPStackView__visibilityPriorityForView_(self, _cmd, aView)
|
||||
{
|
||||
var val = ((___r1 = self._visibilityPriorities), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["objectForKey:"] || _objj_forward)(___r1, "objectForKey:", aView));
|
||||
if (val)
|
||||
return (val == null ? val : (val.isa.method_msgSend["floatValue"] || _objj_forward)(val, "floatValue"));
|
||||
return CPStackViewVisibilityPriorityMustHold;
|
||||
var ___r1;
|
||||
}
|
||||
|
||||
,["float","CPView"]), new objj_method(sel_getUid("resizeSubviewsWithOldSize:"), function $CPStackView__resizeSubviewsWithOldSize_(self, _cmd, oldSize)
|
||||
{
|
||||
(self.isa.method_msgSend["layoutSubviews"] || _objj_forward)(self, "layoutSubviews");
|
||||
}
|
||||
|
||||
,["void","CGSize"]), new objj_method(sel_getUid("layoutSubviews"), function $CPStackView__layoutSubviews(self, _cmd)
|
||||
{
|
||||
if (self._orientation === CPUserInterfaceLayoutOrientationVertical)
|
||||
(self.isa.method_msgSend["_layoutVertical"] || _objj_forward)(self, "_layoutVertical");
|
||||
else
|
||||
(self.isa.method_msgSend["_layoutHorizontal"] || _objj_forward)(self, "_layoutHorizontal");
|
||||
}
|
||||
|
||||
,["void"]), new objj_method(sel_getUid("_layoutHorizontal"), function $CPStackView___layoutHorizontal(self, _cmd)
|
||||
{
|
||||
var bounds = (self.isa.method_msgSend["bounds"] || _objj_forward)(self, "bounds"),
|
||||
availWidth = CGRectGetWidth(bounds) - self._edgeInsets.left - self._edgeInsets.right,
|
||||
availHeight = CGRectGetHeight(bounds) - self._edgeInsets.top - self._edgeInsets.bottom,
|
||||
currentX = self._edgeInsets.left;
|
||||
currentX = (self.isa.method_msgSend["_layoutViews:startOffset:availableOrthogonalSize:direction:"] || _objj_forward)(self, "_layoutViews:startOffset:availableOrthogonalSize:direction:", self._viewsLeading, currentX, availHeight, 1);
|
||||
var startRight = CGRectGetWidth(bounds) - self._edgeInsets.right;
|
||||
(self.isa.method_msgSend["_layoutViews:startOffset:availableOrthogonalSize:direction:"] || _objj_forward)(self, "_layoutViews:startOffset:availableOrthogonalSize:direction:", self._viewsTrailing, startRight, availHeight, -1);
|
||||
if (((___r1 = self._viewsCenter), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["count"] || _objj_forward)(___r1, "count")) > 0)
|
||||
{
|
||||
var centerStackWidth = 0.0;
|
||||
for (var i = 0; i < ((___r1 = self._viewsCenter), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["count"] || _objj_forward)(___r1, "count")); i++)
|
||||
{
|
||||
var view = self._viewsCenter[i];
|
||||
if (self._detachesHiddenViews && (view == null ? view : (view.isa.method_msgSend["isHidden"] || _objj_forward)(view, "isHidden")))
|
||||
continue;
|
||||
centerStackWidth += CGRectGetWidth((view == null ? view : (view.isa.method_msgSend["frame"] || _objj_forward)(view, "frame")));
|
||||
if (i < ((___r1 = self._viewsCenter), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["count"] || _objj_forward)(___r1, "count")) - 1)
|
||||
centerStackWidth += (self.isa.method_msgSend["_spacingAfterView:"] || _objj_forward)(self, "_spacingAfterView:", view);
|
||||
}
|
||||
var centerStart = CGRectGetWidth(bounds) / 2.0 - centerStackWidth / 2.0;
|
||||
if (centerStart < currentX)
|
||||
centerStart = currentX;
|
||||
(self.isa.method_msgSend["_layoutViews:startOffset:availableOrthogonalSize:direction:"] || _objj_forward)(self, "_layoutViews:startOffset:availableOrthogonalSize:direction:", self._viewsCenter, centerStart, availHeight, 1);
|
||||
}
|
||||
var ___r1;
|
||||
}
|
||||
|
||||
,["void"]), new objj_method(sel_getUid("_layoutVertical"), function $CPStackView___layoutVertical(self, _cmd)
|
||||
{
|
||||
var bounds = (self.isa.method_msgSend["bounds"] || _objj_forward)(self, "bounds"),
|
||||
availWidth = CGRectGetWidth(bounds) - self._edgeInsets.left - self._edgeInsets.right,
|
||||
availHeight = CGRectGetHeight(bounds) - self._edgeInsets.top - self._edgeInsets.bottom,
|
||||
currentY = self._edgeInsets.top;
|
||||
currentY = (self.isa.method_msgSend["_layoutViews:startOffset:availableOrthogonalSize:direction:"] || _objj_forward)(self, "_layoutViews:startOffset:availableOrthogonalSize:direction:", self._viewsLeading, currentY, availWidth, 1);
|
||||
var startBottom = CGRectGetHeight(bounds) - self._edgeInsets.bottom;
|
||||
(self.isa.method_msgSend["_layoutViews:startOffset:availableOrthogonalSize:direction:"] || _objj_forward)(self, "_layoutViews:startOffset:availableOrthogonalSize:direction:", self._viewsTrailing, startBottom, availWidth, -1);
|
||||
if (((___r1 = self._viewsCenter), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["count"] || _objj_forward)(___r1, "count")) > 0)
|
||||
{
|
||||
var centerStackHeight = 0.0;
|
||||
for (var i = 0; i < ((___r1 = self._viewsCenter), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["count"] || _objj_forward)(___r1, "count")); i++)
|
||||
{
|
||||
var view = self._viewsCenter[i];
|
||||
if (self._detachesHiddenViews && (view == null ? view : (view.isa.method_msgSend["isHidden"] || _objj_forward)(view, "isHidden")))
|
||||
continue;
|
||||
centerStackHeight += CGRectGetHeight((view == null ? view : (view.isa.method_msgSend["frame"] || _objj_forward)(view, "frame")));
|
||||
if (i < ((___r1 = self._viewsCenter), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["count"] || _objj_forward)(___r1, "count")) - 1)
|
||||
centerStackHeight += (self.isa.method_msgSend["_spacingAfterView:"] || _objj_forward)(self, "_spacingAfterView:", view);
|
||||
}
|
||||
var centerStart = CGRectGetHeight(bounds) / 2.0 - centerStackHeight / 2.0;
|
||||
if (centerStart < currentY)
|
||||
centerStart = currentY;
|
||||
(self.isa.method_msgSend["_layoutViews:startOffset:availableOrthogonalSize:direction:"] || _objj_forward)(self, "_layoutViews:startOffset:availableOrthogonalSize:direction:", self._viewsCenter, centerStart, availWidth, 1);
|
||||
}
|
||||
var ___r1;
|
||||
}
|
||||
|
||||
,["void"]), new objj_method(sel_getUid("_layoutViews:startOffset:availableOrthogonalSize:direction:"), function $CPStackView___layoutViews_startOffset_availableOrthogonalSize_direction_(self, _cmd, views, offset, orthoSize, dir)
|
||||
{
|
||||
var cursor = offset;
|
||||
var isVert = self._orientation === CPUserInterfaceLayoutOrientationVertical;
|
||||
var count = (views == null ? views : (views.isa.method_msgSend["count"] || _objj_forward)(views, "count"));
|
||||
if (count === 0)
|
||||
return cursor;
|
||||
var i = dir === 1 ? 0 : count - 1;
|
||||
var limit = dir === 1 ? count : -1;
|
||||
var step = dir === 1 ? 1 : -1;
|
||||
for (; i !== limit; i += step)
|
||||
{
|
||||
var view = views[i];
|
||||
if (self._detachesHiddenViews && (view == null ? view : (view.isa.method_msgSend["isHidden"] || _objj_forward)(view, "isHidden")))
|
||||
continue;
|
||||
var viewFrame = (view == null ? view : (view.isa.method_msgSend["frame"] || _objj_forward)(view, "frame"));
|
||||
var viewSizePrimary = isVert ? CGRectGetHeight(viewFrame) : CGRectGetWidth(viewFrame);
|
||||
var orthoPos = 0.0;
|
||||
var viewOrthoSize = isVert ? CGRectGetWidth(viewFrame) : CGRectGetHeight(viewFrame);
|
||||
if (isVert)
|
||||
{
|
||||
if (self._alignment === CPLayoutAttributeWidth || self._alignment === CPLayoutAttributeLeading || self._alignment === CPLayoutAttributeTrailing)
|
||||
{
|
||||
if (self._alignment === CPLayoutAttributeWidth || self._alignment === CPLayoutAttributeLeft || self._alignment === CPLayoutAttributeLeading)
|
||||
{
|
||||
if (self._alignment === CPLayoutAttributeWidth)
|
||||
viewOrthoSize = orthoSize;
|
||||
orthoPos = self._edgeInsets.left;
|
||||
}
|
||||
else if (self._alignment === CPLayoutAttributeRight || self._alignment === CPLayoutAttributeTrailing)
|
||||
{
|
||||
orthoPos = self._edgeInsets.left + (orthoSize - viewOrthoSize);
|
||||
}
|
||||
else
|
||||
{
|
||||
orthoPos = self._edgeInsets.left + (orthoSize - viewOrthoSize) / 2.0;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
orthoPos = self._edgeInsets.left + (orthoSize - viewOrthoSize) / 2.0;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if (self._alignment === CPLayoutAttributeHeight || self._alignment === CPLayoutAttributeTop || self._alignment === CPLayoutAttributeBottom)
|
||||
{
|
||||
if (self._alignment === CPLayoutAttributeHeight)
|
||||
{
|
||||
viewOrthoSize = orthoSize;
|
||||
orthoPos = self._edgeInsets.top;
|
||||
}
|
||||
else if (self._alignment === CPLayoutAttributeTop)
|
||||
{
|
||||
orthoPos = self._edgeInsets.top;
|
||||
}
|
||||
else if (self._alignment === CPLayoutAttributeBottom)
|
||||
{
|
||||
orthoPos = self._edgeInsets.top + (orthoSize - viewOrthoSize);
|
||||
}
|
||||
else
|
||||
{
|
||||
orthoPos = self._edgeInsets.top + (orthoSize - viewOrthoSize) / 2.0;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
orthoPos = self._edgeInsets.top + (orthoSize - viewOrthoSize) / 2.0;
|
||||
}
|
||||
}
|
||||
var originX = 0.0,
|
||||
originY = 0.0;
|
||||
var sizeW = 0.0,
|
||||
sizeH = 0.0;
|
||||
if (isVert)
|
||||
{
|
||||
sizeH = viewSizePrimary;
|
||||
sizeW = viewOrthoSize;
|
||||
originX = orthoPos;
|
||||
if (dir === 1)
|
||||
{
|
||||
originY = cursor;
|
||||
cursor += sizeH + (self.isa.method_msgSend["_spacingAfterView:"] || _objj_forward)(self, "_spacingAfterView:", view);
|
||||
}
|
||||
else
|
||||
{
|
||||
cursor -= sizeH;
|
||||
originY = cursor;
|
||||
cursor -= (self.isa.method_msgSend["_spacingAfterView:"] || _objj_forward)(self, "_spacingAfterView:", view);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
sizeW = viewSizePrimary;
|
||||
sizeH = viewOrthoSize;
|
||||
originY = orthoPos;
|
||||
if (dir === 1)
|
||||
{
|
||||
originX = cursor;
|
||||
cursor += sizeW + (self.isa.method_msgSend["_spacingAfterView:"] || _objj_forward)(self, "_spacingAfterView:", view);
|
||||
}
|
||||
else
|
||||
{
|
||||
cursor -= sizeW;
|
||||
originX = cursor;
|
||||
cursor -= (self.isa.method_msgSend["_spacingAfterView:"] || _objj_forward)(self, "_spacingAfterView:", view);
|
||||
}
|
||||
}
|
||||
(view == null ? view : (view.isa.method_msgSend["setFrame:"] || _objj_forward)(view, "setFrame:", CGRectMake(originX, originY, sizeW, sizeH)));
|
||||
}
|
||||
return cursor;
|
||||
}
|
||||
|
||||
,["float","CPArray","float","float","int"]), new objj_method(sel_getUid("initWithCoder:"), function $CPStackView__initWithCoder_(self, _cmd, aCoder)
|
||||
{
|
||||
self = (objj_getClass("CPStackView").super_class.method_dtable["initWithCoder:"] || _objj_forward)(self, "initWithCoder:", aCoder);
|
||||
if (self)
|
||||
{
|
||||
self._orientation = (aCoder == null ? aCoder : (aCoder.isa.method_msgSend["decodeIntForKey:"] || _objj_forward)(aCoder, "decodeIntForKey:", "CPStackViewOrientation"));
|
||||
self._alignment = (aCoder == null ? aCoder : (aCoder.isa.method_msgSend["decodeIntForKey:"] || _objj_forward)(aCoder, "decodeIntForKey:", "CPStackViewAlignment"));
|
||||
self._spacing = (aCoder == null ? aCoder : (aCoder.isa.method_msgSend["decodeFloatForKey:"] || _objj_forward)(aCoder, "decodeFloatForKey:", "CPStackViewSpacing"));
|
||||
self._edgeInsets = (aCoder == null ? aCoder : (aCoder.isa.method_msgSend["decodeObjectForKey:"] || _objj_forward)(aCoder, "decodeObjectForKey:", "CPStackViewEdgeInsets"));
|
||||
if (!self._edgeInsets)
|
||||
self._edgeInsets = CPEdgeInsetsMake(0, 0, 0, 0);
|
||||
self._detachesHiddenViews = (aCoder == null ? aCoder : (aCoder.isa.method_msgSend["decodeBoolForKey:"] || _objj_forward)(aCoder, "decodeBoolForKey:", "CPStackViewDetachesHiddenViews"));
|
||||
self._viewsLeading = (aCoder == null ? aCoder : (aCoder.isa.method_msgSend["decodeObjectForKey:"] || _objj_forward)(aCoder, "decodeObjectForKey:", "CPStackViewViewsLeading")) || [];
|
||||
self._viewsCenter = (aCoder == null ? aCoder : (aCoder.isa.method_msgSend["decodeObjectForKey:"] || _objj_forward)(aCoder, "decodeObjectForKey:", "CPStackViewViewsCenter")) || [];
|
||||
self._viewsTrailing = (aCoder == null ? aCoder : (aCoder.isa.method_msgSend["decodeObjectForKey:"] || _objj_forward)(aCoder, "decodeObjectForKey:", "CPStackViewViewsTrailing")) || [];
|
||||
self._arrangedSubviews = ((___r1 = (CPMutableArray.isa.method_msgSend["alloc"] || _objj_forward)(CPMutableArray, "alloc")), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["init"] || _objj_forward)(___r1, "init"));
|
||||
((___r1 = self._arrangedSubviews), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["addObjectsFromArray:"] || _objj_forward)(___r1, "addObjectsFromArray:", self._viewsLeading));
|
||||
((___r1 = self._arrangedSubviews), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["addObjectsFromArray:"] || _objj_forward)(___r1, "addObjectsFromArray:", self._viewsCenter));
|
||||
((___r1 = self._arrangedSubviews), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["addObjectsFromArray:"] || _objj_forward)(___r1, "addObjectsFromArray:", self._viewsTrailing));
|
||||
self._customSpacings = (aCoder == null ? aCoder : (aCoder.isa.method_msgSend["decodeObjectForKey:"] || _objj_forward)(aCoder, "decodeObjectForKey:", "CPStackViewCustomSpacings")) || ((___r1 = (CPMapTable == null ? CPMapTable : (CPMapTable.isa.method_msgSend["alloc"] || _objj_forward)(CPMapTable, "alloc"))), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["init"] || _objj_forward)(___r1, "init"));
|
||||
self._visibilityPriorities = ((___r1 = (CPMapTable == null ? CPMapTable : (CPMapTable.isa.method_msgSend["alloc"] || _objj_forward)(CPMapTable, "alloc"))), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["init"] || _objj_forward)(___r1, "init"));
|
||||
}
|
||||
return self;
|
||||
var ___r1;
|
||||
}
|
||||
|
||||
,["id","CPCoder"]), new objj_method(sel_getUid("encodeWithCoder:"), function $CPStackView__encodeWithCoder_(self, _cmd, aCoder)
|
||||
{
|
||||
(objj_getClass("CPStackView").super_class.method_dtable["encodeWithCoder:"] || _objj_forward)(self, "encodeWithCoder:", aCoder);
|
||||
(aCoder == null ? aCoder : (aCoder.isa.method_msgSend["encodeInt:forKey:"] || _objj_forward)(aCoder, "encodeInt:forKey:", self._orientation, "CPStackViewOrientation"));
|
||||
(aCoder == null ? aCoder : (aCoder.isa.method_msgSend["encodeInt:forKey:"] || _objj_forward)(aCoder, "encodeInt:forKey:", self._alignment, "CPStackViewAlignment"));
|
||||
(aCoder == null ? aCoder : (aCoder.isa.method_msgSend["encodeFloat:forKey:"] || _objj_forward)(aCoder, "encodeFloat:forKey:", self._spacing, "CPStackViewSpacing"));
|
||||
(aCoder == null ? aCoder : (aCoder.isa.method_msgSend["encodeObject:forKey:"] || _objj_forward)(aCoder, "encodeObject:forKey:", self._edgeInsets, "CPStackViewEdgeInsets"));
|
||||
(aCoder == null ? aCoder : (aCoder.isa.method_msgSend["encodeBool:forKey:"] || _objj_forward)(aCoder, "encodeBool:forKey:", self._detachesHiddenViews, "CPStackViewDetachesHiddenViews"));
|
||||
(aCoder == null ? aCoder : (aCoder.isa.method_msgSend["encodeObject:forKey:"] || _objj_forward)(aCoder, "encodeObject:forKey:", self._viewsLeading, "CPStackViewViewsLeading"));
|
||||
(aCoder == null ? aCoder : (aCoder.isa.method_msgSend["encodeObject:forKey:"] || _objj_forward)(aCoder, "encodeObject:forKey:", self._viewsCenter, "CPStackViewViewsCenter"));
|
||||
(aCoder == null ? aCoder : (aCoder.isa.method_msgSend["encodeObject:forKey:"] || _objj_forward)(aCoder, "encodeObject:forKey:", self._viewsTrailing, "CPStackViewViewsTrailing"));
|
||||
(aCoder == null ? aCoder : (aCoder.isa.method_msgSend["encodeObject:forKey:"] || _objj_forward)(aCoder, "encodeObject:forKey:", self._customSpacings, "CPStackViewCustomSpacings"));
|
||||
}
|
||||
|
||||
,["void","CPCoder"])]);
|
||||
class_addMethods(meta_class, [new objj_method(sel_getUid("stackViewWithViews:"), function $CPStackView__stackViewWithViews_(self, _cmd, views)
|
||||
{
|
||||
var stackView = ((___r1 = (CPStackView.isa.method_msgSend["alloc"] || _objj_forward)(CPStackView, "alloc")), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["initWithFrame:"] || _objj_forward)(___r1, "initWithFrame:", CGRectMakeZero()));
|
||||
for (var i = 0, count = (views == null ? views : (views.isa.method_msgSend["count"] || _objj_forward)(views, "count")); i < count; i++)
|
||||
(stackView == null ? stackView : (stackView.isa.method_msgSend["addView:inGravity:"] || _objj_forward)(stackView, "addView:inGravity:", views[i], CPStackViewGravityLeading));
|
||||
return stackView;
|
||||
var ___r1;
|
||||
}
|
||||
|
||||
,["CPStackView","CPArray"])]);
|
||||
}
|
||||
p;11;CPStepper.jt;21872;@STATIC;1.0;i;11;CPControl.ji;10;CPButton.ji;13;CPTextField.jt;21803;objj_executeFile("CPControl.j", YES);objj_executeFile("CPButton.j", YES);objj_executeFile("CPTextField.j", YES);
|
||||
{var the_class = objj_allocateClassPair(CPControl, "CPStepper"),
|
||||
meta_class = the_class.isa;class_addIvars(the_class, [new objj_ivar("_valueWraps", "BOOL"), new objj_ivar("_autorepeat", "BOOL"), new objj_ivar("_increment", "int"), new objj_ivar("_maxValue", "int"), new objj_ivar("_minValue", "int"), new objj_ivar("_buttonDown", "CPButton"), new objj_ivar("_buttonUp", "CPButton")]);objj_registerClassPair(the_class);
|
||||
|
||||
@@ -31022,6 +31022,505 @@ class_addMethods(meta_class, [new objj_method(sel_getUid("splitViewItemWithViewC
|
||||
|
||||
,["instancetype","CPViewController"])]);
|
||||
}
|
||||
p;13;CPStackView.jt;32509;@STATIC;1.0;i;8;CPView.jt;32477;objj_executeFile("CPView.j", YES);{var the_typedef = objj_allocateTypeDef("CPStackViewGravity");
|
||||
objj_registerTypeDef(the_typedef);
|
||||
}CPStackViewGravityTop = 1;
|
||||
CPStackViewGravityLeading = 1;
|
||||
CPStackViewGravityCenter = 2;
|
||||
CPStackViewGravityBottom = 3;
|
||||
CPStackViewGravityTrailing = 3;
|
||||
{var the_typedef = objj_allocateTypeDef("CPStackViewDistribution");
|
||||
objj_registerTypeDef(the_typedef);
|
||||
}CPStackViewDistributionGravityAreas = 0;
|
||||
CPStackViewDistributionFill = 1;
|
||||
CPStackViewDistributionFillEqually = 2;
|
||||
CPStackViewDistributionFillProportionally = 3;
|
||||
CPStackViewDistributionEqualSpacing = 4;
|
||||
CPStackViewDistributionEqualCentering = 5;
|
||||
{var the_typedef = objj_allocateTypeDef("CPStackViewVisibilityPriority");
|
||||
objj_registerTypeDef(the_typedef);
|
||||
}CPStackViewVisibilityPriorityMustHold = 1000.0;
|
||||
CPStackViewVisibilityPriorityNotVisible = 0.0;
|
||||
var CPStackViewSpacingUseDefault = 3.40282347e+38;
|
||||
|
||||
{var the_class = objj_allocateClassPair(CPView, "CPStackView"),
|
||||
meta_class = the_class.isa;class_addIvars(the_class, [new objj_ivar("_orientation", "CPUserInterfaceLayoutOrientation"), new objj_ivar("_alignment", "CPLayoutAttribute"), new objj_ivar("_spacing", "float"), new objj_ivar("_edgeInsets", "CPEdgeInsets"), new objj_ivar("_detachesHiddenViews", "BOOL"), new objj_ivar("_viewsLeading", "CPMutableArray"), new objj_ivar("_viewsCenter", "CPMutableArray"), new objj_ivar("_viewsTrailing", "CPMutableArray"), new objj_ivar("_arrangedSubviews", "CPMutableArray"), new objj_ivar("_customSpacings", "CPMapTable"), new objj_ivar("_visibilityPriorities", "CPMapTable")]);objj_registerClassPair(the_class);
|
||||
class_addMethods(the_class, [new objj_method(sel_getUid("initWithFrame:"), function $CPStackView__initWithFrame_(self, _cmd, aFrame)
|
||||
{
|
||||
if (self = (objj_getClass("CPStackView").super_class.method_dtable["initWithFrame:"] || _objj_forward)(self, "initWithFrame:", aFrame))
|
||||
{
|
||||
self._orientation = CPUserInterfaceLayoutOrientationHorizontal;
|
||||
self._alignment = CPLayoutAttributeCenterY;
|
||||
self._spacing = 8.0;
|
||||
self._edgeInsets = CPEdgeInsetsMake(0, 0, 0, 0);
|
||||
self._detachesHiddenViews = YES;
|
||||
self._viewsLeading = ((___r1 = (CPMutableArray.isa.method_msgSend["alloc"] || _objj_forward)(CPMutableArray, "alloc")), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["init"] || _objj_forward)(___r1, "init"));
|
||||
self._viewsCenter = ((___r1 = (CPMutableArray.isa.method_msgSend["alloc"] || _objj_forward)(CPMutableArray, "alloc")), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["init"] || _objj_forward)(___r1, "init"));
|
||||
self._viewsTrailing = ((___r1 = (CPMutableArray.isa.method_msgSend["alloc"] || _objj_forward)(CPMutableArray, "alloc")), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["init"] || _objj_forward)(___r1, "init"));
|
||||
self._arrangedSubviews = ((___r1 = (CPMutableArray.isa.method_msgSend["alloc"] || _objj_forward)(CPMutableArray, "alloc")), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["init"] || _objj_forward)(___r1, "init"));
|
||||
self._customSpacings = ((___r1 = (CPMapTable == null ? CPMapTable : (CPMapTable.isa.method_msgSend["alloc"] || _objj_forward)(CPMapTable, "alloc"))), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["init"] || _objj_forward)(___r1, "init"));
|
||||
self._visibilityPriorities = ((___r1 = (CPMapTable == null ? CPMapTable : (CPMapTable.isa.method_msgSend["alloc"] || _objj_forward)(CPMapTable, "alloc"))), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["init"] || _objj_forward)(___r1, "init"));
|
||||
}
|
||||
return self;
|
||||
var ___r1;
|
||||
}
|
||||
|
||||
,["id","CGRect"]), new objj_method(sel_getUid("orientation"), function $CPStackView__orientation(self, _cmd)
|
||||
{
|
||||
return self._orientation;
|
||||
}
|
||||
|
||||
,["CPUserInterfaceLayoutOrientation"]), new objj_method(sel_getUid("setOrientation:"), function $CPStackView__setOrientation_(self, _cmd, anOrientation)
|
||||
{
|
||||
if (self._orientation === anOrientation)
|
||||
return;
|
||||
self._orientation = anOrientation;
|
||||
if (self._orientation === CPUserInterfaceLayoutOrientationVertical)
|
||||
{
|
||||
if (self._alignment === CPLayoutAttributeCenterY)
|
||||
self._alignment = CPLayoutAttributeCenterX;
|
||||
}
|
||||
else
|
||||
{
|
||||
if (self._alignment === CPLayoutAttributeCenterX)
|
||||
self._alignment = CPLayoutAttributeCenterY;
|
||||
}
|
||||
(self.isa.method_msgSend["setNeedsLayout:"] || _objj_forward)(self, "setNeedsLayout:", YES);
|
||||
}
|
||||
|
||||
,["void","CPUserInterfaceLayoutOrientation"]), new objj_method(sel_getUid("alignment"), function $CPStackView__alignment(self, _cmd)
|
||||
{
|
||||
return self._alignment;
|
||||
}
|
||||
|
||||
,["CPLayoutAttribute"]), new objj_method(sel_getUid("setAlignment:"), function $CPStackView__setAlignment_(self, _cmd, anAlignment)
|
||||
{
|
||||
if (self._alignment === anAlignment)
|
||||
return;
|
||||
self._alignment = anAlignment;
|
||||
(self.isa.method_msgSend["setNeedsLayout:"] || _objj_forward)(self, "setNeedsLayout:", YES);
|
||||
}
|
||||
|
||||
,["void","CPLayoutAttribute"]), new objj_method(sel_getUid("spacing"), function $CPStackView__spacing(self, _cmd)
|
||||
{
|
||||
return self._spacing;
|
||||
}
|
||||
|
||||
,["float"]), new objj_method(sel_getUid("setSpacing:"), function $CPStackView__setSpacing_(self, _cmd, aSpacing)
|
||||
{
|
||||
if (self._spacing === aSpacing)
|
||||
return;
|
||||
self._spacing = aSpacing;
|
||||
(self.isa.method_msgSend["setNeedsLayout:"] || _objj_forward)(self, "setNeedsLayout:", YES);
|
||||
}
|
||||
|
||||
,["void","float"]), new objj_method(sel_getUid("edgeInsets"), function $CPStackView__edgeInsets(self, _cmd)
|
||||
{
|
||||
return self._edgeInsets;
|
||||
}
|
||||
|
||||
,["CPEdgeInsets"]), new objj_method(sel_getUid("setEdgeInsets:"), function $CPStackView__setEdgeInsets_(self, _cmd, insets)
|
||||
{
|
||||
if (CPEdgeInsetsEqualToEdgeInsets(self._edgeInsets, insets))
|
||||
return;
|
||||
self._edgeInsets = insets;
|
||||
(self.isa.method_msgSend["setNeedsLayout:"] || _objj_forward)(self, "setNeedsLayout:", YES);
|
||||
}
|
||||
|
||||
,["void","CPEdgeInsets"]), new objj_method(sel_getUid("detachesHiddenViews"), function $CPStackView__detachesHiddenViews(self, _cmd)
|
||||
{
|
||||
return self._detachesHiddenViews;
|
||||
}
|
||||
|
||||
,["BOOL"]), new objj_method(sel_getUid("setDetachesHiddenViews:"), function $CPStackView__setDetachesHiddenViews_(self, _cmd, shouldDetach)
|
||||
{
|
||||
if (self._detachesHiddenViews === shouldDetach)
|
||||
return;
|
||||
self._detachesHiddenViews = shouldDetach;
|
||||
(self.isa.method_msgSend["setNeedsLayout:"] || _objj_forward)(self, "setNeedsLayout:", YES);
|
||||
}
|
||||
|
||||
,["void","BOOL"]), new objj_method(sel_getUid("_containerForGravity:"), function $CPStackView___containerForGravity_(self, _cmd, gravity)
|
||||
{
|
||||
if (gravity === CPStackViewGravityCenter)
|
||||
return self._viewsCenter;
|
||||
else if (gravity === CPStackViewGravityTrailing)
|
||||
return self._viewsTrailing;
|
||||
return self._viewsLeading;
|
||||
}
|
||||
|
||||
,["CPArray","CPStackViewGravity"]), new objj_method(sel_getUid("addView:inGravity:"), function $CPStackView__addView_inGravity_(self, _cmd, aView, gravity)
|
||||
{
|
||||
var container = (self.isa.method_msgSend["_containerForGravity:"] || _objj_forward)(self, "_containerForGravity:", gravity);
|
||||
if (((___r1 = self._arrangedSubviews), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["containsObject:"] || _objj_forward)(___r1, "containsObject:", aView)))
|
||||
(self.isa.method_msgSend["removeView:"] || _objj_forward)(self, "removeView:", aView);
|
||||
(container == null ? container : (container.isa.method_msgSend["addObject:"] || _objj_forward)(container, "addObject:", aView));
|
||||
((___r1 = self._arrangedSubviews), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["addObject:"] || _objj_forward)(___r1, "addObject:", aView));
|
||||
if ((aView == null ? aView : (aView.isa.method_msgSend["superview"] || _objj_forward)(aView, "superview")) !== self)
|
||||
(self.isa.method_msgSend["addSubview:"] || _objj_forward)(self, "addSubview:", aView);
|
||||
(self.isa.method_msgSend["setNeedsLayout:"] || _objj_forward)(self, "setNeedsLayout:", YES);
|
||||
var ___r1;
|
||||
}
|
||||
|
||||
,["void","CPView","CPStackViewGravity"]), new objj_method(sel_getUid("insertView:atIndex:inGravity:"), function $CPStackView__insertView_atIndex_inGravity_(self, _cmd, aView, index, gravity)
|
||||
{
|
||||
var container = (self.isa.method_msgSend["_containerForGravity:"] || _objj_forward)(self, "_containerForGravity:", gravity);
|
||||
if (((___r1 = self._arrangedSubviews), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["containsObject:"] || _objj_forward)(___r1, "containsObject:", aView)))
|
||||
(self.isa.method_msgSend["removeView:"] || _objj_forward)(self, "removeView:", aView);
|
||||
if (index >= (container == null ? container : (container.isa.method_msgSend["count"] || _objj_forward)(container, "count")))
|
||||
(container == null ? container : (container.isa.method_msgSend["addObject:"] || _objj_forward)(container, "addObject:", aView));
|
||||
else
|
||||
(container == null ? container : (container.isa.method_msgSend["insertObject:atIndex:"] || _objj_forward)(container, "insertObject:atIndex:", aView, index));
|
||||
((___r1 = self._arrangedSubviews), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["addObject:"] || _objj_forward)(___r1, "addObject:", aView));
|
||||
if ((aView == null ? aView : (aView.isa.method_msgSend["superview"] || _objj_forward)(aView, "superview")) !== self)
|
||||
(self.isa.method_msgSend["addSubview:"] || _objj_forward)(self, "addSubview:", aView);
|
||||
(self.isa.method_msgSend["setNeedsLayout:"] || _objj_forward)(self, "setNeedsLayout:", YES);
|
||||
var ___r1;
|
||||
}
|
||||
|
||||
,["void","CPView","CPInteger","CPStackViewGravity"]), new objj_method(sel_getUid("setViews:inGravity:"), function $CPStackView__setViews_inGravity_(self, _cmd, views, gravity)
|
||||
{
|
||||
var container = (self.isa.method_msgSend["_containerForGravity:"] || _objj_forward)(self, "_containerForGravity:", gravity);
|
||||
for (var i = 0; i < (container == null ? container : (container.isa.method_msgSend["count"] || _objj_forward)(container, "count")); i++)
|
||||
{
|
||||
var oldView = container[i];
|
||||
(oldView == null ? oldView : (oldView.isa.method_msgSend["removeFromSuperview"] || _objj_forward)(oldView, "removeFromSuperview"));
|
||||
((___r1 = self._arrangedSubviews), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["removeObject:"] || _objj_forward)(___r1, "removeObject:", oldView));
|
||||
}
|
||||
(container == null ? container : (container.isa.method_msgSend["removeAllObjects"] || _objj_forward)(container, "removeAllObjects"));
|
||||
for (var i = 0; i < (views == null ? views : (views.isa.method_msgSend["count"] || _objj_forward)(views, "count")); i++)
|
||||
{
|
||||
var newView = views[i];
|
||||
(container == null ? container : (container.isa.method_msgSend["addObject:"] || _objj_forward)(container, "addObject:", newView));
|
||||
((___r1 = self._arrangedSubviews), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["addObject:"] || _objj_forward)(___r1, "addObject:", newView));
|
||||
(self.isa.method_msgSend["addSubview:"] || _objj_forward)(self, "addSubview:", newView);
|
||||
}
|
||||
(self.isa.method_msgSend["setNeedsLayout:"] || _objj_forward)(self, "setNeedsLayout:", YES);
|
||||
var ___r1;
|
||||
}
|
||||
|
||||
,["void","CPArray","CPStackViewGravity"]), new objj_method(sel_getUid("removeView:"), function $CPStackView__removeView_(self, _cmd, aView)
|
||||
{
|
||||
if (!((___r1 = self._arrangedSubviews), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["containsObject:"] || _objj_forward)(___r1, "containsObject:", aView)))
|
||||
return;
|
||||
((___r1 = self._viewsLeading), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["removeObject:"] || _objj_forward)(___r1, "removeObject:", aView));
|
||||
((___r1 = self._viewsCenter), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["removeObject:"] || _objj_forward)(___r1, "removeObject:", aView));
|
||||
((___r1 = self._viewsTrailing), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["removeObject:"] || _objj_forward)(___r1, "removeObject:", aView));
|
||||
((___r1 = self._arrangedSubviews), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["removeObject:"] || _objj_forward)(___r1, "removeObject:", aView));
|
||||
(aView == null ? aView : (aView.isa.method_msgSend["removeFromSuperview"] || _objj_forward)(aView, "removeFromSuperview"));
|
||||
(self.isa.method_msgSend["setNeedsLayout:"] || _objj_forward)(self, "setNeedsLayout:", YES);
|
||||
var ___r1;
|
||||
}
|
||||
|
||||
,["void","CPView"]), new objj_method(sel_getUid("viewsInGravity:"), function $CPStackView__viewsInGravity_(self, _cmd, gravity)
|
||||
{
|
||||
return ((___r1 = (self.isa.method_msgSend["_containerForGravity:"] || _objj_forward)(self, "_containerForGravity:", gravity)), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["copy"] || _objj_forward)(___r1, "copy"));
|
||||
var ___r1;
|
||||
}
|
||||
|
||||
,["CPArray","CPStackViewGravity"]), new objj_method(sel_getUid("arrangedSubviews"), function $CPStackView__arrangedSubviews(self, _cmd)
|
||||
{
|
||||
return ((___r1 = self._arrangedSubviews), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["copy"] || _objj_forward)(___r1, "copy"));
|
||||
var ___r1;
|
||||
}
|
||||
|
||||
,["CPArray"]), new objj_method(sel_getUid("addArrangedSubview:"), function $CPStackView__addArrangedSubview_(self, _cmd, view)
|
||||
{
|
||||
(self.isa.method_msgSend["addView:inGravity:"] || _objj_forward)(self, "addView:inGravity:", view, CPStackViewGravityLeading);
|
||||
}
|
||||
|
||||
,["void","CPView"]), new objj_method(sel_getUid("removeArrangedSubview:"), function $CPStackView__removeArrangedSubview_(self, _cmd, view)
|
||||
{
|
||||
(self.isa.method_msgSend["removeView:"] || _objj_forward)(self, "removeView:", view);
|
||||
}
|
||||
|
||||
,["void","CPView"]), new objj_method(sel_getUid("customSpacingAfterView:"), function $CPStackView__customSpacingAfterView_(self, _cmd, aView)
|
||||
{
|
||||
var val = ((___r1 = self._customSpacings), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["objectForKey:"] || _objj_forward)(___r1, "objectForKey:", aView));
|
||||
if (val)
|
||||
return (val == null ? val : (val.isa.method_msgSend["floatValue"] || _objj_forward)(val, "floatValue"));
|
||||
return CPStackViewSpacingUseDefault;
|
||||
var ___r1;
|
||||
}
|
||||
|
||||
,["float","CPView"]), new objj_method(sel_getUid("setCustomSpacing:afterView:"), function $CPStackView__setCustomSpacing_afterView_(self, _cmd, spacing, aView)
|
||||
{
|
||||
if (spacing === CPStackViewSpacingUseDefault)
|
||||
((___r1 = self._customSpacings), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["removeObjectForKey:"] || _objj_forward)(___r1, "removeObjectForKey:", aView));
|
||||
else
|
||||
((___r1 = self._customSpacings), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["setObject:forKey:"] || _objj_forward)(___r1, "setObject:forKey:", spacing, aView));
|
||||
(self.isa.method_msgSend["setNeedsLayout:"] || _objj_forward)(self, "setNeedsLayout:", YES);
|
||||
var ___r1;
|
||||
}
|
||||
|
||||
,["void","float","CPView"]), new objj_method(sel_getUid("_spacingAfterView:"), function $CPStackView___spacingAfterView_(self, _cmd, aView)
|
||||
{
|
||||
var custom = (self.isa.method_msgSend["customSpacingAfterView:"] || _objj_forward)(self, "customSpacingAfterView:", aView);
|
||||
if (custom !== CPStackViewSpacingUseDefault)
|
||||
return custom;
|
||||
return self._spacing;
|
||||
}
|
||||
|
||||
,["float","CPView"]), new objj_method(sel_getUid("setVisibilityPriority:forView:"), function $CPStackView__setVisibilityPriority_forView_(self, _cmd, priority, aView)
|
||||
{
|
||||
((___r1 = self._visibilityPriorities), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["setObject:forKey:"] || _objj_forward)(___r1, "setObject:forKey:", priority, aView));
|
||||
if (priority === CPStackViewVisibilityPriorityNotVisible)
|
||||
{
|
||||
(aView == null ? aView : (aView.isa.method_msgSend["setHidden:"] || _objj_forward)(aView, "setHidden:", YES));
|
||||
}
|
||||
else if (priority === CPStackViewVisibilityPriorityMustHold)
|
||||
{
|
||||
(aView == null ? aView : (aView.isa.method_msgSend["setHidden:"] || _objj_forward)(aView, "setHidden:", NO));
|
||||
}
|
||||
(self.isa.method_msgSend["setNeedsLayout:"] || _objj_forward)(self, "setNeedsLayout:", YES);
|
||||
var ___r1;
|
||||
}
|
||||
|
||||
,["void","float","CPView"]), new objj_method(sel_getUid("visibilityPriorityForView:"), function $CPStackView__visibilityPriorityForView_(self, _cmd, aView)
|
||||
{
|
||||
var val = ((___r1 = self._visibilityPriorities), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["objectForKey:"] || _objj_forward)(___r1, "objectForKey:", aView));
|
||||
if (val)
|
||||
return (val == null ? val : (val.isa.method_msgSend["floatValue"] || _objj_forward)(val, "floatValue"));
|
||||
return CPStackViewVisibilityPriorityMustHold;
|
||||
var ___r1;
|
||||
}
|
||||
|
||||
,["float","CPView"]), new objj_method(sel_getUid("resizeSubviewsWithOldSize:"), function $CPStackView__resizeSubviewsWithOldSize_(self, _cmd, oldSize)
|
||||
{
|
||||
(self.isa.method_msgSend["layoutSubviews"] || _objj_forward)(self, "layoutSubviews");
|
||||
}
|
||||
|
||||
,["void","CGSize"]), new objj_method(sel_getUid("layoutSubviews"), function $CPStackView__layoutSubviews(self, _cmd)
|
||||
{
|
||||
if (self._orientation === CPUserInterfaceLayoutOrientationVertical)
|
||||
(self.isa.method_msgSend["_layoutVertical"] || _objj_forward)(self, "_layoutVertical");
|
||||
else
|
||||
(self.isa.method_msgSend["_layoutHorizontal"] || _objj_forward)(self, "_layoutHorizontal");
|
||||
}
|
||||
|
||||
,["void"]), new objj_method(sel_getUid("_layoutHorizontal"), function $CPStackView___layoutHorizontal(self, _cmd)
|
||||
{
|
||||
var bounds = (self.isa.method_msgSend["bounds"] || _objj_forward)(self, "bounds"),
|
||||
availWidth = CGRectGetWidth(bounds) - self._edgeInsets.left - self._edgeInsets.right,
|
||||
availHeight = CGRectGetHeight(bounds) - self._edgeInsets.top - self._edgeInsets.bottom,
|
||||
currentX = self._edgeInsets.left;
|
||||
currentX = (self.isa.method_msgSend["_layoutViews:startOffset:availableOrthogonalSize:direction:"] || _objj_forward)(self, "_layoutViews:startOffset:availableOrthogonalSize:direction:", self._viewsLeading, currentX, availHeight, 1);
|
||||
var startRight = CGRectGetWidth(bounds) - self._edgeInsets.right;
|
||||
(self.isa.method_msgSend["_layoutViews:startOffset:availableOrthogonalSize:direction:"] || _objj_forward)(self, "_layoutViews:startOffset:availableOrthogonalSize:direction:", self._viewsTrailing, startRight, availHeight, -1);
|
||||
if (((___r1 = self._viewsCenter), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["count"] || _objj_forward)(___r1, "count")) > 0)
|
||||
{
|
||||
var centerStackWidth = 0.0;
|
||||
for (var i = 0; i < ((___r1 = self._viewsCenter), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["count"] || _objj_forward)(___r1, "count")); i++)
|
||||
{
|
||||
var view = self._viewsCenter[i];
|
||||
if (self._detachesHiddenViews && (view == null ? view : (view.isa.method_msgSend["isHidden"] || _objj_forward)(view, "isHidden")))
|
||||
continue;
|
||||
centerStackWidth += CGRectGetWidth((view == null ? view : (view.isa.method_msgSend["frame"] || _objj_forward)(view, "frame")));
|
||||
if (i < ((___r1 = self._viewsCenter), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["count"] || _objj_forward)(___r1, "count")) - 1)
|
||||
centerStackWidth += (self.isa.method_msgSend["_spacingAfterView:"] || _objj_forward)(self, "_spacingAfterView:", view);
|
||||
}
|
||||
var centerStart = CGRectGetWidth(bounds) / 2.0 - centerStackWidth / 2.0;
|
||||
if (centerStart < currentX)
|
||||
centerStart = currentX;
|
||||
(self.isa.method_msgSend["_layoutViews:startOffset:availableOrthogonalSize:direction:"] || _objj_forward)(self, "_layoutViews:startOffset:availableOrthogonalSize:direction:", self._viewsCenter, centerStart, availHeight, 1);
|
||||
}
|
||||
var ___r1;
|
||||
}
|
||||
|
||||
,["void"]), new objj_method(sel_getUid("_layoutVertical"), function $CPStackView___layoutVertical(self, _cmd)
|
||||
{
|
||||
var bounds = (self.isa.method_msgSend["bounds"] || _objj_forward)(self, "bounds"),
|
||||
availWidth = CGRectGetWidth(bounds) - self._edgeInsets.left - self._edgeInsets.right,
|
||||
availHeight = CGRectGetHeight(bounds) - self._edgeInsets.top - self._edgeInsets.bottom,
|
||||
currentY = self._edgeInsets.top;
|
||||
currentY = (self.isa.method_msgSend["_layoutViews:startOffset:availableOrthogonalSize:direction:"] || _objj_forward)(self, "_layoutViews:startOffset:availableOrthogonalSize:direction:", self._viewsLeading, currentY, availWidth, 1);
|
||||
var startBottom = CGRectGetHeight(bounds) - self._edgeInsets.bottom;
|
||||
(self.isa.method_msgSend["_layoutViews:startOffset:availableOrthogonalSize:direction:"] || _objj_forward)(self, "_layoutViews:startOffset:availableOrthogonalSize:direction:", self._viewsTrailing, startBottom, availWidth, -1);
|
||||
if (((___r1 = self._viewsCenter), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["count"] || _objj_forward)(___r1, "count")) > 0)
|
||||
{
|
||||
var centerStackHeight = 0.0;
|
||||
for (var i = 0; i < ((___r1 = self._viewsCenter), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["count"] || _objj_forward)(___r1, "count")); i++)
|
||||
{
|
||||
var view = self._viewsCenter[i];
|
||||
if (self._detachesHiddenViews && (view == null ? view : (view.isa.method_msgSend["isHidden"] || _objj_forward)(view, "isHidden")))
|
||||
continue;
|
||||
centerStackHeight += CGRectGetHeight((view == null ? view : (view.isa.method_msgSend["frame"] || _objj_forward)(view, "frame")));
|
||||
if (i < ((___r1 = self._viewsCenter), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["count"] || _objj_forward)(___r1, "count")) - 1)
|
||||
centerStackHeight += (self.isa.method_msgSend["_spacingAfterView:"] || _objj_forward)(self, "_spacingAfterView:", view);
|
||||
}
|
||||
var centerStart = CGRectGetHeight(bounds) / 2.0 - centerStackHeight / 2.0;
|
||||
if (centerStart < currentY)
|
||||
centerStart = currentY;
|
||||
(self.isa.method_msgSend["_layoutViews:startOffset:availableOrthogonalSize:direction:"] || _objj_forward)(self, "_layoutViews:startOffset:availableOrthogonalSize:direction:", self._viewsCenter, centerStart, availWidth, 1);
|
||||
}
|
||||
var ___r1;
|
||||
}
|
||||
|
||||
,["void"]), new objj_method(sel_getUid("_layoutViews:startOffset:availableOrthogonalSize:direction:"), function $CPStackView___layoutViews_startOffset_availableOrthogonalSize_direction_(self, _cmd, views, offset, orthoSize, dir)
|
||||
{
|
||||
var cursor = offset;
|
||||
var isVert = self._orientation === CPUserInterfaceLayoutOrientationVertical;
|
||||
var count = (views == null ? views : (views.isa.method_msgSend["count"] || _objj_forward)(views, "count"));
|
||||
if (count === 0)
|
||||
return cursor;
|
||||
var i = dir === 1 ? 0 : count - 1;
|
||||
var limit = dir === 1 ? count : -1;
|
||||
var step = dir === 1 ? 1 : -1;
|
||||
for (; i !== limit; i += step)
|
||||
{
|
||||
var view = views[i];
|
||||
if (self._detachesHiddenViews && (view == null ? view : (view.isa.method_msgSend["isHidden"] || _objj_forward)(view, "isHidden")))
|
||||
continue;
|
||||
var viewFrame = (view == null ? view : (view.isa.method_msgSend["frame"] || _objj_forward)(view, "frame"));
|
||||
var viewSizePrimary = isVert ? CGRectGetHeight(viewFrame) : CGRectGetWidth(viewFrame);
|
||||
var orthoPos = 0.0;
|
||||
var viewOrthoSize = isVert ? CGRectGetWidth(viewFrame) : CGRectGetHeight(viewFrame);
|
||||
if (isVert)
|
||||
{
|
||||
if (self._alignment === CPLayoutAttributeWidth || self._alignment === CPLayoutAttributeLeading || self._alignment === CPLayoutAttributeTrailing)
|
||||
{
|
||||
if (self._alignment === CPLayoutAttributeWidth || self._alignment === CPLayoutAttributeLeft || self._alignment === CPLayoutAttributeLeading)
|
||||
{
|
||||
if (self._alignment === CPLayoutAttributeWidth)
|
||||
viewOrthoSize = orthoSize;
|
||||
orthoPos = self._edgeInsets.left;
|
||||
}
|
||||
else if (self._alignment === CPLayoutAttributeRight || self._alignment === CPLayoutAttributeTrailing)
|
||||
{
|
||||
orthoPos = self._edgeInsets.left + (orthoSize - viewOrthoSize);
|
||||
}
|
||||
else
|
||||
{
|
||||
orthoPos = self._edgeInsets.left + (orthoSize - viewOrthoSize) / 2.0;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
orthoPos = self._edgeInsets.left + (orthoSize - viewOrthoSize) / 2.0;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if (self._alignment === CPLayoutAttributeHeight || self._alignment === CPLayoutAttributeTop || self._alignment === CPLayoutAttributeBottom)
|
||||
{
|
||||
if (self._alignment === CPLayoutAttributeHeight)
|
||||
{
|
||||
viewOrthoSize = orthoSize;
|
||||
orthoPos = self._edgeInsets.top;
|
||||
}
|
||||
else if (self._alignment === CPLayoutAttributeTop)
|
||||
{
|
||||
orthoPos = self._edgeInsets.top;
|
||||
}
|
||||
else if (self._alignment === CPLayoutAttributeBottom)
|
||||
{
|
||||
orthoPos = self._edgeInsets.top + (orthoSize - viewOrthoSize);
|
||||
}
|
||||
else
|
||||
{
|
||||
orthoPos = self._edgeInsets.top + (orthoSize - viewOrthoSize) / 2.0;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
orthoPos = self._edgeInsets.top + (orthoSize - viewOrthoSize) / 2.0;
|
||||
}
|
||||
}
|
||||
var originX = 0.0,
|
||||
originY = 0.0;
|
||||
var sizeW = 0.0,
|
||||
sizeH = 0.0;
|
||||
if (isVert)
|
||||
{
|
||||
sizeH = viewSizePrimary;
|
||||
sizeW = viewOrthoSize;
|
||||
originX = orthoPos;
|
||||
if (dir === 1)
|
||||
{
|
||||
originY = cursor;
|
||||
cursor += sizeH + (self.isa.method_msgSend["_spacingAfterView:"] || _objj_forward)(self, "_spacingAfterView:", view);
|
||||
}
|
||||
else
|
||||
{
|
||||
cursor -= sizeH;
|
||||
originY = cursor;
|
||||
cursor -= (self.isa.method_msgSend["_spacingAfterView:"] || _objj_forward)(self, "_spacingAfterView:", view);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
sizeW = viewSizePrimary;
|
||||
sizeH = viewOrthoSize;
|
||||
originY = orthoPos;
|
||||
if (dir === 1)
|
||||
{
|
||||
originX = cursor;
|
||||
cursor += sizeW + (self.isa.method_msgSend["_spacingAfterView:"] || _objj_forward)(self, "_spacingAfterView:", view);
|
||||
}
|
||||
else
|
||||
{
|
||||
cursor -= sizeW;
|
||||
originX = cursor;
|
||||
cursor -= (self.isa.method_msgSend["_spacingAfterView:"] || _objj_forward)(self, "_spacingAfterView:", view);
|
||||
}
|
||||
}
|
||||
(view == null ? view : (view.isa.method_msgSend["setFrame:"] || _objj_forward)(view, "setFrame:", CGRectMake(originX, originY, sizeW, sizeH)));
|
||||
}
|
||||
return cursor;
|
||||
}
|
||||
|
||||
,["float","CPArray","float","float","int"]), new objj_method(sel_getUid("initWithCoder:"), function $CPStackView__initWithCoder_(self, _cmd, aCoder)
|
||||
{
|
||||
self = (objj_getClass("CPStackView").super_class.method_dtable["initWithCoder:"] || _objj_forward)(self, "initWithCoder:", aCoder);
|
||||
if (self)
|
||||
{
|
||||
self._orientation = (aCoder == null ? aCoder : (aCoder.isa.method_msgSend["decodeIntForKey:"] || _objj_forward)(aCoder, "decodeIntForKey:", "CPStackViewOrientation"));
|
||||
self._alignment = (aCoder == null ? aCoder : (aCoder.isa.method_msgSend["decodeIntForKey:"] || _objj_forward)(aCoder, "decodeIntForKey:", "CPStackViewAlignment"));
|
||||
self._spacing = (aCoder == null ? aCoder : (aCoder.isa.method_msgSend["decodeFloatForKey:"] || _objj_forward)(aCoder, "decodeFloatForKey:", "CPStackViewSpacing"));
|
||||
self._edgeInsets = (aCoder == null ? aCoder : (aCoder.isa.method_msgSend["decodeObjectForKey:"] || _objj_forward)(aCoder, "decodeObjectForKey:", "CPStackViewEdgeInsets"));
|
||||
if (!self._edgeInsets)
|
||||
self._edgeInsets = CPEdgeInsetsMake(0, 0, 0, 0);
|
||||
self._detachesHiddenViews = (aCoder == null ? aCoder : (aCoder.isa.method_msgSend["decodeBoolForKey:"] || _objj_forward)(aCoder, "decodeBoolForKey:", "CPStackViewDetachesHiddenViews"));
|
||||
self._viewsLeading = (aCoder == null ? aCoder : (aCoder.isa.method_msgSend["decodeObjectForKey:"] || _objj_forward)(aCoder, "decodeObjectForKey:", "CPStackViewViewsLeading")) || [];
|
||||
self._viewsCenter = (aCoder == null ? aCoder : (aCoder.isa.method_msgSend["decodeObjectForKey:"] || _objj_forward)(aCoder, "decodeObjectForKey:", "CPStackViewViewsCenter")) || [];
|
||||
self._viewsTrailing = (aCoder == null ? aCoder : (aCoder.isa.method_msgSend["decodeObjectForKey:"] || _objj_forward)(aCoder, "decodeObjectForKey:", "CPStackViewViewsTrailing")) || [];
|
||||
self._arrangedSubviews = ((___r1 = (CPMutableArray.isa.method_msgSend["alloc"] || _objj_forward)(CPMutableArray, "alloc")), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["init"] || _objj_forward)(___r1, "init"));
|
||||
((___r1 = self._arrangedSubviews), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["addObjectsFromArray:"] || _objj_forward)(___r1, "addObjectsFromArray:", self._viewsLeading));
|
||||
((___r1 = self._arrangedSubviews), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["addObjectsFromArray:"] || _objj_forward)(___r1, "addObjectsFromArray:", self._viewsCenter));
|
||||
((___r1 = self._arrangedSubviews), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["addObjectsFromArray:"] || _objj_forward)(___r1, "addObjectsFromArray:", self._viewsTrailing));
|
||||
self._customSpacings = (aCoder == null ? aCoder : (aCoder.isa.method_msgSend["decodeObjectForKey:"] || _objj_forward)(aCoder, "decodeObjectForKey:", "CPStackViewCustomSpacings")) || ((___r1 = (CPMapTable == null ? CPMapTable : (CPMapTable.isa.method_msgSend["alloc"] || _objj_forward)(CPMapTable, "alloc"))), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["init"] || _objj_forward)(___r1, "init"));
|
||||
self._visibilityPriorities = ((___r1 = (CPMapTable == null ? CPMapTable : (CPMapTable.isa.method_msgSend["alloc"] || _objj_forward)(CPMapTable, "alloc"))), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["init"] || _objj_forward)(___r1, "init"));
|
||||
}
|
||||
return self;
|
||||
var ___r1;
|
||||
}
|
||||
|
||||
,["id","CPCoder"]), new objj_method(sel_getUid("encodeWithCoder:"), function $CPStackView__encodeWithCoder_(self, _cmd, aCoder)
|
||||
{
|
||||
(objj_getClass("CPStackView").super_class.method_dtable["encodeWithCoder:"] || _objj_forward)(self, "encodeWithCoder:", aCoder);
|
||||
(aCoder == null ? aCoder : (aCoder.isa.method_msgSend["encodeInt:forKey:"] || _objj_forward)(aCoder, "encodeInt:forKey:", self._orientation, "CPStackViewOrientation"));
|
||||
(aCoder == null ? aCoder : (aCoder.isa.method_msgSend["encodeInt:forKey:"] || _objj_forward)(aCoder, "encodeInt:forKey:", self._alignment, "CPStackViewAlignment"));
|
||||
(aCoder == null ? aCoder : (aCoder.isa.method_msgSend["encodeFloat:forKey:"] || _objj_forward)(aCoder, "encodeFloat:forKey:", self._spacing, "CPStackViewSpacing"));
|
||||
(aCoder == null ? aCoder : (aCoder.isa.method_msgSend["encodeObject:forKey:"] || _objj_forward)(aCoder, "encodeObject:forKey:", self._edgeInsets, "CPStackViewEdgeInsets"));
|
||||
(aCoder == null ? aCoder : (aCoder.isa.method_msgSend["encodeBool:forKey:"] || _objj_forward)(aCoder, "encodeBool:forKey:", self._detachesHiddenViews, "CPStackViewDetachesHiddenViews"));
|
||||
(aCoder == null ? aCoder : (aCoder.isa.method_msgSend["encodeObject:forKey:"] || _objj_forward)(aCoder, "encodeObject:forKey:", self._viewsLeading, "CPStackViewViewsLeading"));
|
||||
(aCoder == null ? aCoder : (aCoder.isa.method_msgSend["encodeObject:forKey:"] || _objj_forward)(aCoder, "encodeObject:forKey:", self._viewsCenter, "CPStackViewViewsCenter"));
|
||||
(aCoder == null ? aCoder : (aCoder.isa.method_msgSend["encodeObject:forKey:"] || _objj_forward)(aCoder, "encodeObject:forKey:", self._viewsTrailing, "CPStackViewViewsTrailing"));
|
||||
(aCoder == null ? aCoder : (aCoder.isa.method_msgSend["encodeObject:forKey:"] || _objj_forward)(aCoder, "encodeObject:forKey:", self._customSpacings, "CPStackViewCustomSpacings"));
|
||||
}
|
||||
|
||||
,["void","CPCoder"])]);
|
||||
class_addMethods(meta_class, [new objj_method(sel_getUid("stackViewWithViews:"), function $CPStackView__stackViewWithViews_(self, _cmd, views)
|
||||
{
|
||||
var stackView = ((___r1 = (CPStackView.isa.method_msgSend["alloc"] || _objj_forward)(CPStackView, "alloc")), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["initWithFrame:"] || _objj_forward)(___r1, "initWithFrame:", CGRectMakeZero()));
|
||||
for (var i = 0, count = (views == null ? views : (views.isa.method_msgSend["count"] || _objj_forward)(views, "count")); i < count; i++)
|
||||
(stackView == null ? stackView : (stackView.isa.method_msgSend["addView:inGravity:"] || _objj_forward)(stackView, "addView:inGravity:", views[i], CPStackViewGravityLeading));
|
||||
return stackView;
|
||||
var ___r1;
|
||||
}
|
||||
|
||||
,["CPStackView","CPArray"])]);
|
||||
}
|
||||
p;11;CPStepper.jt;21872;@STATIC;1.0;i;11;CPControl.ji;10;CPButton.ji;13;CPTextField.jt;21803;objj_executeFile("CPControl.j", YES);objj_executeFile("CPButton.j", YES);objj_executeFile("CPTextField.j", YES);
|
||||
{var the_class = objj_allocateClassPair(CPControl, "CPStepper"),
|
||||
meta_class = the_class.isa;class_addIvars(the_class, [new objj_ivar("_valueWraps", "BOOL"), new objj_ivar("_autorepeat", "BOOL"), new objj_ivar("_increment", "int"), new objj_ivar("_maxValue", "int"), new objj_ivar("_minValue", "int"), new objj_ivar("_buttonDown", "CPButton"), new objj_ivar("_buttonUp", "CPButton")]);objj_registerClassPair(the_class);
|
||||
|
||||
@@ -0,0 +1,207 @@
|
||||
/*
|
||||
* AppController.j
|
||||
* CPStackViewTest
|
||||
*
|
||||
* Created by Daniel Boehringer.
|
||||
* Copyright 2025, Cappuccino Project.
|
||||
*/
|
||||
|
||||
@import <Foundation/CPObject.j>
|
||||
@import <AppKit/AppKit.j>
|
||||
|
||||
// We import the class to be tested.
|
||||
// Assuming CPStackView.j is in the same directory or properly included in the build.
|
||||
|
||||
@implementation AppController : CPObject
|
||||
{
|
||||
CPWindow theWindow;
|
||||
|
||||
// We will construct these programmatically for the test
|
||||
// to avoid needing a .cib file for a new class.
|
||||
CPStackView stackViewHorizontal;
|
||||
CPStackView stackViewVertical;
|
||||
|
||||
// Control references
|
||||
CPCheckBox detachHiddenCheckbox;
|
||||
CPView toggleTargetView;
|
||||
}
|
||||
|
||||
- (void)applicationDidFinishLaunching:(CPNotification)aNotification
|
||||
{
|
||||
theWindow = [[CPWindow alloc] initWithContentRect:CGRectMakeZero() styleMask:CPBorderlessBridgeWindowMask];
|
||||
var contentView = [theWindow contentView];
|
||||
[contentView setBackgroundColor:[CPColor colorWithWhite:0.95 alpha:1.0]];
|
||||
|
||||
// 1. Create a Label
|
||||
var label = [CPTextField labelWithTitle:@"CPStackView Manual Test"];
|
||||
[label setFont:[CPFont boldSystemFontOfSize:18]];
|
||||
[label setFrameOrigin:CGPointMake(20, 20)];
|
||||
[contentView addSubview:label];
|
||||
|
||||
// 2. Create Horizontal Stack View (The primary test subject)
|
||||
// We frame it in the top half
|
||||
stackViewHorizontal = [[CPStackView alloc] initWithFrame:CGRectMake(20, 60, 600, 150)];
|
||||
[stackViewHorizontal setBackgroundColor:[CPColor whiteColor]];
|
||||
[stackViewHorizontal setOrientation:CPUserInterfaceLayoutOrientationHorizontal];
|
||||
[stackViewHorizontal setEdgeInsets:CPEdgeInsetsMake(10, 10, 10, 10)];
|
||||
|
||||
// Add Views to Horizontal Stack
|
||||
// Leading
|
||||
[stackViewHorizontal addView:[self _createBoxColor:[CPColor redColor] size:CGSizeMake(40, 40) label:@"L1"] inGravity:CPStackViewGravityLeading];
|
||||
[stackViewHorizontal addView:[self _createBoxColor:[CPColor redColor] size:CGSizeMake(60, 80) label:@"L2"] inGravity:CPStackViewGravityLeading]; // Taller to test alignment
|
||||
|
||||
// Center
|
||||
toggleTargetView = [self _createBoxColor:[CPColor greenColor] size:CGSizeMake(50, 50) label:@"C1\n(Toggle)"];
|
||||
[stackViewHorizontal addView:toggleTargetView inGravity:CPStackViewGravityCenter];
|
||||
[stackViewHorizontal addView:[self _createBoxColor:[CPColor greenColor] size:CGSizeMake(50, 50) label:@"C2"] inGravity:CPStackViewGravityCenter];
|
||||
|
||||
// Trailing
|
||||
[stackViewHorizontal addView:[self _createBoxColor:[CPColor blueColor] size:CGSizeMake(40, 40) label:@"T1"] inGravity:CPStackViewGravityTrailing];
|
||||
[stackViewHorizontal addView:[self _createBoxColor:[CPColor blueColor] size:CGSizeMake(40, 40) label:@"T2"] inGravity:CPStackViewGravityTrailing];
|
||||
|
||||
// Set Autoresizing to stick to width
|
||||
[stackViewHorizontal setAutoresizingMask:CPViewWidthSizable];
|
||||
|
||||
// Visual border for the stack view itself
|
||||
var borderView = [[CPView alloc] initWithFrame:CGRectInset([stackViewHorizontal frame], -1, -1)];
|
||||
[borderView setBackgroundColor:[CPColor grayColor]];
|
||||
[contentView addSubview:borderView];
|
||||
[contentView addSubview:stackViewHorizontal];
|
||||
|
||||
|
||||
// 3. Create Vertical Stack View (Secondary test)
|
||||
stackViewVertical = [[CPStackView alloc] initWithFrame:CGRectMake(20, 230, 200, 300)];
|
||||
[stackViewVertical setBackgroundColor:[CPColor whiteColor]];
|
||||
[stackViewVertical setOrientation:CPUserInterfaceLayoutOrientationVertical];
|
||||
[stackViewVertical setEdgeInsets:CPEdgeInsetsMake(5, 5, 5, 5)];
|
||||
[stackViewVertical setAlignment:CPLayoutAttributeCenterX]; // Center items horizontally
|
||||
|
||||
[stackViewVertical addView:[self _createBoxColor:[CPColor orangeColor] size:CGSizeMake(40, 30) label:@"Top"] inGravity:CPStackViewGravityTop];
|
||||
[stackViewVertical addView:[self _createBoxColor:[CPColor purpleColor] size:CGSizeMake(80, 40) label:@"Mid"] inGravity:CPStackViewGravityCenter];
|
||||
[stackViewVertical addView:[self _createBoxColor:[CPColor brownColor] size:CGSizeMake(40, 30) label:@"Bot"] inGravity:CPStackViewGravityBottom];
|
||||
|
||||
var borderViewVert = [[CPView alloc] initWithFrame:CGRectInset([stackViewVertical frame], -1, -1)];
|
||||
[borderViewVert setBackgroundColor:[CPColor grayColor]];
|
||||
[contentView addSubview:borderViewVert];
|
||||
[contentView addSubview:stackViewVertical];
|
||||
|
||||
|
||||
// 4. Controls Area
|
||||
var controlsY = 230;
|
||||
var controlsX = 250;
|
||||
|
||||
var btnToggleHide = [CPButton buttonWithTitle:@"Toggle Center View Hidden"];
|
||||
[btnToggleHide setFrameOrigin:CGPointMake(controlsX, controlsY)];
|
||||
[btnToggleHide setTarget:self];
|
||||
[btnToggleHide setAction:@selector(toggleHidden:)];
|
||||
[contentView addSubview:btnToggleHide];
|
||||
|
||||
controlsY += 40;
|
||||
detachHiddenCheckbox = [CPCheckBox checkBoxWithTitle:@"Detaches Hidden Views"];
|
||||
[detachHiddenCheckbox setFrameOrigin:CGPointMake(controlsX, controlsY)];
|
||||
[detachHiddenCheckbox setState:CPOnState];
|
||||
[detachHiddenCheckbox setTarget:self];
|
||||
[detachHiddenCheckbox setAction:@selector(toggleDetaches:)];
|
||||
[contentView addSubview:detachHiddenCheckbox];
|
||||
|
||||
controlsY += 40;
|
||||
var btnAlignTop = [CPButton buttonWithTitle:@"Align Horizontal: Top"];
|
||||
[btnAlignTop setFrameOrigin:CGPointMake(controlsX, controlsY)];
|
||||
[btnAlignTop setTarget:self];
|
||||
[btnAlignTop setAction:@selector(setAlignmentTop:)];
|
||||
[contentView addSubview:btnAlignTop];
|
||||
|
||||
controlsY += 30;
|
||||
var btnAlignCenter = [CPButton buttonWithTitle:@"Align Horizontal: CenterY"];
|
||||
[btnAlignCenter setFrameOrigin:CGPointMake(controlsX, controlsY)];
|
||||
[btnAlignCenter setTarget:self];
|
||||
[btnAlignCenter setAction:@selector(setAlignmentCenter:)];
|
||||
[contentView addSubview:btnAlignCenter];
|
||||
|
||||
controlsY += 30;
|
||||
var btnAlignFill = [CPButton buttonWithTitle:@"Align Horizontal: Height (Fill)"];
|
||||
[btnAlignFill setFrameOrigin:CGPointMake(controlsX, controlsY)];
|
||||
[btnAlignFill setTarget:self];
|
||||
[btnAlignFill setAction:@selector(setAlignmentHeight:)];
|
||||
[contentView addSubview:btnAlignFill];
|
||||
|
||||
controlsY += 40;
|
||||
var btnSpacing = [CPButton buttonWithTitle:@"Increase Spacing"];
|
||||
[btnSpacing setFrameOrigin:CGPointMake(controlsX, controlsY)];
|
||||
[btnSpacing setTarget:self];
|
||||
[btnSpacing setAction:@selector(changeSpacing:)];
|
||||
[contentView addSubview:btnSpacing];
|
||||
|
||||
[theWindow setFullPlatformWindow:YES];
|
||||
[theWindow orderFront:self];
|
||||
}
|
||||
|
||||
- (void)awakeFromCib
|
||||
{
|
||||
// If we were using a Cib, initialization would happen here.
|
||||
}
|
||||
|
||||
#pragma mark -
|
||||
#pragma mark Actions
|
||||
|
||||
- (@action)toggleHidden:(id)sender
|
||||
{
|
||||
var isHidden = [toggleTargetView isHidden];
|
||||
[toggleTargetView setHidden:!isHidden];
|
||||
|
||||
// In standard Cocoa, hiding a view triggers layout if stackView is observing,
|
||||
// but in this manual implementation, we might need to nudge it or ensure
|
||||
// setHidden triggers needsLayout on superview.
|
||||
// The CPStackView provided relies on 'layoutSubviews' being called.
|
||||
|
||||
[stackViewHorizontal setNeedsLayout:YES];
|
||||
}
|
||||
|
||||
- (@action)toggleDetaches:(id)sender
|
||||
{
|
||||
[stackViewHorizontal setDetachesHiddenViews:([sender state] === CPOnState)];
|
||||
}
|
||||
|
||||
- (@action)setAlignmentTop:(id)sender
|
||||
{
|
||||
[stackViewHorizontal setAlignment:CPLayoutAttributeTop];
|
||||
}
|
||||
|
||||
- (@action)setAlignmentCenter:(id)sender
|
||||
{
|
||||
[stackViewHorizontal setAlignment:CPLayoutAttributeCenterY];
|
||||
}
|
||||
|
||||
- (@action)setAlignmentHeight:(id)sender
|
||||
{
|
||||
[stackViewHorizontal setAlignment:CPLayoutAttributeHeight];
|
||||
}
|
||||
|
||||
- (@action)changeSpacing:(id)sender
|
||||
{
|
||||
var current = [stackViewHorizontal spacing];
|
||||
[stackViewHorizontal setSpacing:(current >= 20.0 ? 8.0 : current + 4.0)];
|
||||
}
|
||||
|
||||
#pragma mark -
|
||||
#pragma mark Helpers
|
||||
|
||||
- (CPView)_createBoxColor:(CPColor)aColor size:(CGSize)aSize label:(CPString)text
|
||||
{
|
||||
var view = [[CPView alloc] initWithFrame:CGRectMake(0, 0, aSize.width, aSize.height)];
|
||||
[view setBackgroundColor:aColor];
|
||||
|
||||
var label = [[CPTextField alloc] initWithFrame:CGRectInset([view bounds], 2, 2)];
|
||||
[label setStringValue:text];
|
||||
[label setTextColor:[CPColor whiteColor]];
|
||||
[label setAlignment:CPCenterTextAlignment];
|
||||
[label setVerticalAlignment:CPCenterVerticalTextAlignment];
|
||||
[label setAutoresizingMask:CPViewWidthSizable | CPViewHeightSizable];
|
||||
[label setLineBreakMode:CPLineBreakByWordWrapping];
|
||||
|
||||
[view addSubview:label];
|
||||
|
||||
return view;
|
||||
}
|
||||
|
||||
@end
|
||||
@@ -0,0 +1,10 @@
|
||||
<?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>CPStackViewTest</string>
|
||||
</dict>
|
||||
</plist>
|
||||
@@ -0,0 +1,94 @@
|
||||
/*
|
||||
* Jakefile
|
||||
* CPSplitViewTest
|
||||
*
|
||||
* Created by Alexander Ljungberg on January 27, 2012.
|
||||
* Copyright 2012, WireLoad All rights reserved.
|
||||
*/
|
||||
|
||||
var ENV = require("system").env,
|
||||
FILE = require("file"),
|
||||
JAKE = require("jake"),
|
||||
task = JAKE.task,
|
||||
FileList = JAKE.FileList,
|
||||
app = require("cappuccino/jake").app,
|
||||
configuration = ENV["CONFIG"] || ENV["CONFIGURATION"] || ENV["c"] || "Debug",
|
||||
OS = require("os");
|
||||
|
||||
app ("CPSplitViewTest", function(task)
|
||||
{
|
||||
task.setBuildIntermediatesPath(FILE.join("Build", "CPSplitViewTest.build", configuration));
|
||||
task.setBuildPath(FILE.join("Build", configuration));
|
||||
|
||||
task.setProductName("CPSplitViewTest");
|
||||
task.setIdentifier("com.yourcompany.CPSplitViewTest");
|
||||
task.setVersion("1.0");
|
||||
task.setAuthor("WireLoad");
|
||||
task.setEmail("feedback @nospam@ yourcompany.com");
|
||||
task.setSummary("CPSplitViewTest");
|
||||
task.setSources((new FileList("**/*.j")).exclude(FILE.join("Build", "**")));
|
||||
task.setResources(new FileList("Resources/**"));
|
||||
task.setIndexFilePath("index.html");
|
||||
task.setInfoPlistPath("Info.plist");
|
||||
task.setNib2CibFlags("-R Resources/");
|
||||
|
||||
if (configuration === "Debug")
|
||||
task.setCompilerFlags("-DDEBUG -g");
|
||||
else
|
||||
task.setCompilerFlags("-O");
|
||||
});
|
||||
|
||||
task ("default", ["CPSplitViewTest"], function()
|
||||
{
|
||||
printResults(configuration);
|
||||
});
|
||||
|
||||
task ("build", ["default"]);
|
||||
|
||||
task ("debug", function()
|
||||
{
|
||||
ENV["CONFIGURATION"] = "Debug";
|
||||
JAKE.subjake(["."], "build", ENV);
|
||||
});
|
||||
|
||||
task ("release", function()
|
||||
{
|
||||
ENV["CONFIGURATION"] = "Release";
|
||||
JAKE.subjake(["."], "build", ENV);
|
||||
});
|
||||
|
||||
task ("run", ["debug"], function()
|
||||
{
|
||||
OS.system(["open", FILE.join("Build", "Debug", "CPSplitViewTest", "index.html")]);
|
||||
});
|
||||
|
||||
task ("run-release", ["release"], function()
|
||||
{
|
||||
OS.system(["open", FILE.join("Build", "Release", "CPSplitViewTest", "index.html")]);
|
||||
});
|
||||
|
||||
task ("deploy", ["release"], function()
|
||||
{
|
||||
FILE.mkdirs(FILE.join("Build", "Deployment", "CPSplitViewTest"));
|
||||
OS.system(["press", "-f", FILE.join("Build", "Release", "CPSplitViewTest"), FILE.join("Build", "Deployment", "CPSplitViewTest")]);
|
||||
printResults("Deployment")
|
||||
});
|
||||
|
||||
task ("desktop", ["release"], function()
|
||||
{
|
||||
FILE.mkdirs(FILE.join("Build", "Desktop", "CPSplitViewTest"));
|
||||
require("cappuccino/nativehost").buildNativeHost(FILE.join("Build", "Release", "CPSplitViewTest"), FILE.join("Build", "Desktop", "CPSplitViewTest", "CPSplitViewTest.app"));
|
||||
printResults("Desktop")
|
||||
});
|
||||
|
||||
task ("run-desktop", ["desktop"], function()
|
||||
{
|
||||
OS.system([FILE.join("Build", "Desktop", "CPSplitViewTest", "CPSplitViewTest.app", "Contents", "MacOS", "NativeHost"), "-i"]);
|
||||
});
|
||||
|
||||
function printResults(configuration)
|
||||
{
|
||||
print("----------------------------");
|
||||
print(configuration+" app built at path: "+FILE.join("Build", configuration, "CPSplitViewTest"));
|
||||
print("----------------------------");
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
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;22E;D;K;6;CP$UIDd;2;23E;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;24E;D;K;6;CP$UIDd;2;26E;D;K;6;CP$UIDd;2;28E;D;K;6;CP$UIDd;2;30E;D;K;6;CP$UIDd;2;32E;D;K;6;CP$UIDd;2;34E;D;K;6;CP$UIDd;1;0E;D;K;6;CP$UIDd;2;36E;D;K;6;CP$UIDd;1;0E;D;K;6;CP$UIDd;2;37E;D;K;6;CP$UIDd;2;39E;D;K;6;CP$UIDd;1;0E;D;K;6;CP$UIDd;2;40E;D;K;6;CP$UIDd;1;0E;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;1;0E;D;K;6;CP$UIDd;2;47E;D;K;6;CP$UIDd;2;48E;D;K;6;CP$UIDd;1;0E;D;K;6;CP$UIDd;2;49E;E;E;D;K;6;$classD;K;6;CP$UIDd;1;3E;K;10;CP.objectsA;D;K;6;CP$UIDd;2;11E;D;K;6;CP$UIDd;2;11E;D;K;6;CP$UIDd;2;26E;D;K;6;CP$UIDd;2;28E;D;K;6;CP$UIDd;2;30E;D;K;6;CP$UIDd;2;32E;D;K;6;CP$UIDd;2;34E;D;K;6;CP$UIDd;2;32E;D;K;6;CP$UIDd;2;36E;D;K;6;CP$UIDd;2;30E;D;K;6;CP$UIDd;2;37E;D;K;6;CP$UIDd;2;39E;D;K;6;CP$UIDd;2;30E;D;K;6;CP$UIDd;2;40E;D;K;6;CP$UIDd;2;30E;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;43E;D;K;6;CP$UIDd;2;45E;D;K;6;CP$UIDd;2;46E;D;K;6;CP$UIDd;2;41E;D;K;6;CP$UIDd;2;47E;D;K;6;CP$UIDd;2;48E;D;K;6;CP$UIDd;2;11E;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;E;E;D;K;10;$classnameS;18;_CPCibCustomObjectK;8;$classesA;S;18;_CPCibCustomObjectS;8;CPObjectE;E;D;K;6;$classD;K;6;CP$UIDd;2;10E;K;27;_CPCibCustomObjectClassNameD;K;6;CP$UIDd;2;50E;E;D;K;10;$classnameS;5;CPSetK;8;$classesA;S;5;CPSetS;8;CPObjectE;E;D;K;6;$classD;K;6;CP$UIDd;2;12E;K;15;CPSetObjectsKeyD;K;6;CP$UIDd;2;51E;E;D;K;10;$classnameS;20;CPCibOutletConnectorK;8;$classesA;S;20;CPCibOutletConnectorS;14;CPCibConnectorS;8;CPObjectE;E;D;K;6;$classD;K;6;CP$UIDd;2;14E;K;24;_CPCibConnectorSourceKeyD;K;6;CP$UIDd;2;11E;K;29;_CPCibConnectorDestinationKeyD;K;6;CP$UIDd;2;49E;K;23;_CPCibConnectorLabelKeyD;K;6;CP$UIDd;2;52E;E;D;K;6;$classD;K;6;CP$UIDd;2;14E;K;24;_CPCibConnectorSourceKeyD;K;6;CP$UIDd;2;49E;K;29;_CPCibConnectorDestinationKeyD;K;6;CP$UIDd;2;30E;K;23;_CPCibConnectorLabelKeyD;K;6;CP$UIDd;2;53E;E;D;K;6;$classD;K;6;CP$UIDd;2;14E;K;24;_CPCibConnectorSourceKeyD;K;6;CP$UIDd;2;49E;K;29;_CPCibConnectorDestinationKeyD;K;6;CP$UIDd;2;41E;K;23;_CPCibConnectorLabelKeyD;K;6;CP$UIDd;2;54E;E;D;K;6;$classD;K;6;CP$UIDd;2;14E;K;24;_CPCibConnectorSourceKeyD;K;6;CP$UIDd;2;49E;K;29;_CPCibConnectorDestinationKeyD;K;6;CP$UIDd;2;43E;K;23;_CPCibConnectorLabelKeyD;K;6;CP$UIDd;2;55E;E;D;K;6;$classD;K;6;CP$UIDd;2;14E;K;24;_CPCibConnectorSourceKeyD;K;6;CP$UIDd;2;49E;K;29;_CPCibConnectorDestinationKeyD;K;6;CP$UIDd;2;26E;K;23;_CPCibConnectorLabelKeyD;K;6;CP$UIDd;2;56E;E;D;K;6;$classD;K;6;CP$UIDd;2;14E;K;24;_CPCibConnectorSourceKeyD;K;6;CP$UIDd;2;30E;K;29;_CPCibConnectorDestinationKeyD;K;6;CP$UIDd;2;49E;K;23;_CPCibConnectorLabelKeyD;K;6;CP$UIDd;2;52E;E;D;K;10;$classnameS;21;CPCibControlConnectorK;8;$classesA;S;21;CPCibControlConnectorS;14;CPCibConnectorS;8;CPObjectE;E;D;K;6;$classD;K;6;CP$UIDd;2;21E;K;24;_CPCibConnectorSourceKeyD;K;6;CP$UIDd;2;39E;K;29;_CPCibConnectorDestinationKeyD;K;6;CP$UIDd;2;36E;K;23;_CPCibConnectorLabelKeyD;K;6;CP$UIDd;2;57E;E;D;K;6;$classD;K;6;CP$UIDd;2;21E;K;24;_CPCibConnectorSourceKeyD;K;6;CP$UIDd;2;34E;K;29;_CPCibConnectorDestinationKeyD;K;6;CP$UIDd;2;49E;K;23;_CPCibConnectorLabelKeyD;K;6;CP$UIDd;2;58E;E;D;K;6;$classD;K;6;CP$UIDd;2;10E;K;27;_CPCibCustomObjectClassNameD;K;6;CP$UIDd;2;50E;E;D;K;10;$classnameS;20;_CPCibWindowTemplateK;8;$classesA;S;20;_CPCibWindowTemplateS;8;CPObjectE;E;D;K;6;$classD;K;6;CP$UIDd;2;25E;K;30;_CPCibWindowTemplateMaxSizeKeyD;K;6;CP$UIDd;2;59E;K;32;_CPCibWindowTemplateViewClassKeyD;K;6;CP$UIDd;1;0E;K;34;_CPCibWindowTemplateWindowClassKeyD;K;6;CP$UIDd;2;60E;K;30;_CPCibWindowTemplateWTFlagsKeyD;K;6;CP$UIDd;2;61E;K;33;_CPCibWindowTemplateWindowRectKeyD;K;6;CP$UIDd;2;62E;K;33;_CPCibWindowTemplatLine truncated
|
||||
@@ -0,0 +1,809 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<archive type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="7.10">
|
||||
<data>
|
||||
<int key="IBDocument.SystemTarget">1050</int>
|
||||
<string key="IBDocument.SystemVersion">11E53</string>
|
||||
<string key="IBDocument.InterfaceBuilderVersion">2182</string>
|
||||
<string key="IBDocument.AppKitVersion">1138.47</string>
|
||||
<string key="IBDocument.HIToolboxVersion">569.00</string>
|
||||
<object class="NSMutableDictionary" key="IBDocument.PluginVersions">
|
||||
<string key="NS.key.0">com.apple.InterfaceBuilder.CocoaPlugin</string>
|
||||
<string key="NS.object.0">2182</string>
|
||||
</object>
|
||||
<object class="NSArray" key="IBDocument.IntegratedClassDependencies">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<string>NSTextField</string>
|
||||
<string>NSView</string>
|
||||
<string>NSWindowTemplate</string>
|
||||
<string>NSSplitView</string>
|
||||
<string>NSTextFieldCell</string>
|
||||
<string>NSSliderCell</string>
|
||||
<string>NSCustomView</string>
|
||||
<string>NSSlider</string>
|
||||
<string>NSButtonCell</string>
|
||||
<string>NSButton</string>
|
||||
<string>NSCustomObject</string>
|
||||
</object>
|
||||
<object class="NSArray" key="IBDocument.PluginDependencies">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
|
||||
</object>
|
||||
<object class="NSMutableDictionary" key="IBDocument.Metadata">
|
||||
<string key="NS.key.0">PluginDependencyRecalculationVersion</string>
|
||||
<integer value="1" key="NS.object.0"/>
|
||||
</object>
|
||||
<object class="NSMutableArray" key="IBDocument.RootObjects" id="1048">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<object class="NSCustomObject" id="1021">
|
||||
<string key="NSClassName">NSApplication</string>
|
||||
</object>
|
||||
<object class="NSCustomObject" id="1014">
|
||||
<string key="NSClassName">FirstResponder</string>
|
||||
</object>
|
||||
<object class="NSCustomObject" id="1050">
|
||||
<string key="NSClassName">NSApplication</string>
|
||||
</object>
|
||||
<object class="NSWindowTemplate" id="972006081">
|
||||
<int key="NSWindowStyleMask">7</int>
|
||||
<int key="NSWindowBacking">2</int>
|
||||
<string key="NSWindowRect">{{335, 390}, {480, 360}}</string>
|
||||
<int key="NSWTFlags">1946157056</int>
|
||||
<string key="NSWindowTitle">Window</string>
|
||||
<string key="NSWindowClass">NSWindow</string>
|
||||
<nil key="NSViewClass"/>
|
||||
<nil key="NSUserInterfaceItemIdentifier"/>
|
||||
<object class="NSView" key="NSWindowView" id="439893737">
|
||||
<reference key="NSNextResponder"/>
|
||||
<int key="NSvFlags">256</int>
|
||||
<object class="NSMutableArray" key="NSSubviews">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<object class="NSSplitView" id="980028635">
|
||||
<reference key="NSNextResponder" ref="439893737"/>
|
||||
<int key="NSvFlags">274</int>
|
||||
<object class="NSMutableArray" key="NSSubviews">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<object class="NSTextField" id="655520722">
|
||||
<reference key="NSNextResponder" ref="980028635"/>
|
||||
<int key="NSvFlags">268</int>
|
||||
<string key="NSFrameSize">{480, 34}</string>
|
||||
<reference key="NSSuperview" ref="980028635"/>
|
||||
<reference key="NSWindow"/>
|
||||
<reference key="NSNextKeyView" ref="871265355"/>
|
||||
<string key="NSReuseIdentifierKey">_NS:3944</string>
|
||||
<bool key="NSEnabled">YES</bool>
|
||||
<object class="NSTextFieldCell" key="NSCell" id="295214252">
|
||||
<int key="NSCellFlags">68288064</int>
|
||||
<int key="NSCellFlags2">272630784</int>
|
||||
<string key="NSContents">Label</string>
|
||||
<object class="NSFont" key="NSSupport" id="611476865">
|
||||
<string key="NSName">LucidaGrande</string>
|
||||
<double key="NSSize">13</double>
|
||||
<int key="NSfFlags">1044</int>
|
||||
</object>
|
||||
<string key="NSCellIdentifier">_NS:3944</string>
|
||||
<reference key="NSControlView" ref="655520722"/>
|
||||
<object class="NSColor" key="NSBackgroundColor">
|
||||
<int key="NSColorSpace">6</int>
|
||||
<string key="NSCatalogName">System</string>
|
||||
<string key="NSColorName">controlColor</string>
|
||||
<object class="NSColor" key="NSColor">
|
||||
<int key="NSColorSpace">3</int>
|
||||
<bytes key="NSWhite">MC42NjY2NjY2NjY3AA</bytes>
|
||||
</object>
|
||||
</object>
|
||||
<object class="NSColor" key="NSTextColor">
|
||||
<int key="NSColorSpace">6</int>
|
||||
<string key="NSCatalogName">System</string>
|
||||
<string key="NSColorName">controlTextColor</string>
|
||||
<object class="NSColor" key="NSColor" id="6106584">
|
||||
<int key="NSColorSpace">3</int>
|
||||
<bytes key="NSWhite">MAA</bytes>
|
||||
</object>
|
||||
</object>
|
||||
</object>
|
||||
</object>
|
||||
<object class="NSCustomView" id="871265355">
|
||||
<reference key="NSNextResponder" ref="980028635"/>
|
||||
<int key="NSvFlags">256</int>
|
||||
<object class="NSMutableArray" key="NSSubviews">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<object class="NSButton" id="688798207">
|
||||
<reference key="NSNextResponder" ref="871265355"/>
|
||||
<int key="NSvFlags">268</int>
|
||||
<string key="NSFrame">{{14, 24}, {142, 32}}</string>
|
||||
<reference key="NSSuperview" ref="871265355"/>
|
||||
<reference key="NSWindow"/>
|
||||
<reference key="NSNextKeyView" ref="160623561"/>
|
||||
<string key="NSReuseIdentifierKey">_NS:9</string>
|
||||
<bool key="NSEnabled">YES</bool>
|
||||
<object class="NSButtonCell" key="NSCell" id="676112794">
|
||||
<int key="NSCellFlags">67239424</int>
|
||||
<int key="NSCellFlags2">134217728</int>
|
||||
<string key="NSContents">Delete Autosave</string>
|
||||
<reference key="NSSupport" ref="611476865"/>
|
||||
<string key="NSCellIdentifier">_NS:9</string>
|
||||
<reference key="NSControlView" ref="688798207"/>
|
||||
<int key="NSButtonFlags">-2038284033</int>
|
||||
<int key="NSButtonFlags2">129</int>
|
||||
<string key="NSAlternateContents"/>
|
||||
<string key="NSKeyEquivalent"/>
|
||||
<int key="NSPeriodicDelay">200</int>
|
||||
<int key="NSPeriodicInterval">25</int>
|
||||
</object>
|
||||
</object>
|
||||
<object class="NSTextField" id="160623561">
|
||||
<reference key="NSNextResponder" ref="871265355"/>
|
||||
<int key="NSvFlags">301</int>
|
||||
<string key="NSFrame">{{364, 30}, {96, 22}}</string>
|
||||
<reference key="NSSuperview" ref="871265355"/>
|
||||
<reference key="NSWindow"/>
|
||||
<reference key="NSNextKeyView" ref="877119126"/>
|
||||
<bool key="NSEnabled">YES</bool>
|
||||
<object class="NSTextFieldCell" key="NSCell" id="46991665">
|
||||
<int key="NSCellFlags">-1804468671</int>
|
||||
<int key="NSCellFlags2">272630784</int>
|
||||
<string key="NSContents"/>
|
||||
<reference key="NSSupport" ref="611476865"/>
|
||||
<reference key="NSControlView" ref="160623561"/>
|
||||
<bool key="NSDrawsBackground">YES</bool>
|
||||
<object class="NSColor" key="NSBackgroundColor">
|
||||
<int key="NSColorSpace">6</int>
|
||||
<string key="NSCatalogName">System</string>
|
||||
<string key="NSColorName">textBackgroundColor</string>
|
||||
<object class="NSColor" key="NSColor">
|
||||
<int key="NSColorSpace">3</int>
|
||||
<bytes key="NSWhite">MQA</bytes>
|
||||
</object>
|
||||
</object>
|
||||
<object class="NSColor" key="NSTextColor">
|
||||
<int key="NSColorSpace">6</int>
|
||||
<string key="NSCatalogName">System</string>
|
||||
<string key="NSColorName">textColor</string>
|
||||
<reference key="NSColor" ref="6106584"/>
|
||||
</object>
|
||||
</object>
|
||||
</object>
|
||||
</object>
|
||||
<string key="NSFrame">{{0, 44}, {480, 85}}</string>
|
||||
<reference key="NSSuperview" ref="980028635"/>
|
||||
<reference key="NSWindow"/>
|
||||
<reference key="NSNextKeyView" ref="688798207"/>
|
||||
<string key="NSReuseIdentifierKey">_NS:1113</string>
|
||||
<string key="NSClassName">NSView</string>
|
||||
</object>
|
||||
<object class="NSCustomView" id="877119126">
|
||||
<reference key="NSNextResponder" ref="980028635"/>
|
||||
<int key="NSvFlags">256</int>
|
||||
<object class="NSMutableArray" key="NSSubviews">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<object class="NSSlider" id="974764906">
|
||||
<reference key="NSNextResponder" ref="877119126"/>
|
||||
<int key="NSvFlags">301</int>
|
||||
<string key="NSFrame">{{192, 27}, {96, 21}}</string>
|
||||
<reference key="NSSuperview" ref="877119126"/>
|
||||
<reference key="NSWindow"/>
|
||||
<reference key="NSNextKeyView" ref="105337172"/>
|
||||
<bool key="NSEnabled">YES</bool>
|
||||
<object class="NSSliderCell" key="NSCell" id="600801425">
|
||||
<int key="NSCellFlags">-2079981824</int>
|
||||
<int key="NSCellFlags2">0</int>
|
||||
<string key="NSContents"/>
|
||||
<object class="NSFont" key="NSSupport">
|
||||
<string key="NSName">Helvetica</string>
|
||||
<double key="NSSize">12</double>
|
||||
<int key="NSfFlags">16</int>
|
||||
</object>
|
||||
<reference key="NSControlView" ref="974764906"/>
|
||||
<double key="NSMaxValue">100</double>
|
||||
<double key="NSMinValue">0.0</double>
|
||||
<double key="NSValue">50</double>
|
||||
<double key="NSAltIncValue">0.0</double>
|
||||
<int key="NSNumberOfTickMarks">0</int>
|
||||
<int key="NSTickMarkPosition">1</int>
|
||||
<bool key="NSAllowsTickMarkValuesOnly">NO</bool>
|
||||
<bool key="NSVertical">NO</bool>
|
||||
</object>
|
||||
</object>
|
||||
</object>
|
||||
<string key="NSFrame">{{0, 139}, {480, 79}}</string>
|
||||
<reference key="NSSuperview" ref="980028635"/>
|
||||
<reference key="NSWindow"/>
|
||||
<reference key="NSNextKeyView" ref="974764906"/>
|
||||
<string key="NSReuseIdentifierKey">_NS:1116</string>
|
||||
<string key="NSClassName">NSView</string>
|
||||
</object>
|
||||
<object class="NSSplitView" id="105337172">
|
||||
<reference key="NSNextResponder" ref="980028635"/>
|
||||
<int key="NSvFlags">256</int>
|
||||
<object class="NSMutableArray" key="NSSubviews">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<object class="NSCustomView" id="600528701">
|
||||
<reference key="NSNextResponder" ref="105337172"/>
|
||||
<int key="NSvFlags">256</int>
|
||||
<object class="NSMutableArray" key="NSSubviews">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<object class="NSSplitView" id="241459165">
|
||||
<reference key="NSNextResponder" ref="600528701"/>
|
||||
<int key="NSvFlags">274</int>
|
||||
<object class="NSMutableArray" key="NSSubviews">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<object class="NSCustomView" id="309483115">
|
||||
<reference key="NSNextResponder" ref="241459165"/>
|
||||
<int key="NSvFlags">256</int>
|
||||
<string key="NSFrameSize">{246, 51}</string>
|
||||
<reference key="NSSuperview" ref="241459165"/>
|
||||
<reference key="NSWindow"/>
|
||||
<reference key="NSNextKeyView" ref="858498729"/>
|
||||
<string key="NSReuseIdentifierKey">_NS:11</string>
|
||||
<string key="NSClassName">NSView</string>
|
||||
</object>
|
||||
<object class="NSCustomView" id="858498729">
|
||||
<reference key="NSNextResponder" ref="241459165"/>
|
||||
<int key="NSvFlags">256</int>
|
||||
<object class="NSMutableArray" key="NSSubviews">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<object class="NSButton" id="290967118">
|
||||
<reference key="NSNextResponder" ref="858498729"/>
|
||||
<int key="NSvFlags">256</int>
|
||||
<string key="NSFrame">{{66, 18}, {114, 32}}</string>
|
||||
<reference key="NSSuperview" ref="858498729"/>
|
||||
<reference key="NSWindow"/>
|
||||
<reference key="NSNextKeyView" ref="1031367026"/>
|
||||
<string key="NSReuseIdentifierKey">_NS:687</string>
|
||||
<bool key="NSEnabled">YES</bool>
|
||||
<object class="NSButtonCell" key="NSCell" id="825192224">
|
||||
<int key="NSCellFlags">67239424</int>
|
||||
<int key="NSCellFlags2">134217728</int>
|
||||
<string key="NSContents">Bottom Left</string>
|
||||
<reference key="NSSupport" ref="611476865"/>
|
||||
<string key="NSCellIdentifier">_NS:687</string>
|
||||
<reference key="NSControlView" ref="290967118"/>
|
||||
<int key="NSButtonFlags">-2038284033</int>
|
||||
<int key="NSButtonFlags2">129</int>
|
||||
<string key="NSAlternateContents"/>
|
||||
<string key="NSKeyEquivalent"/>
|
||||
<int key="NSPeriodicDelay">200</int>
|
||||
<int key="NSPeriodicInterval">25</int>
|
||||
</object>
|
||||
</object>
|
||||
</object>
|
||||
<string key="NSFrame">{{0, 60}, {246, 72}}</string>
|
||||
<reference key="NSSuperview" ref="241459165"/>
|
||||
<reference key="NSWindow"/>
|
||||
<reference key="NSNextKeyView" ref="290967118"/>
|
||||
<string key="NSReuseIdentifierKey">_NS:13</string>
|
||||
<string key="NSClassName">NSView</string>
|
||||
</object>
|
||||
</object>
|
||||
<string key="NSFrameSize">{246, 132}</string>
|
||||
<reference key="NSSuperview" ref="600528701"/>
|
||||
<reference key="NSWindow"/>
|
||||
<reference key="NSNextKeyView" ref="309483115"/>
|
||||
<string key="NSReuseIdentifierKey">_NS:9</string>
|
||||
<string key="NSAutosaveName">splitViewC</string>
|
||||
</object>
|
||||
</object>
|
||||
<string key="NSFrameSize">{246, 132}</string>
|
||||
<reference key="NSSuperview" ref="105337172"/>
|
||||
<reference key="NSWindow"/>
|
||||
<reference key="NSNextKeyView" ref="241459165"/>
|
||||
<string key="NSReuseIdentifierKey">_NS:1165</string>
|
||||
<string key="NSClassName">NSView</string>
|
||||
</object>
|
||||
<object class="NSCustomView" id="1031367026">
|
||||
<reference key="NSNextResponder" ref="105337172"/>
|
||||
<int key="NSvFlags">256</int>
|
||||
<object class="NSMutableArray" key="NSSubviews">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<object class="NSButton" id="165016153">
|
||||
<reference key="NSNextResponder" ref="1031367026"/>
|
||||
<int key="NSvFlags">256</int>
|
||||
<string key="NSFrame">{{80, 48}, {73, 32}}</string>
|
||||
<reference key="NSSuperview" ref="1031367026"/>
|
||||
<reference key="NSWindow"/>
|
||||
<reference key="NSNextKeyView"/>
|
||||
<string key="NSReuseIdentifierKey">_NS:687</string>
|
||||
<bool key="NSEnabled">YES</bool>
|
||||
<object class="NSButtonCell" key="NSCell" id="1015466174">
|
||||
<int key="NSCellFlags">67239424</int>
|
||||
<int key="NSCellFlags2">134217728</int>
|
||||
<string key="NSContents">Right</string>
|
||||
<reference key="NSSupport" ref="611476865"/>
|
||||
<string key="NSCellIdentifier">_NS:687</string>
|
||||
<reference key="NSControlView" ref="165016153"/>
|
||||
<int key="NSButtonFlags">-2038284033</int>
|
||||
<int key="NSButtonFlags2">129</int>
|
||||
<string key="NSAlternateContents"/>
|
||||
<string key="NSKeyEquivalent"/>
|
||||
<int key="NSPeriodicDelay">200</int>
|
||||
<int key="NSPeriodicInterval">25</int>
|
||||
</object>
|
||||
</object>
|
||||
</object>
|
||||
<string key="NSFrame">{{247, 0}, {233, 132}}</string>
|
||||
<reference key="NSSuperview" ref="105337172"/>
|
||||
<reference key="NSWindow"/>
|
||||
<reference key="NSNextKeyView" ref="165016153"/>
|
||||
<string key="NSReuseIdentifierKey">_NS:1167</string>
|
||||
<string key="NSClassName">NSView</string>
|
||||
</object>
|
||||
</object>
|
||||
<string key="NSFrame">{{0, 228}, {480, 132}}</string>
|
||||
<reference key="NSSuperview" ref="980028635"/>
|
||||
<reference key="NSWindow"/>
|
||||
<reference key="NSNextKeyView" ref="600528701"/>
|
||||
<string key="NSReuseIdentifierKey">_NS:1163</string>
|
||||
<bool key="NSIsVertical">YES</bool>
|
||||
<int key="NSDividerStyle">2</int>
|
||||
<string key="NSAutosaveName">splitViewB</string>
|
||||
</object>
|
||||
</object>
|
||||
<string key="NSFrameSize">{480, 360}</string>
|
||||
<reference key="NSSuperview" ref="439893737"/>
|
||||
<reference key="NSWindow"/>
|
||||
<reference key="NSNextKeyView" ref="655520722"/>
|
||||
<string key="NSReuseIdentifierKey">_NS:1111</string>
|
||||
<int key="NSDividerStyle">3</int>
|
||||
<string key="NSAutosaveName">splitViewA</string>
|
||||
</object>
|
||||
</object>
|
||||
<string key="NSFrameSize">{480, 360}</string>
|
||||
<reference key="NSSuperview"/>
|
||||
<reference key="NSWindow"/>
|
||||
<reference key="NSNextKeyView" ref="980028635"/>
|
||||
</object>
|
||||
<string key="NSScreenRect">{{0, 0}, {2560, 1418}}</string>
|
||||
<string key="NSMaxSize">{10000000000000, 10000000000000}</string>
|
||||
<bool key="NSWindowIsRestorable">YES</bool>
|
||||
</object>
|
||||
<object class="NSCustomObject" id="635946545">
|
||||
<string key="NSClassName">AppController</string>
|
||||
</object>
|
||||
</object>
|
||||
<object class="IBObjectContainer" key="IBDocument.Objects">
|
||||
<object class="NSMutableArray" key="connectionRecords">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBOutletConnection" key="connection">
|
||||
<string key="label">delegate</string>
|
||||
<reference key="source" ref="1021"/>
|
||||
<reference key="destination" ref="635946545"/>
|
||||
</object>
|
||||
<int key="connectionID">451</int>
|
||||
</object>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBOutletConnection" key="connection">
|
||||
<string key="label">theWindow</string>
|
||||
<reference key="source" ref="635946545"/>
|
||||
<reference key="destination" ref="972006081"/>
|
||||
</object>
|
||||
<int key="connectionID">459</int>
|
||||
</object>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBOutletConnection" key="connection">
|
||||
<string key="label">splitViewA</string>
|
||||
<reference key="source" ref="635946545"/>
|
||||
<reference key="destination" ref="980028635"/>
|
||||
</object>
|
||||
<int key="connectionID">479</int>
|
||||
</object>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBOutletConnection" key="connection">
|
||||
<string key="label">splitViewB</string>
|
||||
<reference key="source" ref="635946545"/>
|
||||
<reference key="destination" ref="105337172"/>
|
||||
</object>
|
||||
<int key="connectionID">480</int>
|
||||
</object>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBOutletConnection" key="connection">
|
||||
<string key="label">splitViewC</string>
|
||||
<reference key="source" ref="635946545"/>
|
||||
<reference key="destination" ref="241459165"/>
|
||||
</object>
|
||||
<int key="connectionID">481</int>
|
||||
</object>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBActionConnection" key="connection">
|
||||
<string key="label">deleteAutosave:</string>
|
||||
<reference key="source" ref="635946545"/>
|
||||
<reference key="destination" ref="688798207"/>
|
||||
</object>
|
||||
<int key="connectionID">482</int>
|
||||
</object>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBActionConnection" key="connection">
|
||||
<string key="label">takeDoubleValueFrom:</string>
|
||||
<reference key="source" ref="160623561"/>
|
||||
<reference key="destination" ref="974764906"/>
|
||||
</object>
|
||||
<int key="connectionID">458</int>
|
||||
</object>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBOutletConnection" key="connection">
|
||||
<string key="label">delegate</string>
|
||||
<reference key="source" ref="980028635"/>
|
||||
<reference key="destination" ref="635946545"/>
|
||||
</object>
|
||||
<int key="connectionID">473</int>
|
||||
</object>
|
||||
</object>
|
||||
<object class="IBMutableOrderedSet" key="objectRecords">
|
||||
<object class="NSArray" key="orderedObjects">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">0</int>
|
||||
<object class="NSArray" key="object" id="0">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
</object>
|
||||
<reference key="children" ref="1048"/>
|
||||
<nil key="parent"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">-2</int>
|
||||
<reference key="object" ref="1021"/>
|
||||
<reference key="parent" ref="0"/>
|
||||
<string key="objectName">File's Owner</string>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">-1</int>
|
||||
<reference key="object" ref="1014"/>
|
||||
<reference key="parent" ref="0"/>
|
||||
<string key="objectName">First Responder</string>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">-3</int>
|
||||
<reference key="object" ref="1050"/>
|
||||
<reference key="parent" ref="0"/>
|
||||
<string key="objectName">Application</string>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">371</int>
|
||||
<reference key="object" ref="972006081"/>
|
||||
<object class="NSMutableArray" key="children">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<reference ref="439893737"/>
|
||||
</object>
|
||||
<reference key="parent" ref="0"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">372</int>
|
||||
<reference key="object" ref="439893737"/>
|
||||
<object class="NSMutableArray" key="children">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<reference ref="980028635"/>
|
||||
</object>
|
||||
<reference key="parent" ref="972006081"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">450</int>
|
||||
<reference key="object" ref="635946545"/>
|
||||
<reference key="parent" ref="0"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">460</int>
|
||||
<reference key="object" ref="980028635"/>
|
||||
<object class="NSMutableArray" key="children">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<reference ref="871265355"/>
|
||||
<reference ref="877119126"/>
|
||||
<reference ref="655520722"/>
|
||||
<reference ref="105337172"/>
|
||||
</object>
|
||||
<reference key="parent" ref="439893737"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">461</int>
|
||||
<reference key="object" ref="871265355"/>
|
||||
<object class="NSMutableArray" key="children">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<reference ref="688798207"/>
|
||||
<reference ref="160623561"/>
|
||||
</object>
|
||||
<reference key="parent" ref="980028635"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">462</int>
|
||||
<reference key="object" ref="877119126"/>
|
||||
<object class="NSMutableArray" key="children">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<reference ref="974764906"/>
|
||||
</object>
|
||||
<reference key="parent" ref="980028635"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">456</int>
|
||||
<reference key="object" ref="160623561"/>
|
||||
<object class="NSMutableArray" key="children">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<reference ref="46991665"/>
|
||||
</object>
|
||||
<reference key="parent" ref="871265355"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">457</int>
|
||||
<reference key="object" ref="46991665"/>
|
||||
<reference key="parent" ref="160623561"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">452</int>
|
||||
<reference key="object" ref="974764906"/>
|
||||
<object class="NSMutableArray" key="children">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<reference ref="600801425"/>
|
||||
</object>
|
||||
<reference key="parent" ref="877119126"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">453</int>
|
||||
<reference key="object" ref="600801425"/>
|
||||
<reference key="parent" ref="974764906"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">463</int>
|
||||
<reference key="object" ref="655520722"/>
|
||||
<object class="NSMutableArray" key="children">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<reference ref="295214252"/>
|
||||
</object>
|
||||
<reference key="parent" ref="980028635"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">464</int>
|
||||
<reference key="object" ref="295214252"/>
|
||||
<reference key="parent" ref="655520722"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">465</int>
|
||||
<reference key="object" ref="105337172"/>
|
||||
<object class="NSMutableArray" key="children">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<reference ref="600528701"/>
|
||||
<reference ref="1031367026"/>
|
||||
</object>
|
||||
<reference key="parent" ref="980028635"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">466</int>
|
||||
<reference key="object" ref="600528701"/>
|
||||
<object class="NSMutableArray" key="children">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<reference ref="241459165"/>
|
||||
</object>
|
||||
<reference key="parent" ref="105337172"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">467</int>
|
||||
<reference key="object" ref="1031367026"/>
|
||||
<object class="NSMutableArray" key="children">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<reference ref="165016153"/>
|
||||
</object>
|
||||
<reference key="parent" ref="105337172"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">470</int>
|
||||
<reference key="object" ref="165016153"/>
|
||||
<object class="NSMutableArray" key="children">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<reference ref="1015466174"/>
|
||||
</object>
|
||||
<reference key="parent" ref="1031367026"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">471</int>
|
||||
<reference key="object" ref="1015466174"/>
|
||||
<reference key="parent" ref="165016153"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">474</int>
|
||||
<reference key="object" ref="241459165"/>
|
||||
<object class="NSMutableArray" key="children">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<reference ref="309483115"/>
|
||||
<reference ref="858498729"/>
|
||||
</object>
|
||||
<reference key="parent" ref="600528701"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">475</int>
|
||||
<reference key="object" ref="309483115"/>
|
||||
<reference key="parent" ref="241459165"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">476</int>
|
||||
<reference key="object" ref="858498729"/>
|
||||
<object class="NSMutableArray" key="children">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<reference ref="290967118"/>
|
||||
</object>
|
||||
<reference key="parent" ref="241459165"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">468</int>
|
||||
<reference key="object" ref="290967118"/>
|
||||
<object class="NSMutableArray" key="children">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<reference ref="825192224"/>
|
||||
</object>
|
||||
<reference key="parent" ref="858498729"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">469</int>
|
||||
<reference key="object" ref="825192224"/>
|
||||
<reference key="parent" ref="290967118"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">477</int>
|
||||
<reference key="object" ref="688798207"/>
|
||||
<object class="NSMutableArray" key="children">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<reference ref="676112794"/>
|
||||
</object>
|
||||
<reference key="parent" ref="871265355"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">478</int>
|
||||
<reference key="object" ref="676112794"/>
|
||||
<reference key="parent" ref="688798207"/>
|
||||
</object>
|
||||
</object>
|
||||
</object>
|
||||
<object class="NSMutableDictionary" key="flattenedProperties">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<object class="NSArray" key="dict.sortedKeys">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<string>-1.IBPluginDependency</string>
|
||||
<string>-2.IBPluginDependency</string>
|
||||
<string>-3.IBPluginDependency</string>
|
||||
<string>371.IBPluginDependency</string>
|
||||
<string>371.IBWindowTemplateEditedContentRect</string>
|
||||
<string>371.NSWindowTemplate.visibleAtLaunch</string>
|
||||
<string>372.IBPluginDependency</string>
|
||||
<string>450.IBPluginDependency</string>
|
||||
<string>452.IBPluginDependency</string>
|
||||
<string>453.IBPluginDependency</string>
|
||||
<string>456.IBPluginDependency</string>
|
||||
<string>457.IBPluginDependency</string>
|
||||
<string>460.IBPluginDependency</string>
|
||||
<string>461.IBPluginDependency</string>
|
||||
<string>462.IBPluginDependency</string>
|
||||
<string>463.IBPluginDependency</string>
|
||||
<string>464.IBPluginDependency</string>
|
||||
<string>465.IBPluginDependency</string>
|
||||
<string>466.IBPluginDependency</string>
|
||||
<string>467.IBPluginDependency</string>
|
||||
<string>468.IBPluginDependency</string>
|
||||
<string>469.IBPluginDependency</string>
|
||||
<string>470.IBPluginDependency</string>
|
||||
<string>471.IBPluginDependency</string>
|
||||
<string>474.IBPluginDependency</string>
|
||||
<string>475.IBPluginDependency</string>
|
||||
<string>476.IBPluginDependency</string>
|
||||
<string>477.IBPluginDependency</string>
|
||||
<string>478.IBPluginDependency</string>
|
||||
</object>
|
||||
<object class="NSArray" key="dict.values">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
|
||||
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
|
||||
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
|
||||
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
|
||||
<string>{{303, 221}, {480, 360}}</string>
|
||||
<integer value="1"/>
|
||||
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
|
||||
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
|
||||
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
|
||||
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
|
||||
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
|
||||
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
|
||||
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
|
||||
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
|
||||
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
|
||||
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
|
||||
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
|
||||
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
|
||||
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
|
||||
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
|
||||
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
|
||||
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
|
||||
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
|
||||
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
|
||||
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
|
||||
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
|
||||
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
|
||||
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
|
||||
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
|
||||
</object>
|
||||
</object>
|
||||
<object class="NSMutableDictionary" key="unlocalizedProperties">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<reference key="dict.sortedKeys" ref="0"/>
|
||||
<reference key="dict.values" ref="0"/>
|
||||
</object>
|
||||
<nil key="activeLocalization"/>
|
||||
<object class="NSMutableDictionary" key="localizations">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<reference key="dict.sortedKeys" ref="0"/>
|
||||
<reference key="dict.values" ref="0"/>
|
||||
</object>
|
||||
<nil key="sourceID"/>
|
||||
<int key="maxID">482</int>
|
||||
</object>
|
||||
<object class="IBClassDescriber" key="IBDocument.Classes">
|
||||
<object class="NSMutableArray" key="referencedPartialClassDescriptions">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<object class="IBPartialClassDescription">
|
||||
<string key="className">AppController</string>
|
||||
<string key="superclassName">NSObject</string>
|
||||
<object class="NSMutableDictionary" key="actions">
|
||||
<string key="NS.key.0">deleteAutosave:</string>
|
||||
<string key="NS.object.0">id</string>
|
||||
</object>
|
||||
<object class="NSMutableDictionary" key="actionInfosByName">
|
||||
<string key="NS.key.0">deleteAutosave:</string>
|
||||
<object class="IBActionInfo" key="NS.object.0">
|
||||
<string key="name">deleteAutosave:</string>
|
||||
<string key="candidateClassName">id</string>
|
||||
</object>
|
||||
</object>
|
||||
<object class="NSMutableDictionary" key="outlets">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<object class="NSArray" key="dict.sortedKeys">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<string>splitViewA</string>
|
||||
<string>splitViewB</string>
|
||||
<string>splitViewC</string>
|
||||
</object>
|
||||
<object class="NSArray" key="dict.values">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<string>NSSplitView</string>
|
||||
<string>NSSplitView</string>
|
||||
<string>NSSplitView</string>
|
||||
</object>
|
||||
</object>
|
||||
<object class="NSMutableDictionary" key="toOneOutletInfosByName">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<object class="NSArray" key="dict.sortedKeys">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<string>splitViewA</string>
|
||||
<string>splitViewB</string>
|
||||
<string>splitViewC</string>
|
||||
</object>
|
||||
<object class="NSArray" key="dict.values">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<object class="IBToOneOutletInfo">
|
||||
<string key="name">splitViewA</string>
|
||||
<string key="candidateClassName">NSSplitView</string>
|
||||
</object>
|
||||
<object class="IBToOneOutletInfo">
|
||||
<string key="name">splitViewB</string>
|
||||
<string key="candidateClassName">NSSplitView</string>
|
||||
</object>
|
||||
<object class="IBToOneOutletInfo">
|
||||
<string key="name">splitViewC</string>
|
||||
<string key="candidateClassName">NSSplitView</string>
|
||||
</object>
|
||||
</object>
|
||||
</object>
|
||||
<object class="IBClassDescriptionSource" key="sourceIdentifier">
|
||||
<string key="majorKey">IBProjectSource</string>
|
||||
<string key="minorKey">./Classes/AppController.h</string>
|
||||
</object>
|
||||
</object>
|
||||
</object>
|
||||
</object>
|
||||
<int key="IBDocument.localizationMode">0</int>
|
||||
<string key="IBDocument.TargetRuntimeIdentifier">IBCocoaFramework</string>
|
||||
<object class="NSMutableDictionary" key="IBDocument.PluginDeclaredDependencies">
|
||||
<string key="NS.key.0">com.apple.InterfaceBuilder.CocoaPlugin.macosx</string>
|
||||
<integer value="1050" key="NS.object.0"/>
|
||||
</object>
|
||||
<object class="NSMutableDictionary" key="IBDocument.PluginDeclaredDevelopmentDependencies">
|
||||
<string key="NS.key.0">com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3</string>
|
||||
<integer value="3000" key="NS.object.0"/>
|
||||
</object>
|
||||
<bool key="IBDocument.PluginDeclaredDependenciesTrackSystemTargetVersion">YES</bool>
|
||||
<int key="IBDocument.defaultPropertyAccessControl">3</int>
|
||||
</data>
|
||||
</archive>
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 1.4 KiB |
@@ -0,0 +1,204 @@
|
||||
<!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>
|
||||
@@ -0,0 +1,167 @@
|
||||
<!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_INCLUDE_PATHS = ["../../Frameworks"];
|
||||
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>
|
||||
@@ -0,0 +1,18 @@
|
||||
/*
|
||||
* AppController.j
|
||||
* CPStackViewTest
|
||||
*
|
||||
* Created by Daniel Böhringer on December 26, 2025.
|
||||
* Copyright 2025, All rights reserved.
|
||||
*/
|
||||
|
||||
@import <Foundation/Foundation.j>
|
||||
@import <AppKit/AppKit.j>
|
||||
|
||||
@import "AppController.j"
|
||||
|
||||
|
||||
function main(args, namedArgs)
|
||||
{
|
||||
CPApplicationMain(args, namedArgs);
|
||||
}
|
||||
+143
-142
@@ -1,142 +1,143 @@
|
||||
1766743359530|ArrayController1|
|
||||
1766743359544|ArrayControllerInitialSelectionTest|
|
||||
1766743359558|ArrayControllerRemovingFirstTest|
|
||||
1766743359571|AttachedSheet|
|
||||
1766743359585|AttachedSheet2|
|
||||
1766743359598|Bindings|
|
||||
1766743359611|CGCanvasContext|
|
||||
1766743359625|CGPath|
|
||||
1766743359639|CPAlertTest|
|
||||
1766743359653|CPAnimatablePropertyContainerTest|
|
||||
1766743359667|CPAnimationContextTest|
|
||||
1766743359680|CPAnimationTest|
|
||||
1766743359694|CPBinder-echo-bug|
|
||||
1766743359708|CPBoxCibTest|
|
||||
1766743359721|CPBoxTest|
|
||||
1766743359734|CPBrowserTest|
|
||||
1766743359748|CPButtonKeyEquivalentDefaultTest|
|
||||
1766743359761|CPButtonTest|
|
||||
1766743359775|CPByteCountFormatter|
|
||||
1766743359788|CPCollectionViewNibTest|
|
||||
1766743359801|CPColor-CPImage-description|
|
||||
1766743359815|CPColorWellBindings|
|
||||
1766743359828|CPComboBoxTest|
|
||||
1766743359841|CPControlPerformClickExceptionTest|
|
||||
1766743359855|CPControlSize|
|
||||
1766743359868|CPCursor|
|
||||
1766743359882|CPDateFormatterTest|
|
||||
1766743359895|CPDatePickerTest|
|
||||
1766743359909|CPDictionaryControllerTest|
|
||||
1766743359922|CPDocumentControllerTest|
|
||||
1766743359935|CPFormatterTest|
|
||||
1766743359949|CPGraphicsTest|
|
||||
1766743359962|CPImageAndTextViewImageScaling|
|
||||
1766743359975|CPImageViewAlignmentScaling|
|
||||
1766743359989|CPImageViewTest|
|
||||
1766743360002|CPImageViewbindingsTest|
|
||||
1766743360015|CPLevelIndicator|
|
||||
1766743360029|CPLocalizationTest|
|
||||
1766743360042|CPLogTest|
|
||||
1766743360055|CPMenuCALayerTest|
|
||||
1766743360069|CPMenuEnabledBindingsTest|
|
||||
1766743360082|CPMenuKeyEquivalents|
|
||||
1766743360096|CPMenuRemoveAllTest|
|
||||
1766743360109|CPMenuSubmenuPlacementConstraints|
|
||||
1766743360122|CPMenuTest|
|
||||
1766743360136|CPOutlineViewCibTest|
|
||||
1766743360149|CPOutlineViewTest|
|
||||
1766743360162|CPOutlineViewViewBasedCibTest|
|
||||
1766743360176|CPPanelTest|
|
||||
1766743360189|CPPlatformWindow|
|
||||
1766743360203|CPPlattformWindowMinSize|
|
||||
1766743360216|CPPopUpButtonBindings|
|
||||
1766743360229|CPPopUpButtonTest|
|
||||
1766743360242|CPPopover|
|
||||
1766743360256|CPPredicateEditorCibTest|
|
||||
1766743360269|CPProgressIndicator|
|
||||
1766743360283|CPPropertyListSerializationTest|
|
||||
1766743360296|CPRadioBindings|
|
||||
1766743360309|CPRuleEditorCibTest|
|
||||
1766743360323|CPScrollView|
|
||||
1766743360336|CPScrollView2|
|
||||
1766743360349|CPSearchField|
|
||||
1766743360363|CPSearchFieldPredicateBinding|
|
||||
1766743360376|CPSegmentedControlBindings|
|
||||
1766743360389|CPSegmentedControlTest|
|
||||
1766743360403|CPSoundTest|
|
||||
1766743360416|CPSplitViewDivider|
|
||||
1766743360429|CPSplitViewTest|
|
||||
1766743360442|CPStepperBindings|
|
||||
1766743360456|CPStepperNibTest|
|
||||
1766743360469|CPTabView2|
|
||||
1766743360482|CPTabViewBindings|
|
||||
1766743360496|CPTabViewNib|
|
||||
1766743360509|CPTableViewGroupRows|
|
||||
1766743360522|CPTextField|
|
||||
1766743360536|CPTextFieldEditingStyleTest|
|
||||
1766743360549|CPTextFieldHeightTest|
|
||||
1766743360562|CPTextFieldMovementsTest|
|
||||
1766743360576|CPTextFieldMultiline|
|
||||
1766743360589|CPTextView|
|
||||
1766743360603|CPTextViewCibTest|
|
||||
1766743360616|CPTextViewDelegateAndNotifications|
|
||||
1766743360630|CPTimeZone|
|
||||
1766743360643|CPTokenFieldTest|
|
||||
1766743360656|CPToolTip|
|
||||
1766743360670|CPToolbarTest|
|
||||
1766743360683|CPURLConnectionAsyncTest|
|
||||
1766743360697|CPURLConnectionSynchronousTest|
|
||||
1766743360710|CPUserDefaults|
|
||||
1766743360724|CPUserDefaultsControllerTest|
|
||||
1766743360737|CPUserNotificationTest|
|
||||
1766743360751|CPViewController|
|
||||
1766743360764|CPVisualEffectViewTest|
|
||||
1766743360777|CPWebViewTest|
|
||||
1766743360791|CPWebViewTest2|
|
||||
1766743360804|CPWindowLiveResizeTest|
|
||||
1766743360817|CPWindowMovableTest|
|
||||
1766743360831|CPWindowResizeStyle|
|
||||
1766743360844|ChildWindows|
|
||||
1766743360857|CompilationTests|
|
||||
1766743360870|ContinuouslyUpdatesValueBinding|
|
||||
1766743360884|CopyAndPaste|
|
||||
1766743360897|CrossOriginTest|
|
||||
1766743360911|FF4096Test|
|
||||
1766743360924|FontEnhancementTest|
|
||||
1766743360937|FontMetricsExplorer|
|
||||
1766743360951|KeyEquivalents|
|
||||
1766743360964|KeyViewLoopTest|
|
||||
1766743360977|KeyWindowInTheBackgroundActivation|
|
||||
1766743360990|LayoutTest|
|
||||
1766743361004|LoadTimeTest|
|
||||
1766743361017|LongBindings|
|
||||
1766743361031|MobileTest|
|
||||
1766743361044|MultipleValueBindings|
|
||||
1766743361057|NSBoxTest|
|
||||
1766743361071|NSBrowserTest|
|
||||
1766743361084|NewTextFieldBezel|
|
||||
1766743361097|Nib2CibAlignment|
|
||||
1766743361110|Nib2CibBaselineAlignementTest|
|
||||
1766743361124|Nib2CibSubviewsOrderTest|
|
||||
1766743361137|NibAppRemixed|
|
||||
1766743361150|PatternFillTest|
|
||||
1766743361164|PlatformWindows|
|
||||
1766743361177|PopUpButtonEscTest|
|
||||
1766743361191|ScalingTest|
|
||||
1766743361204|ScalingTest2|
|
||||
1766743361217|ScrollviewTheming|
|
||||
1766743361230|SheetWindowOrderFrontIssue|
|
||||
1766743361244|SimpleBindings2|
|
||||
1766743361257|SmartFoldersDemo|
|
||||
1766743361271|TableTest|
|
||||
1766743361284|ThemeBrowser|
|
||||
1766743361297|ThemeKitchenSink|
|
||||
1766743361311|TrackingArea|
|
||||
1766743361324|UndoRedoWithMenuUpdate|
|
||||
1766743361337|UserlandNSTest|
|
||||
1766743361351|layoutEphemeralSubviewTest|
|
||||
1766743361364|loadDynamicFrameworks|
|
||||
1766743361377|performKeyEquivalentTest|
|
||||
1766743361391|predicateWithFormat|
|
||||
1766743361404|resignFirstResponder-CPControlTextDidEndEditing|
|
||||
1766743361417|sizeToFitFix|
|
||||
1766744525733|ArrayController1|
|
||||
1766744525747|ArrayControllerInitialSelectionTest|
|
||||
1766744525760|ArrayControllerRemovingFirstTest|
|
||||
1766744525774|AttachedSheet|
|
||||
1766744525787|AttachedSheet2|
|
||||
1766744525801|Bindings|
|
||||
1766744525814|CGCanvasContext|
|
||||
1766744525827|CGPath|
|
||||
1766744525841|CPAlertTest|
|
||||
1766744525854|CPAnimatablePropertyContainerTest|
|
||||
1766744525867|CPAnimationContextTest|
|
||||
1766744525881|CPAnimationTest|
|
||||
1766744525895|CPBinder-echo-bug|
|
||||
1766744525908|CPBoxCibTest|
|
||||
1766744525922|CPBoxTest|
|
||||
1766744525936|CPBrowserTest|
|
||||
1766744525949|CPButtonKeyEquivalentDefaultTest|
|
||||
1766744525963|CPButtonTest|
|
||||
1766744525976|CPByteCountFormatter|
|
||||
1766744525990|CPCollectionViewNibTest|
|
||||
1766744526003|CPColor-CPImage-description|
|
||||
1766744526017|CPColorWellBindings|
|
||||
1766744526030|CPComboBoxTest|
|
||||
1766744526043|CPControlPerformClickExceptionTest|
|
||||
1766744526057|CPControlSize|
|
||||
1766744526071|CPCursor|
|
||||
1766744526084|CPDateFormatterTest|
|
||||
1766744526098|CPDatePickerTest|
|
||||
1766744526111|CPDictionaryControllerTest|
|
||||
1766744526124|CPDocumentControllerTest|
|
||||
1766744526138|CPFormatterTest|
|
||||
1766744526151|CPGraphicsTest|
|
||||
1766744526164|CPImageAndTextViewImageScaling|
|
||||
1766744526178|CPImageViewAlignmentScaling|
|
||||
1766744526191|CPImageViewTest|
|
||||
1766744526204|CPImageViewbindingsTest|
|
||||
1766744526218|CPLevelIndicator|
|
||||
1766744526231|CPLocalizationTest|
|
||||
1766744526244|CPLogTest|
|
||||
1766744526258|CPMenuCALayerTest|
|
||||
1766744526271|CPMenuEnabledBindingsTest|
|
||||
1766744526284|CPMenuKeyEquivalents|
|
||||
1766744526297|CPMenuRemoveAllTest|
|
||||
1766744526311|CPMenuSubmenuPlacementConstraints|
|
||||
1766744526324|CPMenuTest|
|
||||
1766744526337|CPOutlineViewCibTest|
|
||||
1766744526351|CPOutlineViewTest|
|
||||
1766744526364|CPOutlineViewViewBasedCibTest|
|
||||
1766744526377|CPPanelTest|
|
||||
1766744526391|CPPlatformWindow|
|
||||
1766744526404|CPPlattformWindowMinSize|
|
||||
1766744526417|CPPopUpButtonBindings|
|
||||
1766744526431|CPPopUpButtonTest|
|
||||
1766744526444|CPPopover|
|
||||
1766744526457|CPPredicateEditorCibTest|
|
||||
1766744526470|CPProgressIndicator|
|
||||
1766744526484|CPPropertyListSerializationTest|
|
||||
1766744526497|CPRadioBindings|
|
||||
1766744526510|CPRuleEditorCibTest|
|
||||
1766744526524|CPScrollView|
|
||||
1766744526537|CPScrollView2|
|
||||
1766744526551|CPSearchField|
|
||||
1766744526564|CPSearchFieldPredicateBinding|
|
||||
1766744526577|CPSegmentedControlBindings|
|
||||
1766744526591|CPSegmentedControlTest|
|
||||
1766744526604|CPSoundTest|
|
||||
1766744526617|CPSplitViewDivider|
|
||||
1766744526630|CPSplitViewTest|
|
||||
1766744526644|CPStackViewTest|
|
||||
1766744526657|CPStepperBindings|
|
||||
1766744526670|CPStepperNibTest|
|
||||
1766744526684|CPTabView2|
|
||||
1766744526697|CPTabViewBindings|
|
||||
1766744526710|CPTabViewNib|
|
||||
1766744526723|CPTableViewGroupRows|
|
||||
1766744526737|CPTextField|
|
||||
1766744526750|CPTextFieldEditingStyleTest|
|
||||
1766744526763|CPTextFieldHeightTest|
|
||||
1766744526777|CPTextFieldMovementsTest|
|
||||
1766744526790|CPTextFieldMultiline|
|
||||
1766744526803|CPTextView|
|
||||
1766744526817|CPTextViewCibTest|
|
||||
1766744526830|CPTextViewDelegateAndNotifications|
|
||||
1766744526843|CPTimeZone|
|
||||
1766744526857|CPTokenFieldTest|
|
||||
1766744526871|CPToolTip|
|
||||
1766744526887|CPToolbarTest|
|
||||
1766744526902|CPURLConnectionAsyncTest|
|
||||
1766744526917|CPURLConnectionSynchronousTest|
|
||||
1766744526931|CPUserDefaults|
|
||||
1766744526945|CPUserDefaultsControllerTest|
|
||||
1766744526958|CPUserNotificationTest|
|
||||
1766744526971|CPViewController|
|
||||
1766744526985|CPVisualEffectViewTest|
|
||||
1766744526998|CPWebViewTest|
|
||||
1766744527011|CPWebViewTest2|
|
||||
1766744527025|CPWindowLiveResizeTest|
|
||||
1766744527042|CPWindowMovableTest|
|
||||
1766744527060|CPWindowResizeStyle|
|
||||
1766744527077|ChildWindows|
|
||||
1766744527091|CompilationTests|
|
||||
1766744527105|ContinuouslyUpdatesValueBinding|
|
||||
1766744527118|CopyAndPaste|
|
||||
1766744527131|CrossOriginTest|
|
||||
1766744527145|FF4096Test|
|
||||
1766744527158|FontEnhancementTest|
|
||||
1766744527171|FontMetricsExplorer|
|
||||
1766744527185|KeyEquivalents|
|
||||
1766744527198|KeyViewLoopTest|
|
||||
1766744527211|KeyWindowInTheBackgroundActivation|
|
||||
1766744527225|LayoutTest|
|
||||
1766744527238|LoadTimeTest|
|
||||
1766744527251|LongBindings|
|
||||
1766744527265|MobileTest|
|
||||
1766744527278|MultipleValueBindings|
|
||||
1766744527291|NSBoxTest|
|
||||
1766744527304|NSBrowserTest|
|
||||
1766744527318|NewTextFieldBezel|
|
||||
1766744527331|Nib2CibAlignment|
|
||||
1766744527344|Nib2CibBaselineAlignementTest|
|
||||
1766744527358|Nib2CibSubviewsOrderTest|
|
||||
1766744527371|NibAppRemixed|
|
||||
1766744527384|PatternFillTest|
|
||||
1766744527398|PlatformWindows|
|
||||
1766744527411|PopUpButtonEscTest|
|
||||
1766744527424|ScalingTest|
|
||||
1766744527438|ScalingTest2|
|
||||
1766744527451|ScrollviewTheming|
|
||||
1766744527464|SheetWindowOrderFrontIssue|
|
||||
1766744527478|SimpleBindings2|
|
||||
1766744527491|SmartFoldersDemo|
|
||||
1766744527504|TableTest|
|
||||
1766744527518|ThemeBrowser|
|
||||
1766744527531|ThemeKitchenSink|
|
||||
1766744527544|TrackingArea|
|
||||
1766744527558|UndoRedoWithMenuUpdate|
|
||||
1766744527571|UserlandNSTest|
|
||||
1766744527584|layoutEphemeralSubviewTest|
|
||||
1766744527598|loadDynamicFrameworks|
|
||||
1766744527611|performKeyEquivalentTest|
|
||||
1766744527624|predicateWithFormat|
|
||||
1766744527638|resignFirstResponder-CPControlTextDidEndEditing|
|
||||
1766744527651|sizeToFitFix|
|
||||
Reference in new issue
Block a user