├── .gitignore ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── docs ├── .gitignore ├── README.md ├── _config.yml ├── _includes │ ├── footer.html │ ├── head.html │ ├── header-home.html │ ├── header-main.html │ ├── icon-github.html │ ├── icon-github.svg │ ├── icon-twitter.html │ └── icon-twitter.svg ├── _layouts │ ├── default.html │ ├── doc.html │ └── main.html ├── _sass │ ├── _base.scss │ ├── _layout.scss │ └── _syntax-highlighting.scss ├── assets │ ├── images │ │ ├── background │ │ │ └── bg.png │ │ ├── builtwith │ │ │ └── pgd.png │ │ ├── docs │ │ │ ├── calendar-android.png │ │ │ ├── calendar-ios-off@2x.png │ │ │ ├── calendar-ios-off@3x.png │ │ │ ├── calendar-ios-off@4x.png │ │ │ ├── calendar-ios-on@2x.png │ │ │ ├── calendar-ios-on@3x.png │ │ │ ├── calendar-ios-on@4x.png │ │ │ ├── getting-started │ │ │ │ └── vsconfig.png │ │ │ ├── layout │ │ │ │ ├── canvas-android.png │ │ │ │ ├── canvas-ios.png │ │ │ │ ├── grid-android.png │ │ │ │ ├── grid-ios.png │ │ │ │ ├── grid-span-android.png │ │ │ │ ├── grid-span-bottomright-android.png │ │ │ │ ├── grid-span-centercenter-ios.png │ │ │ │ ├── grid-span-ios.png │ │ │ │ ├── grid-span-topleft-android.png │ │ │ │ ├── stackpanel-horizontal-android.png │ │ │ │ ├── stackpanel-horizontal-ios.png │ │ │ │ ├── stackpanel-horizontalalignment-ios.png │ │ │ │ ├── stackpanel-vertical-android.png │ │ │ │ ├── stackpanel-vertical-ios.png │ │ │ │ └── stackpanel-verticalalignment-ios.png │ │ │ └── native-folder.png │ │ ├── examples │ │ │ ├── examples.jpg │ │ │ └── pgd.jpg │ │ ├── github │ │ │ └── intro.png │ │ ├── home │ │ │ ├── androidtransparent.png │ │ │ ├── androidwidget.png │ │ │ ├── docked1.png │ │ │ ├── docked2.png │ │ │ ├── docked3.png │ │ │ ├── fullscreen.png │ │ │ ├── ib.png │ │ │ └── overlay.png │ │ └── logo │ │ │ └── ace.png │ ├── js │ │ ├── blog.js │ │ ├── contact.js │ │ └── main.js │ └── plugins │ │ ├── back-to-top.js │ │ ├── bootstrap-hover-dropdown.min.js │ │ ├── bootstrap │ │ ├── .editorconfig │ │ ├── .gitattributes │ │ ├── .hound.yml │ │ ├── .travis.yml │ │ ├── css │ │ │ ├── bootstrap-theme.css │ │ │ ├── bootstrap-theme.css.map │ │ │ ├── bootstrap-theme.min.css │ │ │ ├── bootstrap-theme.min.css.map │ │ │ ├── bootstrap.css │ │ │ ├── bootstrap.css.map │ │ │ ├── bootstrap.min.css │ │ │ └── bootstrap.min.css.map │ │ ├── fonts │ │ │ ├── glyphicons-halflings-regular.eot │ │ │ ├── glyphicons-halflings-regular.svg │ │ │ ├── glyphicons-halflings-regular.ttf │ │ │ ├── glyphicons-halflings-regular.woff │ │ │ └── glyphicons-halflings-regular.woff2 │ │ └── js │ │ │ ├── bootstrap.js │ │ │ ├── bootstrap.min.js │ │ │ └── npm.js │ │ ├── font-awesome │ │ ├── HELP-US-OUT.txt │ │ ├── css │ │ │ ├── font-awesome.css │ │ │ └── font-awesome.min.css │ │ ├── fonts │ │ │ ├── FontAwesome.otf │ │ │ ├── fontawesome-webfont.eot │ │ │ ├── fontawesome-webfont.svg │ │ │ ├── fontawesome-webfont.ttf │ │ │ ├── fontawesome-webfont.woff │ │ │ └── fontawesome-webfont.woff2 │ │ ├── less │ │ │ ├── animated.less │ │ │ ├── bordered-pulled.less │ │ │ ├── core.less │ │ │ ├── fixed-width.less │ │ │ ├── font-awesome.less │ │ │ ├── icons.less │ │ │ ├── larger.less │ │ │ ├── list.less │ │ │ ├── mixins.less │ │ │ ├── path.less │ │ │ ├── rotated-flipped.less │ │ │ ├── stacked.less │ │ │ └── variables.less │ │ └── scss │ │ │ ├── _animated.scss │ │ │ ├── _bordered-pulled.scss │ │ │ ├── _core.scss │ │ │ ├── _fixed-width.scss │ │ │ ├── _icons.scss │ │ │ ├── _larger.scss │ │ │ ├── _list.scss │ │ │ ├── _mixins.scss │ │ │ ├── _path.scss │ │ │ ├── _rotated-flipped.scss │ │ │ ├── _stacked.scss │ │ │ ├── _variables.scss │ │ │ └── font-awesome.scss │ │ ├── imagesloaded │ │ ├── .jshintrc │ │ ├── Gruntfile.js │ │ ├── README.md │ │ ├── bower.json │ │ ├── imagesloaded.jquery.json │ │ ├── imagesloaded.js │ │ ├── imagesloaded.pkgd.js │ │ ├── imagesloaded.pkgd.min.js │ │ └── package.json │ │ ├── jquery-1.11.2.min.js │ │ ├── jquery-migrate-1.2.1.min.js │ │ ├── jquery-placeholder │ │ ├── .gitattributes │ │ ├── LICENSE-MIT.txt │ │ ├── README.md │ │ ├── bower.json │ │ ├── demo.html │ │ └── jquery.placeholder.js │ │ ├── jquery.validate.min.js │ │ ├── masonry.pkgd.min.js │ │ └── rrssb │ │ ├── README.md │ │ ├── bower.json │ │ ├── config.codekit │ │ ├── css │ │ ├── demo.css │ │ ├── normalize.min.css │ │ └── rrssb.css │ │ ├── icons │ │ ├── README.md │ │ ├── facebook.svg │ │ ├── github.svg │ │ ├── google_plus.svg │ │ ├── instagram.svg │ │ ├── linkedin.svg │ │ ├── mail.svg │ │ ├── pinterest.svg │ │ ├── pocket.svg │ │ ├── reddit.svg │ │ ├── tumblr.svg │ │ ├── twitter.svg │ │ └── youtube.svg │ │ ├── index.html │ │ ├── js │ │ ├── rrssb.js │ │ ├── rrssb.min.js │ │ └── vendor │ │ │ ├── jquery.1.10.2.min.js │ │ │ └── modernizr-2.6.2-respond-1.1.0.min.js │ │ ├── media │ │ ├── README.md │ │ ├── facebook-share.jpg │ │ ├── favicon.png │ │ ├── rrssb-preview.gif │ │ └── rrssb-preview.png │ │ └── scss │ │ ├── demo.scss │ │ └── rrssb.scss ├── builtWithAce.html ├── css │ ├── main.scss │ └── styles.css ├── docs │ ├── aa_getting-started.md │ ├── ia_invoking-native-code.md │ ├── ib_using-native-ui.md │ ├── index.html │ ├── ta_navigation.md │ ├── tb_styling.md │ ├── tc_images.md │ ├── td_layout.md │ ├── td_platform-specific.md │ ├── tz_security.md │ ├── za_ui-framework-reference.md │ ├── zb_examples.md │ └── zc_errors.md ├── faq.md ├── favicon.ico ├── feed.xml └── index.html ├── examples ├── AceExamples │ ├── .gitignore │ ├── Ace.BuildTasks.dll │ ├── Ace.targets │ ├── AceExamples.jsproj │ ├── AceExamples.sln │ ├── bower.json │ ├── build.json │ ├── config.xml │ ├── example-markup │ │ ├── Conditional.xaml │ │ ├── MixedAndroid.xaml │ │ ├── MixediOS.xaml │ │ ├── Native1.xaml │ │ ├── Native2.xaml │ │ ├── docked-grid.xaml │ │ ├── docked-tabs.xaml │ │ ├── overlay-buttons.xaml │ │ └── vector-test.xaml │ ├── merges │ │ ├── android │ │ │ └── scripts │ │ │ │ ├── android2.3-jscompat.js │ │ │ │ └── platformOverrides.js │ │ └── windows │ │ │ └── scripts │ │ │ ├── platformOverrides.js │ │ │ └── winstore-jscompat.js │ ├── native │ │ ├── android │ │ │ ├── AndroidManifest.xml │ │ │ ├── res │ │ │ │ └── layout │ │ │ │ │ └── android_sample.xml │ │ │ └── src │ │ │ │ └── MyAlgorithm.java │ │ └── ios │ │ │ ├── CustomCode.h │ │ │ ├── MyAlgorithm.h │ │ │ ├── MyAlgorithm.m │ │ │ └── resources │ │ │ └── ios_sample.xib │ ├── package.json │ ├── res │ │ ├── icons │ │ │ ├── android │ │ │ │ ├── icon-36-ldpi.png │ │ │ │ ├── icon-48-mdpi.png │ │ │ │ ├── icon-72-hdpi.png │ │ │ │ └── icon-96-xhdpi.png │ │ │ ├── ios │ │ │ │ ├── icon-40-2x.png │ │ │ │ ├── icon-40.png │ │ │ │ ├── icon-50-2x.png │ │ │ │ ├── icon-50.png │ │ │ │ ├── icon-57-2x.png │ │ │ │ ├── icon-57.png │ │ │ │ ├── icon-60-2x.png │ │ │ │ ├── icon-60-3x.png │ │ │ │ ├── icon-60.png │ │ │ │ ├── icon-72-2x.png │ │ │ │ ├── icon-72.png │ │ │ │ ├── icon-76-2x.png │ │ │ │ ├── icon-76.png │ │ │ │ ├── icon-small-2x.png │ │ │ │ └── icon-small.png │ │ │ ├── windows │ │ │ │ ├── Square150x150Logo.scale-100.png │ │ │ │ ├── Square150x150Logo.scale-240.png │ │ │ │ ├── Square30x30Logo.scale-100.png │ │ │ │ ├── Square310x310Logo.scale-100.png │ │ │ │ ├── Square44x44Logo.scale-240.png │ │ │ │ ├── Square70x70Logo.scale-100.png │ │ │ │ ├── Square71x71Logo.scale-240.png │ │ │ │ ├── StoreLogo.scale-100.png │ │ │ │ ├── StoreLogo.scale-240.png │ │ │ │ ├── Wide310x150Logo.scale-100.png │ │ │ │ └── Wide310x150Logo.scale-240.png │ │ │ └── wp8 │ │ │ │ ├── ApplicationIcon.png │ │ │ │ └── Background.png │ │ ├── native │ │ │ └── android │ │ │ │ └── ant.properties │ │ └── screens │ │ │ ├── android │ │ │ ├── screen-hdpi-landscape.png │ │ │ ├── screen-hdpi-portrait.png │ │ │ ├── screen-ldpi-landscape.png │ │ │ ├── screen-ldpi-portrait.png │ │ │ ├── screen-mdpi-landscape.png │ │ │ ├── screen-mdpi-portrait.png │ │ │ ├── screen-xhdpi-landscape.png │ │ │ └── screen-xhdpi-portrait.png │ │ │ ├── ios │ │ │ ├── screen-ipad-landscape-2x.png │ │ │ ├── screen-ipad-landscape.png │ │ │ ├── screen-ipad-portrait-2x.png │ │ │ ├── screen-ipad-portrait.png │ │ │ ├── screen-iphone-568h-2x.png │ │ │ ├── screen-iphone-landscape-736h.png │ │ │ ├── screen-iphone-portrait-2x.png │ │ │ ├── screen-iphone-portrait-667h.png │ │ │ ├── screen-iphone-portrait-736h.png │ │ │ └── screen-iphone-portrait.png │ │ │ ├── windows │ │ │ ├── SplashScreen.scale-100.png │ │ │ ├── SplashScreen.scale-240.png │ │ │ └── SplashScreenPhone.scale-240.png │ │ │ └── wp8 │ │ │ └── SplashScreenImage.jpg │ ├── taco.json │ └── www │ │ ├── css │ │ └── index.css │ │ ├── example-script │ │ ├── docked-ui.js │ │ ├── fullscreen-ui.js │ │ ├── invoke-code.js │ │ ├── overlay-ui.js │ │ └── platform-specific-ui.js │ │ ├── images │ │ ├── info-android.png │ │ ├── info-ios-off@2x.png │ │ ├── info-ios-off@3x.png │ │ ├── info-ios-off@4x.png │ │ ├── info-ios-on@2x.png │ │ ├── info-ios-on@3x.png │ │ └── info-ios-on@4x.png │ │ ├── index.html │ │ ├── scripts │ │ ├── index.js │ │ └── platformOverrides.js │ │ └── xbf │ │ ├── Conditional.xbf │ │ ├── MixedAndroid.xbf │ │ ├── MixediOS.xbf │ │ ├── Native1.xbf │ │ ├── Native2.xbf │ │ ├── docked-grid.xbf │ │ ├── docked-tabs.xbf │ │ ├── overlay-buttons.xbf │ │ └── vector-test.xbf └── WithOtherPlugins │ └── InAppBrowser │ ├── .gitignore │ ├── Ace.BuildTasks.dll │ ├── Ace.targets │ ├── AceWithInAppBrowser.jsproj │ ├── AceWithInAppBrowser.sln │ ├── bower.json │ ├── build.json │ ├── config.xml │ ├── merges │ ├── android │ │ └── scripts │ │ │ ├── android2.3-jscompat.js │ │ │ └── platformOverrides.js │ └── windows │ │ └── scripts │ │ ├── platformOverrides.js │ │ └── winstore-jscompat.js │ ├── native │ ├── android │ │ └── AndroidManifest.xml │ └── ios │ │ └── CustomCode.h │ ├── package.json │ ├── res │ ├── icons │ │ ├── android │ │ │ ├── icon-36-ldpi.png │ │ │ ├── icon-48-mdpi.png │ │ │ ├── icon-72-hdpi.png │ │ │ └── icon-96-xhdpi.png │ │ ├── ios │ │ │ ├── icon-40-2x.png │ │ │ ├── icon-40.png │ │ │ ├── icon-50-2x.png │ │ │ ├── icon-50.png │ │ │ ├── icon-57-2x.png │ │ │ ├── icon-57.png │ │ │ ├── icon-60-2x.png │ │ │ ├── icon-60-3x.png │ │ │ ├── icon-60.png │ │ │ ├── icon-72-2x.png │ │ │ ├── icon-72.png │ │ │ ├── icon-76-2x.png │ │ │ ├── icon-76.png │ │ │ ├── icon-small-2x.png │ │ │ └── icon-small.png │ │ ├── windows │ │ │ ├── Square150x150Logo.scale-100.png │ │ │ ├── Square150x150Logo.scale-240.png │ │ │ ├── Square30x30Logo.scale-100.png │ │ │ ├── Square310x310Logo.scale-100.png │ │ │ ├── Square44x44Logo.scale-240.png │ │ │ ├── Square70x70Logo.scale-100.png │ │ │ ├── Square71x71Logo.scale-240.png │ │ │ ├── StoreLogo.scale-100.png │ │ │ ├── StoreLogo.scale-240.png │ │ │ ├── Wide310x150Logo.scale-100.png │ │ │ └── Wide310x150Logo.scale-240.png │ │ └── wp8 │ │ │ ├── ApplicationIcon.png │ │ │ └── Background.png │ ├── native │ │ └── android │ │ │ └── ant.properties │ └── screens │ │ ├── android │ │ ├── screen-hdpi-landscape.png │ │ ├── screen-hdpi-portrait.png │ │ ├── screen-ldpi-landscape.png │ │ ├── screen-ldpi-portrait.png │ │ ├── screen-mdpi-landscape.png │ │ ├── screen-mdpi-portrait.png │ │ ├── screen-xhdpi-landscape.png │ │ └── screen-xhdpi-portrait.png │ │ ├── ios │ │ ├── screen-ipad-landscape-2x.png │ │ ├── screen-ipad-landscape.png │ │ ├── screen-ipad-portrait-2x.png │ │ ├── screen-ipad-portrait.png │ │ ├── screen-iphone-568h-2x.png │ │ ├── screen-iphone-landscape-736h.png │ │ ├── screen-iphone-portrait-2x.png │ │ ├── screen-iphone-portrait-667h.png │ │ ├── screen-iphone-portrait-736h.png │ │ └── screen-iphone-portrait.png │ │ ├── windows │ │ ├── SplashScreen.scale-100.png │ │ ├── SplashScreen.scale-240.png │ │ └── SplashScreenPhone.scale-240.png │ │ └── wp8 │ │ └── SplashScreenImage.jpg │ ├── taco.json │ └── www │ ├── index.html │ └── scripts │ ├── index.js │ └── platformOverrides.js ├── markupcompiler ├── Ace.BuildTasks.dll ├── Ace.targets └── markupcompiler.exe ├── package.json ├── plugin.xml ├── src ├── android │ ├── Handle.java │ ├── IFireEvents.java │ ├── IHaveProperties.java │ ├── IRecieveCollectionChanges.java │ ├── Utils.java │ ├── appwidgets │ │ ├── AppWidgetData.java │ │ ├── AppWidgetProvider.java │ │ └── AppWidgetService.java │ ├── build │ │ ├── CustomApplication.java │ │ ├── build.gradle │ │ └── native.gradle │ ├── collections │ │ ├── ColumnDefinitionCollection.java │ │ ├── CommandBarElementCollection.java │ │ ├── Dictionary.java │ │ ├── GradientStopCollection.java │ │ ├── InlineCollection.java │ │ ├── ItemCollection.java │ │ ├── ObservableCollection.java │ │ ├── PathFigureCollection.java │ │ ├── PathSegmentCollection.java │ │ ├── PointCollection.java │ │ ├── ResourceDictionary.java │ │ ├── RowDefinitionCollection.java │ │ ├── SetterBaseCollection.java │ │ └── UIElementCollection.java │ ├── converters │ │ ├── BrushConverter.java │ │ ├── FontWeightConverter.java │ │ ├── NamedColor.java │ │ └── PointFConverter.java │ ├── framework │ │ ├── AppBarButton.java │ │ ├── ArcSegment.java │ │ ├── BezierSegment.java │ │ ├── BitmapImage.java │ │ ├── Brush.java │ │ ├── Button.java │ │ ├── Canvas.java │ │ ├── Color.java │ │ ├── ColumnDefinition.java │ │ ├── CommandBar.java │ │ ├── DatePicker.java │ │ ├── Frame.java │ │ ├── Geometry.java │ │ ├── GeometryContext.java │ │ ├── GeometryConverter.java │ │ ├── GeometryParser.java │ │ ├── GradientStop.java │ │ ├── Grid.java │ │ ├── GridLength.java │ │ ├── GridLengthConverter.java │ │ ├── GridUnitType.java │ │ ├── HyperlinkButton.java │ │ ├── Image.java │ │ ├── ImageSource.java │ │ ├── LineSegment.java │ │ ├── LinearGradientBrush.java │ │ ├── ListBox.java │ │ ├── ListBoxItem.java │ │ ├── Page.java │ │ ├── Path.java │ │ ├── PathFigure.java │ │ ├── PathGeometry.java │ │ ├── PathSegment.java │ │ ├── PolyBezierSegment.java │ │ ├── PolyLineSegment.java │ │ ├── PolyQuadraticBezierSegment.java │ │ ├── Popup.java │ │ ├── QuadraticBezierSegment.java │ │ ├── RowDefinition.java │ │ ├── Setter.java │ │ ├── Shape.java │ │ ├── SolidColorBrush.java │ │ ├── StackPanel.java │ │ ├── StaticResource.java │ │ ├── Style.java │ │ ├── TabBar.java │ │ ├── TextBlock.java │ │ ├── Thickness.java │ │ ├── TimePicker.java │ │ ├── ToggleSwitch.java │ │ └── WebView.java │ ├── host │ │ ├── AceActivity.java │ │ ├── IncomingMessages.java │ │ ├── NativeEventAttacher.java │ │ ├── NativeHost.java │ │ └── OutgoingMessages.java │ ├── propertyHelpers │ │ ├── TextViewHelper.java │ │ ├── ViewGroupHelper.java │ │ └── ViewHelper.java │ └── res │ │ └── values │ │ └── ace_ids.xml ├── ios │ ├── AceNavigationController.h │ ├── AceNavigationController.mm │ ├── AcePluginManager.h │ ├── AcePluginManager.mm │ ├── AceViewController.h │ ├── AceViewController.mm │ ├── AppBarButton.h │ ├── AppBarButton.mm │ ├── ArcSegment.h │ ├── ArcSegment.mm │ ├── BezierSegment.h │ ├── BezierSegment.mm │ ├── BitmapIcon.h │ ├── BitmapIcon.mm │ ├── BitmapImage.h │ ├── BitmapImage.mm │ ├── Brush.h │ ├── Brush.mm │ ├── BrushConverter.h │ ├── BrushConverter.mm │ ├── Button.h │ ├── Button.mm │ ├── Canvas.h │ ├── Canvas.mm │ ├── Color.h │ ├── Color.mm │ ├── ColumnDefinition.h │ ├── ColumnDefinition.mm │ ├── ColumnDefinitionCollection.h │ ├── ColumnDefinitionCollection.mm │ ├── CommandBar.h │ ├── CommandBar.mm │ ├── CommandBarElementCollection.h │ ├── CommandBarElementCollection.mm │ ├── CustomActionSheet.h │ ├── CustomActionSheet.mm │ ├── DatePicker.h │ ├── DatePicker.mm │ ├── Dictionary.h │ ├── Dictionary.mm │ ├── FontWeightConverter.h │ ├── FontWeightConverter.mm │ ├── Frame.h │ ├── Frame.mm │ ├── Geometry.h │ ├── Geometry.mm │ ├── GeometryContext.h │ ├── GeometryContext.mm │ ├── GeometryConverter.h │ ├── GeometryConverter.mm │ ├── GeometryParser.h │ ├── GeometryParser.mm │ ├── GradientStop.h │ ├── GradientStop.mm │ ├── GradientStopCollection.h │ ├── GradientStopCollection.mm │ ├── Grid.h │ ├── Grid.mm │ ├── GridLength.h │ ├── GridLength.mm │ ├── GridLengthConverter.h │ ├── GridLengthConverter.mm │ ├── Handle.h │ ├── Handle.mm │ ├── HyperlinkButton.h │ ├── HyperlinkButton.mm │ ├── IFireEvents.h │ ├── IHaveProperties.h │ ├── IRecieveCollectionChanges.h │ ├── IconElement.h │ ├── IconElement.mm │ ├── Image.h │ ├── Image.mm │ ├── ImageSource.h │ ├── ImageSource.mm │ ├── IncomingMessages.h │ ├── IncomingMessages.mm │ ├── InlineCollection.h │ ├── InlineCollection.mm │ ├── ItemCollection.h │ ├── ItemCollection.mm │ ├── ItemsControl.h │ ├── ItemsControl.mm │ ├── KnownColors.h │ ├── KnownColors.mm │ ├── LineSegment.h │ ├── LineSegment.mm │ ├── LinearGradientBrush.h │ ├── LinearGradientBrush.mm │ ├── ListBox.h │ ├── ListBox.mm │ ├── ListBoxItem.h │ ├── ListBoxItem.mm │ ├── NativeEventAttacher.h │ ├── NativeEventAttacher.mm │ ├── NativeHost.h │ ├── NativeHost.mm │ ├── ObservableCollection.h │ ├── ObservableCollection.mm │ ├── OutgoingMessages.h │ ├── OutgoingMessages.mm │ ├── Page.h │ ├── Page.mm │ ├── Parsers.h │ ├── Parsers.mm │ ├── Path.h │ ├── Path.mm │ ├── PathFigure.h │ ├── PathFigure.mm │ ├── PathFigureCollection.h │ ├── PathFigureCollection.mm │ ├── PathGeometry.h │ ├── PathGeometry.mm │ ├── PathSegment.h │ ├── PathSegment.mm │ ├── PathSegmentCollection.h │ ├── PathSegmentCollection.mm │ ├── PointCollection.h │ ├── PointCollection.mm │ ├── PolyBezierSegment.h │ ├── PolyBezierSegment.mm │ ├── PolyLineSegment.h │ ├── PolyLineSegment.mm │ ├── PolyQuadraticBezierSegment.h │ ├── PolyQuadraticBezierSegment.mm │ ├── Popup.h │ ├── Popup.mm │ ├── QuadraticBezierSegment.h │ ├── QuadraticBezierSegment.mm │ ├── RectUtils.h │ ├── RectUtils.mm │ ├── ResourceDictionary.h │ ├── ResourceDictionary.mm │ ├── RowDefinition.h │ ├── RowDefinition.mm │ ├── RowDefinitionCollection.h │ ├── RowDefinitionCollection.mm │ ├── Selector.h │ ├── Selector.mm │ ├── Setter.h │ ├── Setter.mm │ ├── SetterBaseCollection.h │ ├── SetterBaseCollection.mm │ ├── Shape.h │ ├── Shape.mm │ ├── SolidColorBrush.h │ ├── SolidColorBrush.mm │ ├── StackPanel.h │ ├── StackPanel.mm │ ├── StaticResource.h │ ├── StaticResource.mm │ ├── Style.h │ ├── Style.mm │ ├── SymbolIcon.h │ ├── SymbolIcon.mm │ ├── TabBar.h │ ├── TabBar.mm │ ├── TableView.h │ ├── TableView.mm │ ├── TableViewCell.h │ ├── TableViewCell.mm │ ├── TextBlock.h │ ├── TextBlock.mm │ ├── Thickness.h │ ├── Thickness.mm │ ├── TimePicker.h │ ├── TimePicker.mm │ ├── ToggleSwitch.h │ ├── ToggleSwitch.mm │ ├── UIElementCollection.h │ ├── UIElementCollection.mm │ ├── UILabelHelper.h │ ├── UILabelHelper.mm │ ├── UIViewHelper.h │ ├── UIViewHelper.mm │ ├── Utils.h │ ├── Utils.mm │ ├── WebView.h │ ├── WebView.mm │ └── build │ │ ├── Podfile │ │ ├── native.xcodeproj │ │ ├── project.pbxproj │ │ ├── project.xcworkspace │ │ │ └── contents.xcworkspacedata │ │ └── xcshareddata │ │ │ └── native.xcscheme │ │ └── native │ │ ├── Info.plist │ │ └── native.h └── plugin_hooks │ ├── after_plugin_install.js │ ├── android_after_prepare.js │ ├── android_before_compile.js │ └── ios_after_prepare.js ├── tests └── dump_compiled_markup │ ├── BinaryReader.js │ ├── NodeType.js │ ├── XamlNode.js │ ├── XbfDump.js │ ├── XbfReader.js │ └── dump_compiled_markup.js ├── typings └── ace.d.ts └── www ├── Extensions.js ├── ToNative.js ├── ace.js ├── android └── platform.js ├── external.js ├── framework ├── AppBarButton.js ├── Button.js ├── ButtonBase.js ├── ColumnDefinition.js ├── CommandBar.js ├── DatePicker.js ├── Frame.js ├── Geometry.js ├── HyperlinkButton.js ├── Image.js ├── LineSegment.js ├── ListBox.js ├── ListBoxItem.js ├── Page.js ├── Path.js ├── PathFigure.js ├── PathGeometry.js ├── PathSegment.js ├── Popup.js ├── RowDefinition.js ├── Setter.js ├── Shape.js ├── StaticResource.js ├── Style.js ├── TabBar.js ├── TableView.js ├── TableViewCell.js ├── TextBlock.js ├── TimePicker.js ├── ToggleSwitch.js ├── WebView.js ├── collections │ ├── ColumnDefinitionCollection.js │ ├── CommandBarElementCollection.js │ ├── Dictionary.js │ ├── InlineCollection.js │ ├── ItemCollection.js │ ├── ObservableCollection.js │ ├── PathFigureCollection.js │ ├── PathSegmentCollection.js │ ├── ResourceDictionary.js │ ├── RowDefinitionCollection.js │ ├── SetterBaseCollection.js │ └── UIElementCollection.js ├── panels │ ├── Canvas.js │ ├── Grid.js │ ├── Panel.js │ └── StackPanel.js ├── platformHelpers │ ├── android.js │ └── ios.js └── primitives │ ├── ContentControl.js │ ├── Control.js │ ├── ItemsControl.js │ ├── KnownNativeObject.js │ ├── NativeObject.js │ ├── Selector.js │ ├── SelectorItem.js │ ├── UIElement.js │ ├── UserControl.js │ └── WrappedNativeObject.js ├── iOS └── platform.js └── xbf ├── BinaryReader.js ├── NodeToElement.js ├── NodeType.js ├── XamlNode.js └── XbfReader.js /.gitignore: -------------------------------------------------------------------------------- 1 | # Created by .ignore support plugin (hsz.mobi) 2 | .idea/ 3 | gen/ 4 | node_modules/ -------------------------------------------------------------------------------- /docs/.gitignore: -------------------------------------------------------------------------------- 1 | _site 2 | .sass-cache 3 | .jekyll-metadata 4 | -------------------------------------------------------------------------------- /docs/README.md: -------------------------------------------------------------------------------- 1 | # This is where the content of the documentation website lives (http://microsoft.github.io/ace/) 2 | -------------------------------------------------------------------------------- /docs/_config.yml: -------------------------------------------------------------------------------- 1 | # This file is *NOT* reloaded automatically when you use 2 | # 'jekyll serve'. If you change this file, please restart the server process. 3 | 4 | # Site settings 5 | title: Project Ace - Cordova Plugin for Native UI 6 | description: > # this means to ignore newlines until "baseurl:" 7 | Project Ace is an Apache Cordova plugin that enables you to mix native UI and native code with your JavaScript and HTML. Create cross-platform Android and iOS apps with truly native UI. 8 | baseurl: "/ace" # the subpath of your site, e.g. /blog 9 | url: "http://microsoft.github.io" # the base hostname & protocol for your site 10 | twitter_username: aceplugin 11 | github_username: microsoft/ace 12 | 13 | # Build settings 14 | markdown: kramdown 15 | -------------------------------------------------------------------------------- /docs/_includes/icon-github.html: -------------------------------------------------------------------------------- 1 | {% include icon-github.svg %}{{ include.username }} 2 | -------------------------------------------------------------------------------- /docs/_includes/icon-twitter.html: -------------------------------------------------------------------------------- 1 | {% include icon-twitter.svg %}{{ include.username }} 2 | -------------------------------------------------------------------------------- /docs/_includes/icon-twitter.svg: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /docs/_layouts/default.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | {% include head.html %} 5 | 6 | 7 | 8 | {% include header-home.html %} 9 | 10 |
11 | {{ content }} 12 |
13 | 14 | {% include footer.html %} 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /docs/_layouts/main.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | {% include head.html %} 5 | 6 | 7 | 8 | {% include header-main.html %} 9 |

{{page.title}}

10 | 11 |
12 | {{ content }} 13 |
14 | 15 |

16 | {% include footer.html %} 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /docs/assets/images/background/bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/docs/assets/images/background/bg.png -------------------------------------------------------------------------------- /docs/assets/images/builtwith/pgd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/docs/assets/images/builtwith/pgd.png -------------------------------------------------------------------------------- /docs/assets/images/docs/calendar-android.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/docs/assets/images/docs/calendar-android.png -------------------------------------------------------------------------------- /docs/assets/images/docs/calendar-ios-off@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/docs/assets/images/docs/calendar-ios-off@2x.png -------------------------------------------------------------------------------- /docs/assets/images/docs/calendar-ios-off@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/docs/assets/images/docs/calendar-ios-off@3x.png -------------------------------------------------------------------------------- /docs/assets/images/docs/calendar-ios-off@4x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/docs/assets/images/docs/calendar-ios-off@4x.png -------------------------------------------------------------------------------- /docs/assets/images/docs/calendar-ios-on@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/docs/assets/images/docs/calendar-ios-on@2x.png -------------------------------------------------------------------------------- /docs/assets/images/docs/calendar-ios-on@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/docs/assets/images/docs/calendar-ios-on@3x.png -------------------------------------------------------------------------------- /docs/assets/images/docs/calendar-ios-on@4x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/docs/assets/images/docs/calendar-ios-on@4x.png -------------------------------------------------------------------------------- /docs/assets/images/docs/getting-started/vsconfig.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/docs/assets/images/docs/getting-started/vsconfig.png -------------------------------------------------------------------------------- /docs/assets/images/docs/layout/canvas-android.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/docs/assets/images/docs/layout/canvas-android.png -------------------------------------------------------------------------------- /docs/assets/images/docs/layout/canvas-ios.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/docs/assets/images/docs/layout/canvas-ios.png -------------------------------------------------------------------------------- /docs/assets/images/docs/layout/grid-android.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/docs/assets/images/docs/layout/grid-android.png -------------------------------------------------------------------------------- /docs/assets/images/docs/layout/grid-ios.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/docs/assets/images/docs/layout/grid-ios.png -------------------------------------------------------------------------------- /docs/assets/images/docs/layout/grid-span-android.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/docs/assets/images/docs/layout/grid-span-android.png -------------------------------------------------------------------------------- /docs/assets/images/docs/layout/grid-span-bottomright-android.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/docs/assets/images/docs/layout/grid-span-bottomright-android.png -------------------------------------------------------------------------------- /docs/assets/images/docs/layout/grid-span-centercenter-ios.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/docs/assets/images/docs/layout/grid-span-centercenter-ios.png -------------------------------------------------------------------------------- /docs/assets/images/docs/layout/grid-span-ios.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/docs/assets/images/docs/layout/grid-span-ios.png -------------------------------------------------------------------------------- /docs/assets/images/docs/layout/grid-span-topleft-android.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/docs/assets/images/docs/layout/grid-span-topleft-android.png -------------------------------------------------------------------------------- /docs/assets/images/docs/layout/stackpanel-horizontal-android.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/docs/assets/images/docs/layout/stackpanel-horizontal-android.png -------------------------------------------------------------------------------- /docs/assets/images/docs/layout/stackpanel-horizontal-ios.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/docs/assets/images/docs/layout/stackpanel-horizontal-ios.png -------------------------------------------------------------------------------- /docs/assets/images/docs/layout/stackpanel-horizontalalignment-ios.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/docs/assets/images/docs/layout/stackpanel-horizontalalignment-ios.png -------------------------------------------------------------------------------- /docs/assets/images/docs/layout/stackpanel-vertical-android.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/docs/assets/images/docs/layout/stackpanel-vertical-android.png -------------------------------------------------------------------------------- /docs/assets/images/docs/layout/stackpanel-vertical-ios.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/docs/assets/images/docs/layout/stackpanel-vertical-ios.png -------------------------------------------------------------------------------- /docs/assets/images/docs/layout/stackpanel-verticalalignment-ios.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/docs/assets/images/docs/layout/stackpanel-verticalalignment-ios.png -------------------------------------------------------------------------------- /docs/assets/images/docs/native-folder.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/docs/assets/images/docs/native-folder.png -------------------------------------------------------------------------------- /docs/assets/images/examples/examples.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/docs/assets/images/examples/examples.jpg -------------------------------------------------------------------------------- /docs/assets/images/examples/pgd.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/docs/assets/images/examples/pgd.jpg -------------------------------------------------------------------------------- /docs/assets/images/github/intro.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/docs/assets/images/github/intro.png -------------------------------------------------------------------------------- /docs/assets/images/home/androidtransparent.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/docs/assets/images/home/androidtransparent.png -------------------------------------------------------------------------------- /docs/assets/images/home/androidwidget.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/docs/assets/images/home/androidwidget.png -------------------------------------------------------------------------------- /docs/assets/images/home/docked1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/docs/assets/images/home/docked1.png -------------------------------------------------------------------------------- /docs/assets/images/home/docked2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/docs/assets/images/home/docked2.png -------------------------------------------------------------------------------- /docs/assets/images/home/docked3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/docs/assets/images/home/docked3.png -------------------------------------------------------------------------------- /docs/assets/images/home/fullscreen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/docs/assets/images/home/fullscreen.png -------------------------------------------------------------------------------- /docs/assets/images/home/ib.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/docs/assets/images/home/ib.png -------------------------------------------------------------------------------- /docs/assets/images/home/overlay.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/docs/assets/images/home/overlay.png -------------------------------------------------------------------------------- /docs/assets/images/logo/ace.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/docs/assets/images/logo/ace.png -------------------------------------------------------------------------------- /docs/assets/js/contact.js: -------------------------------------------------------------------------------- 1 | $(document).ready(function() { 2 | 3 | /* ======= jQuery form validator ======= */ 4 | /* Ref: http://jqueryvalidation.org/documentation/ */ 5 | $("#contact-form").validate({ 6 | messages: { 7 | 8 | name: { 9 | required: 'Please enter your name' //You can customise this message 10 | }, 11 | email: { 12 | required: 'Please enter your email' //You can customise this message 13 | }, 14 | message: { 15 | required: 'Please enter your message' //You can customise this message 16 | } 17 | 18 | } 19 | 20 | }); 21 | 22 | 23 | }); 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /docs/assets/plugins/bootstrap/.editorconfig: -------------------------------------------------------------------------------- 1 | # editorconfig.org 2 | 3 | root = true 4 | 5 | [*] 6 | charset = utf-8 7 | end_of_line = lf 8 | indent_size = 2 9 | indent_style = space 10 | insert_final_newline = true 11 | trim_trailing_whitespace = true 12 | 13 | [*.md] 14 | trim_trailing_whitespace = false 15 | 16 | [*.py] 17 | indent_size = 4 18 | -------------------------------------------------------------------------------- /docs/assets/plugins/bootstrap/.gitattributes: -------------------------------------------------------------------------------- 1 | # Enforce Unix newlines 2 | *.css text eol=lf 3 | *.html text eol=lf 4 | *.js text eol=lf 5 | *.json text eol=lf 6 | *.less text eol=lf 7 | *.md text eol=lf 8 | *.svg text eol=lf 9 | *.yml text eol=lf 10 | # Don't diff or textually merge source maps 11 | *.map binary 12 | 13 | bootstrap-theme.css linguist-vendored=false 14 | bootstrap.css linguist-vendored=false 15 | bootstrap.js linguist-vendored=false 16 | -------------------------------------------------------------------------------- /docs/assets/plugins/bootstrap/.hound.yml: -------------------------------------------------------------------------------- 1 | javascript: 2 | config_file: js/.jshintrc 3 | enabled: true 4 | scss: 5 | enabled: false 6 | -------------------------------------------------------------------------------- /docs/assets/plugins/bootstrap/fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/docs/assets/plugins/bootstrap/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /docs/assets/plugins/bootstrap/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/docs/assets/plugins/bootstrap/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /docs/assets/plugins/bootstrap/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/docs/assets/plugins/bootstrap/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /docs/assets/plugins/bootstrap/fonts/glyphicons-halflings-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/docs/assets/plugins/bootstrap/fonts/glyphicons-halflings-regular.woff2 -------------------------------------------------------------------------------- /docs/assets/plugins/bootstrap/js/npm.js: -------------------------------------------------------------------------------- 1 | // This file is autogenerated via the `commonjs` Grunt task. You can require() this file in a CommonJS environment. 2 | require('../../js/transition.js') 3 | require('../../js/alert.js') 4 | require('../../js/button.js') 5 | require('../../js/carousel.js') 6 | require('../../js/collapse.js') 7 | require('../../js/dropdown.js') 8 | require('../../js/modal.js') 9 | require('../../js/tooltip.js') 10 | require('../../js/popover.js') 11 | require('../../js/scrollspy.js') 12 | require('../../js/tab.js') 13 | require('../../js/affix.js') -------------------------------------------------------------------------------- /docs/assets/plugins/font-awesome/HELP-US-OUT.txt: -------------------------------------------------------------------------------- 1 | I hope you love Font Awesome. If you've found it useful, please do me a favor and check out my latest project, 2 | Fonticons (https://fonticons.com). It makes it easy to put the perfect icons on your website. Choose from our awesome, 3 | comprehensive icon sets or copy and paste your own. 4 | 5 | Please. Check it out. 6 | 7 | -Dave Gandy 8 | -------------------------------------------------------------------------------- /docs/assets/plugins/font-awesome/fonts/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/docs/assets/plugins/font-awesome/fonts/FontAwesome.otf -------------------------------------------------------------------------------- /docs/assets/plugins/font-awesome/fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/docs/assets/plugins/font-awesome/fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /docs/assets/plugins/font-awesome/fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/docs/assets/plugins/font-awesome/fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /docs/assets/plugins/font-awesome/fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/docs/assets/plugins/font-awesome/fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /docs/assets/plugins/font-awesome/fonts/fontawesome-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/docs/assets/plugins/font-awesome/fonts/fontawesome-webfont.woff2 -------------------------------------------------------------------------------- /docs/assets/plugins/font-awesome/less/bordered-pulled.less: -------------------------------------------------------------------------------- 1 | // Bordered & Pulled 2 | // ------------------------- 3 | 4 | .@{fa-css-prefix}-border { 5 | padding: .2em .25em .15em; 6 | border: solid .08em @fa-border-color; 7 | border-radius: .1em; 8 | } 9 | 10 | .@{fa-css-prefix}-pull-left { float: left; } 11 | .@{fa-css-prefix}-pull-right { float: right; } 12 | 13 | .@{fa-css-prefix} { 14 | &.@{fa-css-prefix}-pull-left { margin-right: .3em; } 15 | &.@{fa-css-prefix}-pull-right { margin-left: .3em; } 16 | } 17 | 18 | /* Deprecated as of 4.4.0 */ 19 | .pull-right { float: right; } 20 | .pull-left { float: left; } 21 | 22 | .@{fa-css-prefix} { 23 | &.pull-left { margin-right: .3em; } 24 | &.pull-right { margin-left: .3em; } 25 | } 26 | -------------------------------------------------------------------------------- /docs/assets/plugins/font-awesome/less/core.less: -------------------------------------------------------------------------------- 1 | // Base Class Definition 2 | // ------------------------- 3 | 4 | .@{fa-css-prefix} { 5 | display: inline-block; 6 | font: normal normal normal @fa-font-size-base/@fa-line-height-base FontAwesome; // shortening font declaration 7 | font-size: inherit; // can't have font-size inherit on line above, so need to override 8 | text-rendering: auto; // optimizelegibility throws things off #1094 9 | -webkit-font-smoothing: antialiased; 10 | -moz-osx-font-smoothing: grayscale; 11 | 12 | } 13 | -------------------------------------------------------------------------------- /docs/assets/plugins/font-awesome/less/fixed-width.less: -------------------------------------------------------------------------------- 1 | // Fixed Width Icons 2 | // ------------------------- 3 | .@{fa-css-prefix}-fw { 4 | width: (18em / 14); 5 | text-align: center; 6 | } 7 | -------------------------------------------------------------------------------- /docs/assets/plugins/font-awesome/less/font-awesome.less: -------------------------------------------------------------------------------- 1 | /*! 2 | * Font Awesome 4.5.0 by @davegandy - http://fontawesome.io - @fontawesome 3 | * License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License) 4 | */ 5 | 6 | @import "variables.less"; 7 | @import "mixins.less"; 8 | @import "path.less"; 9 | @import "core.less"; 10 | @import "larger.less"; 11 | @import "fixed-width.less"; 12 | @import "list.less"; 13 | @import "bordered-pulled.less"; 14 | @import "animated.less"; 15 | @import "rotated-flipped.less"; 16 | @import "stacked.less"; 17 | @import "icons.less"; 18 | -------------------------------------------------------------------------------- /docs/assets/plugins/font-awesome/less/larger.less: -------------------------------------------------------------------------------- 1 | // Icon Sizes 2 | // ------------------------- 3 | 4 | /* makes the font 33% larger relative to the icon container */ 5 | .@{fa-css-prefix}-lg { 6 | font-size: (4em / 3); 7 | line-height: (3em / 4); 8 | vertical-align: -15%; 9 | } 10 | .@{fa-css-prefix}-2x { font-size: 2em; } 11 | .@{fa-css-prefix}-3x { font-size: 3em; } 12 | .@{fa-css-prefix}-4x { font-size: 4em; } 13 | .@{fa-css-prefix}-5x { font-size: 5em; } 14 | -------------------------------------------------------------------------------- /docs/assets/plugins/font-awesome/less/list.less: -------------------------------------------------------------------------------- 1 | // List Icons 2 | // ------------------------- 3 | 4 | .@{fa-css-prefix}-ul { 5 | padding-left: 0; 6 | margin-left: @fa-li-width; 7 | list-style-type: none; 8 | > li { position: relative; } 9 | } 10 | .@{fa-css-prefix}-li { 11 | position: absolute; 12 | left: -@fa-li-width; 13 | width: @fa-li-width; 14 | top: (2em / 14); 15 | text-align: center; 16 | &.@{fa-css-prefix}-lg { 17 | left: (-@fa-li-width + (4em / 14)); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /docs/assets/plugins/font-awesome/less/path.less: -------------------------------------------------------------------------------- 1 | /* FONT PATH 2 | * -------------------------- */ 3 | 4 | @font-face { 5 | font-family: 'FontAwesome'; 6 | src: url('@{fa-font-path}/fontawesome-webfont.eot?v=@{fa-version}'); 7 | src: url('@{fa-font-path}/fontawesome-webfont.eot?#iefix&v=@{fa-version}') format('embedded-opentype'), 8 | url('@{fa-font-path}/fontawesome-webfont.woff2?v=@{fa-version}') format('woff2'), 9 | url('@{fa-font-path}/fontawesome-webfont.woff?v=@{fa-version}') format('woff'), 10 | url('@{fa-font-path}/fontawesome-webfont.ttf?v=@{fa-version}') format('truetype'), 11 | url('@{fa-font-path}/fontawesome-webfont.svg?v=@{fa-version}#fontawesomeregular') format('svg'); 12 | // src: url('@{fa-font-path}/FontAwesome.otf') format('opentype'); // used when developing fonts 13 | font-weight: normal; 14 | font-style: normal; 15 | } 16 | -------------------------------------------------------------------------------- /docs/assets/plugins/font-awesome/less/rotated-flipped.less: -------------------------------------------------------------------------------- 1 | // Rotated & Flipped Icons 2 | // ------------------------- 3 | 4 | .@{fa-css-prefix}-rotate-90 { .fa-icon-rotate(90deg, 1); } 5 | .@{fa-css-prefix}-rotate-180 { .fa-icon-rotate(180deg, 2); } 6 | .@{fa-css-prefix}-rotate-270 { .fa-icon-rotate(270deg, 3); } 7 | 8 | .@{fa-css-prefix}-flip-horizontal { .fa-icon-flip(-1, 1, 0); } 9 | .@{fa-css-prefix}-flip-vertical { .fa-icon-flip(1, -1, 2); } 10 | 11 | // Hook for IE8-9 12 | // ------------------------- 13 | 14 | :root .@{fa-css-prefix}-rotate-90, 15 | :root .@{fa-css-prefix}-rotate-180, 16 | :root .@{fa-css-prefix}-rotate-270, 17 | :root .@{fa-css-prefix}-flip-horizontal, 18 | :root .@{fa-css-prefix}-flip-vertical { 19 | filter: none; 20 | } 21 | -------------------------------------------------------------------------------- /docs/assets/plugins/font-awesome/less/stacked.less: -------------------------------------------------------------------------------- 1 | // Stacked Icons 2 | // ------------------------- 3 | 4 | .@{fa-css-prefix}-stack { 5 | position: relative; 6 | display: inline-block; 7 | width: 2em; 8 | height: 2em; 9 | line-height: 2em; 10 | vertical-align: middle; 11 | } 12 | .@{fa-css-prefix}-stack-1x, .@{fa-css-prefix}-stack-2x { 13 | position: absolute; 14 | left: 0; 15 | width: 100%; 16 | text-align: center; 17 | } 18 | .@{fa-css-prefix}-stack-1x { line-height: inherit; } 19 | .@{fa-css-prefix}-stack-2x { font-size: 2em; } 20 | .@{fa-css-prefix}-inverse { color: @fa-inverse; } 21 | -------------------------------------------------------------------------------- /docs/assets/plugins/font-awesome/scss/_bordered-pulled.scss: -------------------------------------------------------------------------------- 1 | // Bordered & Pulled 2 | // ------------------------- 3 | 4 | .#{$fa-css-prefix}-border { 5 | padding: .2em .25em .15em; 6 | border: solid .08em $fa-border-color; 7 | border-radius: .1em; 8 | } 9 | 10 | .#{$fa-css-prefix}-pull-left { float: left; } 11 | .#{$fa-css-prefix}-pull-right { float: right; } 12 | 13 | .#{$fa-css-prefix} { 14 | &.#{$fa-css-prefix}-pull-left { margin-right: .3em; } 15 | &.#{$fa-css-prefix}-pull-right { margin-left: .3em; } 16 | } 17 | 18 | /* Deprecated as of 4.4.0 */ 19 | .pull-right { float: right; } 20 | .pull-left { float: left; } 21 | 22 | .#{$fa-css-prefix} { 23 | &.pull-left { margin-right: .3em; } 24 | &.pull-right { margin-left: .3em; } 25 | } 26 | -------------------------------------------------------------------------------- /docs/assets/plugins/font-awesome/scss/_core.scss: -------------------------------------------------------------------------------- 1 | // Base Class Definition 2 | // ------------------------- 3 | 4 | .#{$fa-css-prefix} { 5 | display: inline-block; 6 | font: normal normal normal #{$fa-font-size-base}/#{$fa-line-height-base} FontAwesome; // shortening font declaration 7 | font-size: inherit; // can't have font-size inherit on line above, so need to override 8 | text-rendering: auto; // optimizelegibility throws things off #1094 9 | -webkit-font-smoothing: antialiased; 10 | -moz-osx-font-smoothing: grayscale; 11 | 12 | } 13 | -------------------------------------------------------------------------------- /docs/assets/plugins/font-awesome/scss/_fixed-width.scss: -------------------------------------------------------------------------------- 1 | // Fixed Width Icons 2 | // ------------------------- 3 | .#{$fa-css-prefix}-fw { 4 | width: (18em / 14); 5 | text-align: center; 6 | } 7 | -------------------------------------------------------------------------------- /docs/assets/plugins/font-awesome/scss/_larger.scss: -------------------------------------------------------------------------------- 1 | // Icon Sizes 2 | // ------------------------- 3 | 4 | /* makes the font 33% larger relative to the icon container */ 5 | .#{$fa-css-prefix}-lg { 6 | font-size: (4em / 3); 7 | line-height: (3em / 4); 8 | vertical-align: -15%; 9 | } 10 | .#{$fa-css-prefix}-2x { font-size: 2em; } 11 | .#{$fa-css-prefix}-3x { font-size: 3em; } 12 | .#{$fa-css-prefix}-4x { font-size: 4em; } 13 | .#{$fa-css-prefix}-5x { font-size: 5em; } 14 | -------------------------------------------------------------------------------- /docs/assets/plugins/font-awesome/scss/_list.scss: -------------------------------------------------------------------------------- 1 | // List Icons 2 | // ------------------------- 3 | 4 | .#{$fa-css-prefix}-ul { 5 | padding-left: 0; 6 | margin-left: $fa-li-width; 7 | list-style-type: none; 8 | > li { position: relative; } 9 | } 10 | .#{$fa-css-prefix}-li { 11 | position: absolute; 12 | left: -$fa-li-width; 13 | width: $fa-li-width; 14 | top: (2em / 14); 15 | text-align: center; 16 | &.#{$fa-css-prefix}-lg { 17 | left: -$fa-li-width + (4em / 14); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /docs/assets/plugins/font-awesome/scss/_path.scss: -------------------------------------------------------------------------------- 1 | /* FONT PATH 2 | * -------------------------- */ 3 | 4 | @font-face { 5 | font-family: 'FontAwesome'; 6 | src: url('#{$fa-font-path}/fontawesome-webfont.eot?v=#{$fa-version}'); 7 | src: url('#{$fa-font-path}/fontawesome-webfont.eot?#iefix&v=#{$fa-version}') format('embedded-opentype'), 8 | url('#{$fa-font-path}/fontawesome-webfont.woff2?v=#{$fa-version}') format('woff2'), 9 | url('#{$fa-font-path}/fontawesome-webfont.woff?v=#{$fa-version}') format('woff'), 10 | url('#{$fa-font-path}/fontawesome-webfont.ttf?v=#{$fa-version}') format('truetype'), 11 | url('#{$fa-font-path}/fontawesome-webfont.svg?v=#{$fa-version}#fontawesomeregular') format('svg'); 12 | // src: url('#{$fa-font-path}/FontAwesome.otf') format('opentype'); // used when developing fonts 13 | font-weight: normal; 14 | font-style: normal; 15 | } 16 | -------------------------------------------------------------------------------- /docs/assets/plugins/font-awesome/scss/_rotated-flipped.scss: -------------------------------------------------------------------------------- 1 | // Rotated & Flipped Icons 2 | // ------------------------- 3 | 4 | .#{$fa-css-prefix}-rotate-90 { @include fa-icon-rotate(90deg, 1); } 5 | .#{$fa-css-prefix}-rotate-180 { @include fa-icon-rotate(180deg, 2); } 6 | .#{$fa-css-prefix}-rotate-270 { @include fa-icon-rotate(270deg, 3); } 7 | 8 | .#{$fa-css-prefix}-flip-horizontal { @include fa-icon-flip(-1, 1, 0); } 9 | .#{$fa-css-prefix}-flip-vertical { @include fa-icon-flip(1, -1, 2); } 10 | 11 | // Hook for IE8-9 12 | // ------------------------- 13 | 14 | :root .#{$fa-css-prefix}-rotate-90, 15 | :root .#{$fa-css-prefix}-rotate-180, 16 | :root .#{$fa-css-prefix}-rotate-270, 17 | :root .#{$fa-css-prefix}-flip-horizontal, 18 | :root .#{$fa-css-prefix}-flip-vertical { 19 | filter: none; 20 | } 21 | -------------------------------------------------------------------------------- /docs/assets/plugins/font-awesome/scss/_stacked.scss: -------------------------------------------------------------------------------- 1 | // Stacked Icons 2 | // ------------------------- 3 | 4 | .#{$fa-css-prefix}-stack { 5 | position: relative; 6 | display: inline-block; 7 | width: 2em; 8 | height: 2em; 9 | line-height: 2em; 10 | vertical-align: middle; 11 | } 12 | .#{$fa-css-prefix}-stack-1x, .#{$fa-css-prefix}-stack-2x { 13 | position: absolute; 14 | left: 0; 15 | width: 100%; 16 | text-align: center; 17 | } 18 | .#{$fa-css-prefix}-stack-1x { line-height: inherit; } 19 | .#{$fa-css-prefix}-stack-2x { font-size: 2em; } 20 | .#{$fa-css-prefix}-inverse { color: $fa-inverse; } 21 | -------------------------------------------------------------------------------- /docs/assets/plugins/font-awesome/scss/font-awesome.scss: -------------------------------------------------------------------------------- 1 | /*! 2 | * Font Awesome 4.5.0 by @davegandy - http://fontawesome.io - @fontawesome 3 | * License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License) 4 | */ 5 | 6 | @import "variables"; 7 | @import "mixins"; 8 | @import "path"; 9 | @import "core"; 10 | @import "larger"; 11 | @import "fixed-width"; 12 | @import "list"; 13 | @import "bordered-pulled"; 14 | @import "animated"; 15 | @import "rotated-flipped"; 16 | @import "stacked"; 17 | @import "icons"; 18 | -------------------------------------------------------------------------------- /docs/assets/plugins/imagesloaded/.jshintrc: -------------------------------------------------------------------------------- 1 | { 2 | "browser": true, 3 | "curly": true, 4 | "newcap": false, 5 | "strict": true, 6 | "undef": true, 7 | "unused": true, 8 | "predef": { 9 | "imagesLoaded": false, 10 | "test": false, 11 | "ok": false, 12 | "equal": false, 13 | "start": false, 14 | "stop": false 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /docs/assets/plugins/imagesloaded/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "imagesloaded", 3 | "version": "3.1.8", 4 | "description": "JavaScript is all like _You images done yet or what?_", 5 | "main": "imagesloaded.js", 6 | "dependencies": { 7 | "eventEmitter": "4.x", 8 | "eventie": ">=1.0.4 <2" 9 | }, 10 | "devDependencies": { 11 | "jquery": ">=1.9 <2.0", 12 | "qunit": ">=1.10" 13 | }, 14 | "ignore": [ 15 | "**/.*", 16 | "test", 17 | "component.json", 18 | "imagesloaded.jquery.json", 19 | "package.json" 20 | ] 21 | } 22 | -------------------------------------------------------------------------------- /docs/assets/plugins/imagesloaded/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "imagesloaded", 3 | "version": "3.1.8", 4 | "description": "You images done yet or what?", 5 | "main": "imagesloaded.js", 6 | "devDependencies": { 7 | "grunt": "~0.4.0", 8 | "grunt-contrib-jshint": "~0.1.1", 9 | "grunt-contrib-uglify": "~0.1.2", 10 | "grunt-contrib-watch": "~0.3.1", 11 | "highlight.js": "~7.3.0", 12 | "marked": "~0.2.8", 13 | "grunt-requirejs": "~0.4.0" 14 | }, 15 | "dependencies": { 16 | "wolfy87-eventemitter": "4.x", 17 | "eventie": ">=1.0.4 <2" 18 | }, 19 | "repository": { 20 | "type": "git", 21 | "url": "git://github.com/desandro/imagesloaded.git" 22 | }, 23 | "keywords": [ 24 | "images", 25 | "loaded", 26 | "ui" 27 | ], 28 | "license": "MIT" 29 | } 30 | -------------------------------------------------------------------------------- /docs/assets/plugins/jquery-placeholder/.gitattributes: -------------------------------------------------------------------------------- 1 | * eol=lf -------------------------------------------------------------------------------- /docs/assets/plugins/jquery-placeholder/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "jquery-placeholder", 3 | "version": "2.0.8", 4 | "main": ["jquery.placeholder.js"] 5 | } 6 | -------------------------------------------------------------------------------- /docs/assets/plugins/rrssb/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "RRSSB", 3 | "version": "1.6.5", 4 | "authors": [ 5 | "(Joshua Tuscan )", 6 | "(Daniel Box )" 7 | ], 8 | "description": "Ridiculously Responsive Social Sharing Buttons", 9 | "main": [ 10 | "js/rrssb.js", 11 | "css/rrssb.css" 12 | ], 13 | "keywords": [ 14 | "responsive", 15 | "social", 16 | "buttons" 17 | ], 18 | "repository": { 19 | "type": "git", 20 | "url": "https://github.com/kni-labs/rrssb" 21 | }, 22 | "license": "Creative Commons Attribution-ShareAlike 4.0 International", 23 | "homepage": "http://kurtnoble.com/labs/rrssb/" 24 | } -------------------------------------------------------------------------------- /docs/assets/plugins/rrssb/icons/README.md: -------------------------------------------------------------------------------- 1 | These are for reference only. Not needed in the build. -------------------------------------------------------------------------------- /docs/assets/plugins/rrssb/icons/facebook.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /docs/assets/plugins/rrssb/icons/tumblr.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/assets/plugins/rrssb/icons/youtube.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /docs/assets/plugins/rrssb/media/README.md: -------------------------------------------------------------------------------- 1 | Only needed for demo. -------------------------------------------------------------------------------- /docs/assets/plugins/rrssb/media/facebook-share.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/docs/assets/plugins/rrssb/media/facebook-share.jpg -------------------------------------------------------------------------------- /docs/assets/plugins/rrssb/media/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/docs/assets/plugins/rrssb/media/favicon.png -------------------------------------------------------------------------------- /docs/assets/plugins/rrssb/media/rrssb-preview.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/docs/assets/plugins/rrssb/media/rrssb-preview.gif -------------------------------------------------------------------------------- /docs/assets/plugins/rrssb/media/rrssb-preview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/docs/assets/plugins/rrssb/media/rrssb-preview.png -------------------------------------------------------------------------------- /docs/docs/index.html: -------------------------------------------------------------------------------- 1 | --- 2 | layout: doc 3 | title: Docs 4 | category: hidden 5 | permalink: /docs/ 6 | --- 7 | 8 | -------------------------------------------------------------------------------- /docs/faq.md: -------------------------------------------------------------------------------- 1 | --- 2 | layout: main 3 | title: FAQ 4 | permalink: /faq/ 5 | --- 6 | 7 | 8 | Have a question you'd like to see answered? Ask us! 9 | 10 |
11 | 12 | 13 | Found a bug, or want to give us feedback? Tell us on GitHub. 14 | -------------------------------------------------------------------------------- /docs/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/docs/favicon.ico -------------------------------------------------------------------------------- /examples/AceExamples/.gitignore: -------------------------------------------------------------------------------- 1 | # .gitignore 2 | bin/ 3 | bld/ 4 | .vs/ 5 | node_modules/ 6 | [Pp]lugins/ 7 | [Pp]latforms/ 8 | 9 | *.user 10 | changeList.json 11 | -------------------------------------------------------------------------------- /examples/AceExamples/Ace.BuildTasks.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/examples/AceExamples/Ace.BuildTasks.dll -------------------------------------------------------------------------------- /examples/AceExamples/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "AceExamples", 3 | "dependencies": { 4 | } 5 | } -------------------------------------------------------------------------------- /examples/AceExamples/build.json: -------------------------------------------------------------------------------- 1 | { 2 | "android": { 3 | "release": { 4 | "keystore": "", 5 | "storePassword": "", 6 | "alias": "", 7 | "password" : "", 8 | "keystoreType": "" 9 | } 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /examples/AceExamples/example-markup/Conditional.xaml: -------------------------------------------------------------------------------- 1 |  6 | 7 | Conditional XAML 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /examples/AceExamples/example-markup/Native2.xaml: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | Prime numbers starting after 1000 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /examples/AceExamples/example-markup/overlay-buttons.xaml: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /examples/AceExamples/merges/android/scripts/platformOverrides.js: -------------------------------------------------------------------------------- 1 | (function () { 2 | // Append the bind() polyfill 3 | var scriptElem = document.createElement('script'); 4 | scriptElem.setAttribute('src', 'scripts/android2.3-jscompat.js'); 5 | if (document.body) { 6 | document.body.appendChild(scriptElem); 7 | } else { 8 | document.head.appendChild(scriptElem); 9 | } 10 | }()); -------------------------------------------------------------------------------- /examples/AceExamples/merges/windows/scripts/platformOverrides.js: -------------------------------------------------------------------------------- 1 | (function () { 2 | // Append the safeHTML polyfill 3 | var scriptElem = document.createElement('script'); 4 | scriptElem.setAttribute('src', 'scripts/winstore-jscompat.js'); 5 | if (document.body) { 6 | document.body.appendChild(scriptElem); 7 | } else { 8 | document.head.appendChild(scriptElem); 9 | } 10 | }()); -------------------------------------------------------------------------------- /examples/AceExamples/native/ios/CustomCode.h: -------------------------------------------------------------------------------- 1 | // This must import every custom .m (or .mm or .c or .cpp) file. 2 | // Do not include headers; the actual code must be imported. 3 | 4 | // DO NOT RENAME THIS FILE! 5 | 6 | #import "MyAlgorithm.m" 7 | -------------------------------------------------------------------------------- /examples/AceExamples/native/ios/MyAlgorithm.h: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | @interface MyAlgorithm : NSObject 6 | { 7 | int _startingNumber; 8 | } 9 | 10 | - (void)setStartingNumber:(int)n; 11 | - (int)getNextPrime; 12 | + (BOOL)isPrime:(int)n; 13 | 14 | @end 15 | -------------------------------------------------------------------------------- /examples/AceExamples/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "AceExamples", 3 | "version": "1.0.0", 4 | "description": "Demonstrates Ace features", 5 | "repository": { 6 | "type": "git", 7 | "url": "https://github.com/microsoft/ace" 8 | }, 9 | "dependencies": { 10 | }, 11 | "cordovaPlugins": [ 12 | "https://github.com/microsoft/ace.git" 13 | ], 14 | "license": "MIT" 15 | } 16 | -------------------------------------------------------------------------------- /examples/AceExamples/res/icons/android/icon-36-ldpi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/examples/AceExamples/res/icons/android/icon-36-ldpi.png -------------------------------------------------------------------------------- /examples/AceExamples/res/icons/android/icon-48-mdpi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/examples/AceExamples/res/icons/android/icon-48-mdpi.png -------------------------------------------------------------------------------- /examples/AceExamples/res/icons/android/icon-72-hdpi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/examples/AceExamples/res/icons/android/icon-72-hdpi.png -------------------------------------------------------------------------------- /examples/AceExamples/res/icons/android/icon-96-xhdpi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/examples/AceExamples/res/icons/android/icon-96-xhdpi.png -------------------------------------------------------------------------------- /examples/AceExamples/res/icons/ios/icon-40-2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/examples/AceExamples/res/icons/ios/icon-40-2x.png -------------------------------------------------------------------------------- /examples/AceExamples/res/icons/ios/icon-40.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/examples/AceExamples/res/icons/ios/icon-40.png -------------------------------------------------------------------------------- /examples/AceExamples/res/icons/ios/icon-50-2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/examples/AceExamples/res/icons/ios/icon-50-2x.png -------------------------------------------------------------------------------- /examples/AceExamples/res/icons/ios/icon-50.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/examples/AceExamples/res/icons/ios/icon-50.png -------------------------------------------------------------------------------- /examples/AceExamples/res/icons/ios/icon-57-2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/examples/AceExamples/res/icons/ios/icon-57-2x.png -------------------------------------------------------------------------------- /examples/AceExamples/res/icons/ios/icon-57.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/examples/AceExamples/res/icons/ios/icon-57.png -------------------------------------------------------------------------------- /examples/AceExamples/res/icons/ios/icon-60-2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/examples/AceExamples/res/icons/ios/icon-60-2x.png -------------------------------------------------------------------------------- /examples/AceExamples/res/icons/ios/icon-60-3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/examples/AceExamples/res/icons/ios/icon-60-3x.png -------------------------------------------------------------------------------- /examples/AceExamples/res/icons/ios/icon-60.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/examples/AceExamples/res/icons/ios/icon-60.png -------------------------------------------------------------------------------- /examples/AceExamples/res/icons/ios/icon-72-2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/examples/AceExamples/res/icons/ios/icon-72-2x.png -------------------------------------------------------------------------------- /examples/AceExamples/res/icons/ios/icon-72.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/examples/AceExamples/res/icons/ios/icon-72.png -------------------------------------------------------------------------------- /examples/AceExamples/res/icons/ios/icon-76-2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/examples/AceExamples/res/icons/ios/icon-76-2x.png -------------------------------------------------------------------------------- /examples/AceExamples/res/icons/ios/icon-76.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/examples/AceExamples/res/icons/ios/icon-76.png -------------------------------------------------------------------------------- /examples/AceExamples/res/icons/ios/icon-small-2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/examples/AceExamples/res/icons/ios/icon-small-2x.png -------------------------------------------------------------------------------- /examples/AceExamples/res/icons/ios/icon-small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/examples/AceExamples/res/icons/ios/icon-small.png -------------------------------------------------------------------------------- /examples/AceExamples/res/icons/windows/Square150x150Logo.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/examples/AceExamples/res/icons/windows/Square150x150Logo.scale-100.png -------------------------------------------------------------------------------- /examples/AceExamples/res/icons/windows/Square150x150Logo.scale-240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/examples/AceExamples/res/icons/windows/Square150x150Logo.scale-240.png -------------------------------------------------------------------------------- /examples/AceExamples/res/icons/windows/Square30x30Logo.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/examples/AceExamples/res/icons/windows/Square30x30Logo.scale-100.png -------------------------------------------------------------------------------- /examples/AceExamples/res/icons/windows/Square310x310Logo.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/examples/AceExamples/res/icons/windows/Square310x310Logo.scale-100.png -------------------------------------------------------------------------------- /examples/AceExamples/res/icons/windows/Square44x44Logo.scale-240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/examples/AceExamples/res/icons/windows/Square44x44Logo.scale-240.png -------------------------------------------------------------------------------- /examples/AceExamples/res/icons/windows/Square70x70Logo.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/examples/AceExamples/res/icons/windows/Square70x70Logo.scale-100.png -------------------------------------------------------------------------------- /examples/AceExamples/res/icons/windows/Square71x71Logo.scale-240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/examples/AceExamples/res/icons/windows/Square71x71Logo.scale-240.png -------------------------------------------------------------------------------- /examples/AceExamples/res/icons/windows/StoreLogo.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/examples/AceExamples/res/icons/windows/StoreLogo.scale-100.png -------------------------------------------------------------------------------- /examples/AceExamples/res/icons/windows/StoreLogo.scale-240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/examples/AceExamples/res/icons/windows/StoreLogo.scale-240.png -------------------------------------------------------------------------------- /examples/AceExamples/res/icons/windows/Wide310x150Logo.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/examples/AceExamples/res/icons/windows/Wide310x150Logo.scale-100.png -------------------------------------------------------------------------------- /examples/AceExamples/res/icons/windows/Wide310x150Logo.scale-240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/examples/AceExamples/res/icons/windows/Wide310x150Logo.scale-240.png -------------------------------------------------------------------------------- /examples/AceExamples/res/icons/wp8/ApplicationIcon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/examples/AceExamples/res/icons/wp8/ApplicationIcon.png -------------------------------------------------------------------------------- /examples/AceExamples/res/icons/wp8/Background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/examples/AceExamples/res/icons/wp8/Background.png -------------------------------------------------------------------------------- /examples/AceExamples/res/native/android/ant.properties: -------------------------------------------------------------------------------- 1 | key.store= 2 | key.alias= 3 | key.store.password= 4 | key.alias.password= -------------------------------------------------------------------------------- /examples/AceExamples/res/screens/android/screen-hdpi-landscape.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/examples/AceExamples/res/screens/android/screen-hdpi-landscape.png -------------------------------------------------------------------------------- /examples/AceExamples/res/screens/android/screen-hdpi-portrait.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/examples/AceExamples/res/screens/android/screen-hdpi-portrait.png -------------------------------------------------------------------------------- /examples/AceExamples/res/screens/android/screen-ldpi-landscape.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/examples/AceExamples/res/screens/android/screen-ldpi-landscape.png -------------------------------------------------------------------------------- /examples/AceExamples/res/screens/android/screen-ldpi-portrait.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/examples/AceExamples/res/screens/android/screen-ldpi-portrait.png -------------------------------------------------------------------------------- /examples/AceExamples/res/screens/android/screen-mdpi-landscape.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/examples/AceExamples/res/screens/android/screen-mdpi-landscape.png -------------------------------------------------------------------------------- /examples/AceExamples/res/screens/android/screen-mdpi-portrait.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/examples/AceExamples/res/screens/android/screen-mdpi-portrait.png -------------------------------------------------------------------------------- /examples/AceExamples/res/screens/android/screen-xhdpi-landscape.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/examples/AceExamples/res/screens/android/screen-xhdpi-landscape.png -------------------------------------------------------------------------------- /examples/AceExamples/res/screens/android/screen-xhdpi-portrait.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/examples/AceExamples/res/screens/android/screen-xhdpi-portrait.png -------------------------------------------------------------------------------- /examples/AceExamples/res/screens/ios/screen-ipad-landscape-2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/examples/AceExamples/res/screens/ios/screen-ipad-landscape-2x.png -------------------------------------------------------------------------------- /examples/AceExamples/res/screens/ios/screen-ipad-landscape.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/examples/AceExamples/res/screens/ios/screen-ipad-landscape.png -------------------------------------------------------------------------------- /examples/AceExamples/res/screens/ios/screen-ipad-portrait-2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/examples/AceExamples/res/screens/ios/screen-ipad-portrait-2x.png -------------------------------------------------------------------------------- /examples/AceExamples/res/screens/ios/screen-ipad-portrait.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/examples/AceExamples/res/screens/ios/screen-ipad-portrait.png -------------------------------------------------------------------------------- /examples/AceExamples/res/screens/ios/screen-iphone-568h-2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/examples/AceExamples/res/screens/ios/screen-iphone-568h-2x.png -------------------------------------------------------------------------------- /examples/AceExamples/res/screens/ios/screen-iphone-landscape-736h.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/examples/AceExamples/res/screens/ios/screen-iphone-landscape-736h.png -------------------------------------------------------------------------------- /examples/AceExamples/res/screens/ios/screen-iphone-portrait-2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/examples/AceExamples/res/screens/ios/screen-iphone-portrait-2x.png -------------------------------------------------------------------------------- /examples/AceExamples/res/screens/ios/screen-iphone-portrait-667h.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/examples/AceExamples/res/screens/ios/screen-iphone-portrait-667h.png -------------------------------------------------------------------------------- /examples/AceExamples/res/screens/ios/screen-iphone-portrait-736h.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/examples/AceExamples/res/screens/ios/screen-iphone-portrait-736h.png -------------------------------------------------------------------------------- /examples/AceExamples/res/screens/ios/screen-iphone-portrait.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/examples/AceExamples/res/screens/ios/screen-iphone-portrait.png -------------------------------------------------------------------------------- /examples/AceExamples/res/screens/windows/SplashScreen.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/examples/AceExamples/res/screens/windows/SplashScreen.scale-100.png -------------------------------------------------------------------------------- /examples/AceExamples/res/screens/windows/SplashScreen.scale-240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/examples/AceExamples/res/screens/windows/SplashScreen.scale-240.png -------------------------------------------------------------------------------- /examples/AceExamples/res/screens/windows/SplashScreenPhone.scale-240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/examples/AceExamples/res/screens/windows/SplashScreenPhone.scale-240.png -------------------------------------------------------------------------------- /examples/AceExamples/res/screens/wp8/SplashScreenImage.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/examples/AceExamples/res/screens/wp8/SplashScreenImage.jpg -------------------------------------------------------------------------------- /examples/AceExamples/taco.json: -------------------------------------------------------------------------------- 1 | { 2 | "cordova-cli": "5.3.3" 3 | } 4 | -------------------------------------------------------------------------------- /examples/AceExamples/www/css/index.css: -------------------------------------------------------------------------------- 1 | body { 2 | } 3 | -------------------------------------------------------------------------------- /examples/AceExamples/www/example-script/platform-specific-ui.js: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | function platform_specific_ui_init() { 6 | document.getElementById("mixedLink").addEventListener('click', navigateToMixedLink, false); 7 | } 8 | 9 | function navigateToMixedLink() { 10 | if (ace.platform == "iOS") { 11 | document.location.href = "native://MixediOS.xaml"; 12 | } 13 | else if (ace.platform == "Android") { 14 | document.location.href = "native://MixedAndroid.xaml"; 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /examples/AceExamples/www/images/info-android.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/examples/AceExamples/www/images/info-android.png -------------------------------------------------------------------------------- /examples/AceExamples/www/images/info-ios-off@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/examples/AceExamples/www/images/info-ios-off@2x.png -------------------------------------------------------------------------------- /examples/AceExamples/www/images/info-ios-off@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/examples/AceExamples/www/images/info-ios-off@3x.png -------------------------------------------------------------------------------- /examples/AceExamples/www/images/info-ios-off@4x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/examples/AceExamples/www/images/info-ios-off@4x.png -------------------------------------------------------------------------------- /examples/AceExamples/www/images/info-ios-on@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/examples/AceExamples/www/images/info-ios-on@2x.png -------------------------------------------------------------------------------- /examples/AceExamples/www/images/info-ios-on@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/examples/AceExamples/www/images/info-ios-on@3x.png -------------------------------------------------------------------------------- /examples/AceExamples/www/images/info-ios-on@4x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/examples/AceExamples/www/images/info-ios-on@4x.png -------------------------------------------------------------------------------- /examples/AceExamples/www/scripts/platformOverrides.js: -------------------------------------------------------------------------------- 1 | // Platform specific overrides will be placed in the merges folder versions of this file -------------------------------------------------------------------------------- /examples/AceExamples/www/xbf/Conditional.xbf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/examples/AceExamples/www/xbf/Conditional.xbf -------------------------------------------------------------------------------- /examples/AceExamples/www/xbf/MixedAndroid.xbf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/examples/AceExamples/www/xbf/MixedAndroid.xbf -------------------------------------------------------------------------------- /examples/AceExamples/www/xbf/MixediOS.xbf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/examples/AceExamples/www/xbf/MixediOS.xbf -------------------------------------------------------------------------------- /examples/AceExamples/www/xbf/Native1.xbf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/examples/AceExamples/www/xbf/Native1.xbf -------------------------------------------------------------------------------- /examples/AceExamples/www/xbf/Native2.xbf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/examples/AceExamples/www/xbf/Native2.xbf -------------------------------------------------------------------------------- /examples/AceExamples/www/xbf/docked-grid.xbf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/examples/AceExamples/www/xbf/docked-grid.xbf -------------------------------------------------------------------------------- /examples/AceExamples/www/xbf/docked-tabs.xbf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/examples/AceExamples/www/xbf/docked-tabs.xbf -------------------------------------------------------------------------------- /examples/AceExamples/www/xbf/overlay-buttons.xbf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/examples/AceExamples/www/xbf/overlay-buttons.xbf -------------------------------------------------------------------------------- /examples/AceExamples/www/xbf/vector-test.xbf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/examples/AceExamples/www/xbf/vector-test.xbf -------------------------------------------------------------------------------- /examples/WithOtherPlugins/InAppBrowser/.gitignore: -------------------------------------------------------------------------------- 1 | # .gitignore 2 | bin/ 3 | bld/ 4 | .vs/ 5 | node_modules/ 6 | [Pp]lugins/ 7 | [Pp]latforms/ 8 | 9 | *.user 10 | changeList.json 11 | -------------------------------------------------------------------------------- /examples/WithOtherPlugins/InAppBrowser/Ace.BuildTasks.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/examples/WithOtherPlugins/InAppBrowser/Ace.BuildTasks.dll -------------------------------------------------------------------------------- /examples/WithOtherPlugins/InAppBrowser/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "AceWithInAppBrowser", 3 | "dependencies": { 4 | } 5 | } -------------------------------------------------------------------------------- /examples/WithOtherPlugins/InAppBrowser/build.json: -------------------------------------------------------------------------------- 1 | { 2 | "android": { 3 | "release": { 4 | "keystore": "", 5 | "storePassword": "", 6 | "alias": "", 7 | "password" : "", 8 | "keystoreType": "" 9 | } 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /examples/WithOtherPlugins/InAppBrowser/merges/android/scripts/platformOverrides.js: -------------------------------------------------------------------------------- 1 | (function () { 2 | // Append the bind() polyfill 3 | var scriptElem = document.createElement('script'); 4 | scriptElem.setAttribute('src', 'scripts/android2.3-jscompat.js'); 5 | if (document.body) { 6 | document.body.appendChild(scriptElem); 7 | } else { 8 | document.head.appendChild(scriptElem); 9 | } 10 | }()); -------------------------------------------------------------------------------- /examples/WithOtherPlugins/InAppBrowser/merges/windows/scripts/platformOverrides.js: -------------------------------------------------------------------------------- 1 | (function () { 2 | // Append the safeHTML polyfill 3 | var scriptElem = document.createElement('script'); 4 | scriptElem.setAttribute('src', 'scripts/winstore-jscompat.js'); 5 | if (document.body) { 6 | document.body.appendChild(scriptElem); 7 | } else { 8 | document.head.appendChild(scriptElem); 9 | } 10 | }()); -------------------------------------------------------------------------------- /examples/WithOtherPlugins/InAppBrowser/native/ios/CustomCode.h: -------------------------------------------------------------------------------- 1 | // This must import every custom .m (or .mm or .c or .cpp) file. 2 | // Do not include headers; the actual code must be imported. 3 | 4 | // DO NOT RENAME THIS FILE! 5 | 6 | // #import "MyAlgorithm.m" 7 | -------------------------------------------------------------------------------- /examples/WithOtherPlugins/InAppBrowser/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "AceWithInAppBrowser", 3 | "version": "1.0.0", 4 | "description": "Demonstrates Ace features", 5 | "repository": { 6 | "type": "git", 7 | "url": "https://github.com/microsoft/ace" 8 | }, 9 | "dependencies": { 10 | }, 11 | "cordovaPlugins": [ 12 | "https://github.com/microsoft/ace.git" 13 | ], 14 | "license": "MIT" 15 | } 16 | -------------------------------------------------------------------------------- /examples/WithOtherPlugins/InAppBrowser/res/icons/android/icon-36-ldpi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/examples/WithOtherPlugins/InAppBrowser/res/icons/android/icon-36-ldpi.png -------------------------------------------------------------------------------- /examples/WithOtherPlugins/InAppBrowser/res/icons/android/icon-48-mdpi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/examples/WithOtherPlugins/InAppBrowser/res/icons/android/icon-48-mdpi.png -------------------------------------------------------------------------------- /examples/WithOtherPlugins/InAppBrowser/res/icons/android/icon-72-hdpi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/examples/WithOtherPlugins/InAppBrowser/res/icons/android/icon-72-hdpi.png -------------------------------------------------------------------------------- /examples/WithOtherPlugins/InAppBrowser/res/icons/android/icon-96-xhdpi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/examples/WithOtherPlugins/InAppBrowser/res/icons/android/icon-96-xhdpi.png -------------------------------------------------------------------------------- /examples/WithOtherPlugins/InAppBrowser/res/icons/ios/icon-40-2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/examples/WithOtherPlugins/InAppBrowser/res/icons/ios/icon-40-2x.png -------------------------------------------------------------------------------- /examples/WithOtherPlugins/InAppBrowser/res/icons/ios/icon-40.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/examples/WithOtherPlugins/InAppBrowser/res/icons/ios/icon-40.png -------------------------------------------------------------------------------- /examples/WithOtherPlugins/InAppBrowser/res/icons/ios/icon-50-2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/examples/WithOtherPlugins/InAppBrowser/res/icons/ios/icon-50-2x.png -------------------------------------------------------------------------------- /examples/WithOtherPlugins/InAppBrowser/res/icons/ios/icon-50.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/examples/WithOtherPlugins/InAppBrowser/res/icons/ios/icon-50.png -------------------------------------------------------------------------------- /examples/WithOtherPlugins/InAppBrowser/res/icons/ios/icon-57-2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/examples/WithOtherPlugins/InAppBrowser/res/icons/ios/icon-57-2x.png -------------------------------------------------------------------------------- /examples/WithOtherPlugins/InAppBrowser/res/icons/ios/icon-57.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/examples/WithOtherPlugins/InAppBrowser/res/icons/ios/icon-57.png -------------------------------------------------------------------------------- /examples/WithOtherPlugins/InAppBrowser/res/icons/ios/icon-60-2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/examples/WithOtherPlugins/InAppBrowser/res/icons/ios/icon-60-2x.png -------------------------------------------------------------------------------- /examples/WithOtherPlugins/InAppBrowser/res/icons/ios/icon-60-3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/examples/WithOtherPlugins/InAppBrowser/res/icons/ios/icon-60-3x.png -------------------------------------------------------------------------------- /examples/WithOtherPlugins/InAppBrowser/res/icons/ios/icon-60.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/examples/WithOtherPlugins/InAppBrowser/res/icons/ios/icon-60.png -------------------------------------------------------------------------------- /examples/WithOtherPlugins/InAppBrowser/res/icons/ios/icon-72-2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/examples/WithOtherPlugins/InAppBrowser/res/icons/ios/icon-72-2x.png -------------------------------------------------------------------------------- /examples/WithOtherPlugins/InAppBrowser/res/icons/ios/icon-72.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/examples/WithOtherPlugins/InAppBrowser/res/icons/ios/icon-72.png -------------------------------------------------------------------------------- /examples/WithOtherPlugins/InAppBrowser/res/icons/ios/icon-76-2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/examples/WithOtherPlugins/InAppBrowser/res/icons/ios/icon-76-2x.png -------------------------------------------------------------------------------- /examples/WithOtherPlugins/InAppBrowser/res/icons/ios/icon-76.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/examples/WithOtherPlugins/InAppBrowser/res/icons/ios/icon-76.png -------------------------------------------------------------------------------- /examples/WithOtherPlugins/InAppBrowser/res/icons/ios/icon-small-2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/examples/WithOtherPlugins/InAppBrowser/res/icons/ios/icon-small-2x.png -------------------------------------------------------------------------------- /examples/WithOtherPlugins/InAppBrowser/res/icons/ios/icon-small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/examples/WithOtherPlugins/InAppBrowser/res/icons/ios/icon-small.png -------------------------------------------------------------------------------- /examples/WithOtherPlugins/InAppBrowser/res/icons/windows/Square150x150Logo.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/examples/WithOtherPlugins/InAppBrowser/res/icons/windows/Square150x150Logo.scale-100.png -------------------------------------------------------------------------------- /examples/WithOtherPlugins/InAppBrowser/res/icons/windows/Square150x150Logo.scale-240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/examples/WithOtherPlugins/InAppBrowser/res/icons/windows/Square150x150Logo.scale-240.png -------------------------------------------------------------------------------- /examples/WithOtherPlugins/InAppBrowser/res/icons/windows/Square30x30Logo.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/examples/WithOtherPlugins/InAppBrowser/res/icons/windows/Square30x30Logo.scale-100.png -------------------------------------------------------------------------------- /examples/WithOtherPlugins/InAppBrowser/res/icons/windows/Square310x310Logo.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/examples/WithOtherPlugins/InAppBrowser/res/icons/windows/Square310x310Logo.scale-100.png -------------------------------------------------------------------------------- /examples/WithOtherPlugins/InAppBrowser/res/icons/windows/Square44x44Logo.scale-240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/examples/WithOtherPlugins/InAppBrowser/res/icons/windows/Square44x44Logo.scale-240.png -------------------------------------------------------------------------------- /examples/WithOtherPlugins/InAppBrowser/res/icons/windows/Square70x70Logo.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/examples/WithOtherPlugins/InAppBrowser/res/icons/windows/Square70x70Logo.scale-100.png -------------------------------------------------------------------------------- /examples/WithOtherPlugins/InAppBrowser/res/icons/windows/Square71x71Logo.scale-240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/examples/WithOtherPlugins/InAppBrowser/res/icons/windows/Square71x71Logo.scale-240.png -------------------------------------------------------------------------------- /examples/WithOtherPlugins/InAppBrowser/res/icons/windows/StoreLogo.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/examples/WithOtherPlugins/InAppBrowser/res/icons/windows/StoreLogo.scale-100.png -------------------------------------------------------------------------------- /examples/WithOtherPlugins/InAppBrowser/res/icons/windows/StoreLogo.scale-240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/examples/WithOtherPlugins/InAppBrowser/res/icons/windows/StoreLogo.scale-240.png -------------------------------------------------------------------------------- /examples/WithOtherPlugins/InAppBrowser/res/icons/windows/Wide310x150Logo.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/examples/WithOtherPlugins/InAppBrowser/res/icons/windows/Wide310x150Logo.scale-100.png -------------------------------------------------------------------------------- /examples/WithOtherPlugins/InAppBrowser/res/icons/windows/Wide310x150Logo.scale-240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/examples/WithOtherPlugins/InAppBrowser/res/icons/windows/Wide310x150Logo.scale-240.png -------------------------------------------------------------------------------- /examples/WithOtherPlugins/InAppBrowser/res/icons/wp8/ApplicationIcon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/examples/WithOtherPlugins/InAppBrowser/res/icons/wp8/ApplicationIcon.png -------------------------------------------------------------------------------- /examples/WithOtherPlugins/InAppBrowser/res/icons/wp8/Background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/examples/WithOtherPlugins/InAppBrowser/res/icons/wp8/Background.png -------------------------------------------------------------------------------- /examples/WithOtherPlugins/InAppBrowser/res/native/android/ant.properties: -------------------------------------------------------------------------------- 1 | key.store= 2 | key.alias= 3 | key.store.password= 4 | key.alias.password= -------------------------------------------------------------------------------- /examples/WithOtherPlugins/InAppBrowser/res/screens/android/screen-hdpi-landscape.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/examples/WithOtherPlugins/InAppBrowser/res/screens/android/screen-hdpi-landscape.png -------------------------------------------------------------------------------- /examples/WithOtherPlugins/InAppBrowser/res/screens/android/screen-hdpi-portrait.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/examples/WithOtherPlugins/InAppBrowser/res/screens/android/screen-hdpi-portrait.png -------------------------------------------------------------------------------- /examples/WithOtherPlugins/InAppBrowser/res/screens/android/screen-ldpi-landscape.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/examples/WithOtherPlugins/InAppBrowser/res/screens/android/screen-ldpi-landscape.png -------------------------------------------------------------------------------- /examples/WithOtherPlugins/InAppBrowser/res/screens/android/screen-ldpi-portrait.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/examples/WithOtherPlugins/InAppBrowser/res/screens/android/screen-ldpi-portrait.png -------------------------------------------------------------------------------- /examples/WithOtherPlugins/InAppBrowser/res/screens/android/screen-mdpi-landscape.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/examples/WithOtherPlugins/InAppBrowser/res/screens/android/screen-mdpi-landscape.png -------------------------------------------------------------------------------- /examples/WithOtherPlugins/InAppBrowser/res/screens/android/screen-mdpi-portrait.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/examples/WithOtherPlugins/InAppBrowser/res/screens/android/screen-mdpi-portrait.png -------------------------------------------------------------------------------- /examples/WithOtherPlugins/InAppBrowser/res/screens/android/screen-xhdpi-landscape.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/examples/WithOtherPlugins/InAppBrowser/res/screens/android/screen-xhdpi-landscape.png -------------------------------------------------------------------------------- /examples/WithOtherPlugins/InAppBrowser/res/screens/android/screen-xhdpi-portrait.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/examples/WithOtherPlugins/InAppBrowser/res/screens/android/screen-xhdpi-portrait.png -------------------------------------------------------------------------------- /examples/WithOtherPlugins/InAppBrowser/res/screens/ios/screen-ipad-landscape-2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/examples/WithOtherPlugins/InAppBrowser/res/screens/ios/screen-ipad-landscape-2x.png -------------------------------------------------------------------------------- /examples/WithOtherPlugins/InAppBrowser/res/screens/ios/screen-ipad-landscape.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/examples/WithOtherPlugins/InAppBrowser/res/screens/ios/screen-ipad-landscape.png -------------------------------------------------------------------------------- /examples/WithOtherPlugins/InAppBrowser/res/screens/ios/screen-ipad-portrait-2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/examples/WithOtherPlugins/InAppBrowser/res/screens/ios/screen-ipad-portrait-2x.png -------------------------------------------------------------------------------- /examples/WithOtherPlugins/InAppBrowser/res/screens/ios/screen-ipad-portrait.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/examples/WithOtherPlugins/InAppBrowser/res/screens/ios/screen-ipad-portrait.png -------------------------------------------------------------------------------- /examples/WithOtherPlugins/InAppBrowser/res/screens/ios/screen-iphone-568h-2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/examples/WithOtherPlugins/InAppBrowser/res/screens/ios/screen-iphone-568h-2x.png -------------------------------------------------------------------------------- /examples/WithOtherPlugins/InAppBrowser/res/screens/ios/screen-iphone-landscape-736h.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/examples/WithOtherPlugins/InAppBrowser/res/screens/ios/screen-iphone-landscape-736h.png -------------------------------------------------------------------------------- /examples/WithOtherPlugins/InAppBrowser/res/screens/ios/screen-iphone-portrait-2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/examples/WithOtherPlugins/InAppBrowser/res/screens/ios/screen-iphone-portrait-2x.png -------------------------------------------------------------------------------- /examples/WithOtherPlugins/InAppBrowser/res/screens/ios/screen-iphone-portrait-667h.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/examples/WithOtherPlugins/InAppBrowser/res/screens/ios/screen-iphone-portrait-667h.png -------------------------------------------------------------------------------- /examples/WithOtherPlugins/InAppBrowser/res/screens/ios/screen-iphone-portrait-736h.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/examples/WithOtherPlugins/InAppBrowser/res/screens/ios/screen-iphone-portrait-736h.png -------------------------------------------------------------------------------- /examples/WithOtherPlugins/InAppBrowser/res/screens/ios/screen-iphone-portrait.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/examples/WithOtherPlugins/InAppBrowser/res/screens/ios/screen-iphone-portrait.png -------------------------------------------------------------------------------- /examples/WithOtherPlugins/InAppBrowser/res/screens/windows/SplashScreen.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/examples/WithOtherPlugins/InAppBrowser/res/screens/windows/SplashScreen.scale-100.png -------------------------------------------------------------------------------- /examples/WithOtherPlugins/InAppBrowser/res/screens/windows/SplashScreen.scale-240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/examples/WithOtherPlugins/InAppBrowser/res/screens/windows/SplashScreen.scale-240.png -------------------------------------------------------------------------------- /examples/WithOtherPlugins/InAppBrowser/res/screens/windows/SplashScreenPhone.scale-240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/examples/WithOtherPlugins/InAppBrowser/res/screens/windows/SplashScreenPhone.scale-240.png -------------------------------------------------------------------------------- /examples/WithOtherPlugins/InAppBrowser/res/screens/wp8/SplashScreenImage.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/examples/WithOtherPlugins/InAppBrowser/res/screens/wp8/SplashScreenImage.jpg -------------------------------------------------------------------------------- /examples/WithOtherPlugins/InAppBrowser/taco.json: -------------------------------------------------------------------------------- 1 | { 2 | "cordova-cli": "5.3.3" 3 | } 4 | -------------------------------------------------------------------------------- /examples/WithOtherPlugins/InAppBrowser/www/scripts/platformOverrides.js: -------------------------------------------------------------------------------- 1 | // Platform specific overrides will be placed in the merges folder versions of this file -------------------------------------------------------------------------------- /markupcompiler/Ace.BuildTasks.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/markupcompiler/Ace.BuildTasks.dll -------------------------------------------------------------------------------- /markupcompiler/markupcompiler.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/notsyncing/ace/b2f1229cf1aade33994561471c5496a0fd58f36f/markupcompiler/markupcompiler.exe -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "cordova-plugin-ace", 3 | "version": "0.2.0", 4 | "description": "Enables you to mix native UI and native code with your JavaScript and HTML. http://microsoft.github.io/ace", 5 | "cordova": { 6 | "id": "cordova-plugin-ace", 7 | "platforms": [ 8 | "android", 9 | "ios" 10 | ] 11 | }, 12 | "repository": { 13 | "type": "git", 14 | "url": "https://github.com/microsoft/ace" 15 | }, 16 | "dependencies": { 17 | "elementtree": "^0.1.7", 18 | "fs-extra": "4.0.1", 19 | "xcode": "0.9.3" 20 | }, 21 | "keywords": [ 22 | "cordova", 23 | "native", 24 | "ui", 25 | "xaml", 26 | "ecosystem:cordova", 27 | "cordova-android", 28 | "cordova-ios" 29 | ], 30 | "author": "Adam Nathan ", 31 | "license": "MIT" 32 | } 33 | -------------------------------------------------------------------------------- /src/android/IFireEvents.java: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | package Windows.UI.Xaml.Controls; 6 | 7 | public interface IFireEvents { 8 | void addEventHandler(String eventName, Handle handle); 9 | void removeEventHandler(String eventName); 10 | } 11 | -------------------------------------------------------------------------------- /src/android/IHaveProperties.java: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | package Windows.UI.Xaml.Controls; 6 | 7 | public interface IHaveProperties { 8 | void setProperty(String propertyName, Object propertyValue); 9 | } 10 | -------------------------------------------------------------------------------- /src/android/IRecieveCollectionChanges.java: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | package Windows.UI.Xaml.Controls; 6 | 7 | public interface IRecieveCollectionChanges { 8 | void add(Object collection, Object item); 9 | void removeAt(Object collection, int index); 10 | } 11 | -------------------------------------------------------------------------------- /src/android/build/CustomApplication.java: -------------------------------------------------------------------------------- 1 | package ${PACKAGE_NAME}; 2 | 3 | import android.app.Application; 4 | 5 | public class ${APP_NAME} extends Application { 6 | } 7 | -------------------------------------------------------------------------------- /src/android/build/build.gradle: -------------------------------------------------------------------------------- 1 | repositories { 2 | mavenCentral() 3 | jcenter() 4 | } 5 | 6 | dependencies { 7 | 8 | } 9 | 10 | android { 11 | // You can add android build configs here, such as dexOptions { jumboMode true } 12 | } -------------------------------------------------------------------------------- /src/android/build/native.gradle: -------------------------------------------------------------------------------- 1 | cdvPluginPostBuildExtras.add({ 2 | android.sourceSets.main.java.srcDirs += '../../../native/android/src' 3 | android.sourceSets.main.resources.srcDirs += '../../../native/android/src' 4 | android.sourceSets.main.aidl.srcDirs += '../../../native/android/src' 5 | android.sourceSets.main.renderscript.srcDirs += '../../../native/android/src' 6 | android.sourceSets.main.res.srcDirs += '../../../native/android/res' 7 | android.sourceSets.main.assets.srcDirs += '../../../native/android/assets' 8 | android.sourceSets.main.jniLibs.srcDirs += '../../../native/android/libs' 9 | }) 10 | 11 | apply from: '../../../native/android/build.gradle' 12 | -------------------------------------------------------------------------------- /src/android/collections/ColumnDefinitionCollection.java: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | package Windows.UI.Xaml.Controls; 6 | 7 | public class ColumnDefinitionCollection extends ObservableCollection { 8 | public ColumnDefinitionCollection(android.content.Context context) { 9 | super(context); 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /src/android/collections/CommandBarElementCollection.java: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | package Windows.UI.Xaml.Controls; 6 | 7 | public class CommandBarElementCollection extends ObservableCollection { 8 | public CommandBarElementCollection(android.content.Context context) { 9 | super(context); 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /src/android/collections/Dictionary.java: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | package Windows.UI.Xaml.Controls; 6 | 7 | import java.util.HashMap; 8 | 9 | public class Dictionary extends HashMap { 10 | public Dictionary(android.content.Context context) { 11 | super(); 12 | } 13 | 14 | public void Add(Object key, Object value) { 15 | super.put(key, value); 16 | } 17 | 18 | public void Remove(Object key) { 19 | super.remove(key); 20 | } 21 | 22 | public void Clear() { 23 | super.clear(); 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /src/android/collections/GradientStopCollection.java: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | package Windows.UI.Xaml.Media; 6 | 7 | import Windows.UI.Xaml.Controls.ObservableCollection; 8 | 9 | public class GradientStopCollection extends ObservableCollection { 10 | public GradientStopCollection(android.content.Context context) { 11 | super(context); 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /src/android/collections/InlineCollection.java: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | package Windows.UI.Xaml.Documents; 6 | 7 | public class InlineCollection extends Windows.UI.Xaml.Controls.ObservableCollection { 8 | public InlineCollection(android.content.Context context) { 9 | super(context); 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /src/android/collections/ItemCollection.java: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | package Windows.UI.Xaml.Controls; 6 | 7 | public class ItemCollection extends ObservableCollection { 8 | public ItemCollection(android.content.Context context) { 9 | super(context); 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /src/android/collections/PathFigureCollection.java: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | package Windows.UI.Xaml.Controls; 6 | 7 | public class PathFigureCollection extends ObservableCollection { 8 | public PathFigureCollection(android.content.Context context) { 9 | super(context); 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /src/android/collections/PathSegmentCollection.java: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | package Windows.UI.Xaml.Controls; 6 | 7 | public class PathSegmentCollection extends ObservableCollection { 8 | public PathSegmentCollection(android.content.Context context) { 9 | super(context); 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /src/android/collections/PointCollection.java: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | package Windows.UI.Xaml.Controls; 6 | 7 | public class PointCollection extends ObservableCollection { 8 | public PointCollection(android.content.Context context) { 9 | super(context); 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /src/android/collections/ResourceDictionary.java: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | package Windows.UI.Xaml; 6 | 7 | public class ResourceDictionary extends Windows.UI.Xaml.Controls.Dictionary { 8 | public ResourceDictionary(android.content.Context context) { 9 | super(context); 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /src/android/collections/RowDefinitionCollection.java: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | package Windows.UI.Xaml.Controls; 6 | 7 | public class RowDefinitionCollection extends ObservableCollection { 8 | public RowDefinitionCollection(android.content.Context context) { 9 | super(context); 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /src/android/collections/SetterBaseCollection.java: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | package Windows.UI.Xaml; 6 | 7 | public class SetterBaseCollection extends Windows.UI.Xaml.Controls.ObservableCollection { 8 | public SetterBaseCollection(android.content.Context context) { 9 | super(context); 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /src/android/collections/UIElementCollection.java: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | package Windows.UI.Xaml.Controls; 6 | 7 | public class UIElementCollection extends ObservableCollection { 8 | public UIElementCollection(android.content.Context context) { 9 | super(context); 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /src/android/converters/PointFConverter.java: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | package Windows.UI.Xaml.Controls; 6 | 7 | import android.graphics.PointF; 8 | 9 | public class PointFConverter { 10 | public static PointF parse(String text) { 11 | String[] parts = text.split(","); 12 | return new PointF(Float.parseFloat(parts[0]), Float.parseFloat(parts[1])); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /src/android/framework/BitmapImage.java: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | package Windows.UI.Xaml.Controls; 6 | 7 | import android.content.Context; 8 | 9 | public class BitmapImage extends ImageSource { 10 | public BitmapImage(Context context) { 11 | super(context); 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /src/android/framework/Brush.java: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | package Windows.UI.Xaml.Controls; 6 | 7 | public class Brush { 8 | public Brush(android.content.Context context) { 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /src/android/framework/Geometry.java: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | package Windows.UI.Xaml.Controls; 6 | 7 | import android.graphics.Rect; 8 | 9 | enum FillRule { EvenOdd, Nonzero }; 10 | 11 | public class Geometry { 12 | Rect _bounds; 13 | 14 | public Rect getBounds() { 15 | throw new RuntimeException("Bounds NYI"); 16 | } 17 | public void setBounds(Rect bounds) { 18 | throw new RuntimeException("Bounds NYI"); 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /src/android/framework/GridUnitType.java: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | package Windows.UI.Xaml.Controls; 6 | 7 | class GridUnitType { 8 | public static final int Auto = 0; 9 | public static final int Pixel = 1; 10 | public static final int Star = 2; 11 | } 12 | -------------------------------------------------------------------------------- /src/android/framework/ImageSource.java: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | package Windows.UI.Xaml.Controls; 6 | 7 | import android.content.Context; 8 | 9 | public class ImageSource { 10 | String _uriSource; 11 | 12 | public ImageSource(Context context) { 13 | } 14 | 15 | public String getUriSource() { 16 | return _uriSource; 17 | } 18 | 19 | public void setUriSource(String value) { 20 | _uriSource = value; 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /src/android/framework/LineSegment.java: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | package Windows.UI.Xaml.Controls; 6 | 7 | import android.graphics.PointF; 8 | 9 | public class LineSegment extends PathSegment { 10 | PointF _point; 11 | 12 | public PointF getPoint() { 13 | return _point; 14 | } 15 | public void setPoint(PointF point) { 16 | _point = point; 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /src/android/framework/PathGeometry.java: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | package Windows.UI.Xaml.Controls; 6 | 7 | enum SegmentType { 8 | None, 9 | Line, 10 | Bezier, 11 | QuadraticBezier, 12 | Arc, 13 | PolyLine, 14 | PolyBezier, 15 | PolyQuadraticBezier 16 | } 17 | 18 | public class PathGeometry extends Geometry { 19 | public PathFigureCollection figures; 20 | public FillRule fillRule; 21 | } 22 | -------------------------------------------------------------------------------- /src/android/framework/PolyBezierSegment.java: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | package Windows.UI.Xaml.Controls; 6 | 7 | public class PolyBezierSegment extends PathSegment { 8 | PointCollection _points; 9 | 10 | public PointCollection getPoints() { 11 | return _points; 12 | } 13 | public void setPoints(PointCollection points) { 14 | _points = points; 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /src/android/framework/PolyLineSegment.java: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | package Windows.UI.Xaml.Controls; 6 | 7 | public class PolyLineSegment extends PathSegment { 8 | PointCollection _points; 9 | 10 | public PointCollection getPoints() { 11 | return _points; 12 | } 13 | public void setPoints(PointCollection points) { 14 | _points = points; 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /src/android/framework/PolyQuadraticBezierSegment.java: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | package Windows.UI.Xaml.Controls; 6 | 7 | public class PolyQuadraticBezierSegment extends PathSegment { 8 | PointCollection _points; 9 | 10 | public PointCollection getPoints() { 11 | return _points; 12 | } 13 | public void setPoints(PointCollection points) { 14 | _points = points; 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /src/android/framework/SolidColorBrush.java: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | package Windows.UI.Xaml.Controls; 6 | 7 | public class SolidColorBrush extends Brush { 8 | public int Color; 9 | 10 | public SolidColorBrush(android.content.Context context) { 11 | super(context); 12 | } 13 | 14 | public SolidColorBrush(int color) { 15 | super(null); 16 | Color = color; 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /src/android/res/values/ace_ids.xml: -------------------------------------------------------------------------------- 1 | 2 | 2 3 | 3 4 | 4 5 | 5 6 | 6 7 | 7 8 | 8 9 | 9 10 | 10 11 | 11 12 | 12 13 | 14 | -------------------------------------------------------------------------------- /src/ios/AceNavigationController.h: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | #import "IHaveProperties.h" 6 | 7 | enum NavigationMode { NavigationModeNew, NavigationModeBack, NavigationModeForward, NavigationModeRefresh, NavigationModeNone }; 8 | 9 | @interface AceNavigationController : UINavigationController 10 | 11 | @property enum NavigationMode NavigationMode; 12 | @property bool InsideNativeInitiatedBackNavigation; 13 | 14 | @end 15 | -------------------------------------------------------------------------------- /src/ios/AcePluginManager.h: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | 6 | // Acts like the PluginManager for Cordova's Android implementation 7 | @interface AcePluginManager : NSObject 8 | { 9 | UIViewController* _viewController; 10 | } 11 | 12 | - (id)initWithViewController:(UIViewController*)viewController; 13 | 14 | @end 15 | -------------------------------------------------------------------------------- /src/ios/AceViewController.h: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | @interface AceViewController : UIViewController 6 | 7 | @property UIView* content; 8 | 9 | - (id)initWithContent:(UIView*)view navigationController:(UINavigationController*)navigationController; 10 | 11 | @end 12 | -------------------------------------------------------------------------------- /src/ios/AppBarButton.h: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | #import "Button.h" 6 | #import "IconElement.h" 7 | 8 | @interface AppBarButton : Button 9 | { 10 | IconElement* _Icon; 11 | UIBarButtonItem* _ToolbarItem; 12 | } 13 | 14 | @property NSString* Label; 15 | @property IconElement* Icon; 16 | @property UIBarButtonItem* ToolbarItem; 17 | 18 | @property bool hasSystemIcon; 19 | @property UIBarButtonSystemItem systemIcon; 20 | 21 | @end 22 | -------------------------------------------------------------------------------- /src/ios/ArcSegment.h: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | #import "PathSegment.h" 6 | 7 | @interface ArcSegment : PathSegment 8 | 9 | @property CGPoint Point; 10 | @property CGPoint Size; 11 | @property bool IsLargeArc; 12 | @property int SweepDirection; 13 | @property double RotationAngle; 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /src/ios/ArcSegment.mm: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | #import "ArcSegment.h" 6 | 7 | @implementation ArcSegment 8 | @end 9 | -------------------------------------------------------------------------------- /src/ios/BezierSegment.h: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | #import "PathSegment.h" 6 | 7 | @interface BezierSegment : PathSegment 8 | 9 | @property CGPoint Point1; 10 | @property CGPoint Point2; 11 | @property CGPoint Point3; 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /src/ios/BezierSegment.mm: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | #import "BezierSegment.h" 6 | 7 | @implementation BezierSegment 8 | @end 9 | -------------------------------------------------------------------------------- /src/ios/BitmapIcon.h: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | #import "IconElement.h" 6 | 7 | @interface BitmapIcon : IconElement 8 | 9 | @property NSString* UriSource; 10 | 11 | @end 12 | -------------------------------------------------------------------------------- /src/ios/BitmapIcon.mm: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | #import "BitmapIcon.h" 6 | 7 | @implementation BitmapIcon 8 | @end 9 | -------------------------------------------------------------------------------- /src/ios/BitmapImage.h: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | #import "ImageSource.h" 6 | 7 | @interface BitmapImage : ImageSource 8 | @end 9 | -------------------------------------------------------------------------------- /src/ios/BitmapImage.mm: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | #import "BitmapImage.h" 6 | 7 | @implementation BitmapImage 8 | @end 9 | -------------------------------------------------------------------------------- /src/ios/Brush.h: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | @interface Brush : NSObject 6 | @end 7 | -------------------------------------------------------------------------------- /src/ios/Brush.mm: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | #import "Brush.h" 6 | 7 | @implementation Brush 8 | @end 9 | -------------------------------------------------------------------------------- /src/ios/BrushConverter.h: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | #import "Brush.h" 6 | 7 | @interface BrushConverter : NSObject 8 | 9 | + (Brush*)parse:(NSString*)text; 10 | 11 | @end 12 | -------------------------------------------------------------------------------- /src/ios/BrushConverter.mm: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | #import "BrushConverter.h" 6 | #import "Parsers.h" 7 | 8 | @implementation BrushConverter 9 | 10 | + (Brush*)parse:(NSString*)text { 11 | return [Parsers ParseBrush:text]; 12 | } 13 | 14 | @end 15 | -------------------------------------------------------------------------------- /src/ios/Button.h: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | #import "IHaveProperties.h" 6 | #import "IFireEvents.h" 7 | #import "Handle.h" 8 | 9 | @interface Button : UIButton 10 | { 11 | int _clickHandlers; 12 | AceHandle* _handle; 13 | } 14 | @end 15 | -------------------------------------------------------------------------------- /src/ios/Canvas.h: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | #import "IHaveProperties.h" 6 | #import "IRecieveCollectionChanges.h" 7 | #import "UIElementCollection.h" 8 | 9 | @interface Canvas : UIView 10 | { 11 | UIElementCollection* _children; 12 | } 13 | @end 14 | -------------------------------------------------------------------------------- /src/ios/Color.h: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | @interface Color 6 | 7 | + (UIColor*)fromObject:(NSObject*)value withDefault:(UIColor*)defaultValue; 8 | 9 | @end 10 | -------------------------------------------------------------------------------- /src/ios/ColumnDefinition.h: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | #import "GridLength.h" 6 | #import "IHaveProperties.h" 7 | 8 | @interface ColumnDefinition : NSObject 9 | { 10 | @public 11 | GridLength* width; 12 | double calculatedWidth; 13 | double calculatedLeft; 14 | } 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /src/ios/ColumnDefinitionCollection.h: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | #import "ObservableCollection.h" 6 | 7 | @interface ColumnDefinitionCollection : ObservableCollection 8 | @end 9 | -------------------------------------------------------------------------------- /src/ios/ColumnDefinitionCollection.mm: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | #import "ColumnDefinitionCollection.h" 6 | 7 | @implementation ColumnDefinitionCollection 8 | @end 9 | -------------------------------------------------------------------------------- /src/ios/CommandBarElementCollection.h: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | #import "ObservableCollection.h" 6 | 7 | @interface CommandBarElementCollection : ObservableCollection 8 | @end 9 | -------------------------------------------------------------------------------- /src/ios/CommandBarElementCollection.mm: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | #import "CommandBarElementCollection.h" 6 | 7 | @implementation CommandBarElementCollection 8 | @end 9 | -------------------------------------------------------------------------------- /src/ios/CustomActionSheet.h: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | #import 6 | 7 | @interface CustomActionSheet : UIView 8 | { 9 | UIView* _customView; 10 | UIButton* _dismissBackground; 11 | } 12 | 13 | @property UIView* Child; 14 | 15 | - (void) Show; 16 | - (void) dismiss:(id)sender; 17 | 18 | @end 19 | -------------------------------------------------------------------------------- /src/ios/Dictionary.h: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | #import 6 | 7 | @interface Dictionary : NSObject 8 | { 9 | NSMutableDictionary* _dictionary; 10 | } 11 | 12 | @property (readonly) unsigned long Count; 13 | 14 | - (void)Add:(id)key value:(id)obj; 15 | 16 | // For indexing: 17 | - (id)objectForKeyedSubscript:(id )key; 18 | - (void)setObject:(id)obj forKeyedSubscript:(id )key; 19 | 20 | @end 21 | -------------------------------------------------------------------------------- /src/ios/FontWeightConverter.h: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | @interface FontWeightConverter : NSObject 6 | 7 | + (double)parse:(NSString*)text; 8 | 9 | @end 10 | -------------------------------------------------------------------------------- /src/ios/Frame.h: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | @interface Frame : UIView 6 | 7 | + (UINavigationController*)getNavigationController; 8 | + (void)goForward:(UIView*)view; 9 | + (void)GoBack; 10 | + (void)ShowNavigationBar; 11 | + (void)HideNavigationBar; 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /src/ios/Geometry.h: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | enum FillRule { EvenOdd, Nonzero }; 6 | 7 | @interface Geometry : NSObject 8 | 9 | @property CGRect bounds; 10 | 11 | @end 12 | -------------------------------------------------------------------------------- /src/ios/Geometry.mm: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | #import "Geometry.h" 6 | 7 | @implementation Geometry 8 | @end 9 | -------------------------------------------------------------------------------- /src/ios/GeometryConverter.h: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | #import "Geometry.h" 6 | 7 | @interface GeometryConverter : NSObject 8 | 9 | + (Geometry*)parse:(NSString*)text; 10 | 11 | @end 12 | -------------------------------------------------------------------------------- /src/ios/GradientStop.h: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | #import "IHaveProperties.h" 6 | 7 | @interface GradientStop : NSObject 8 | 9 | @property UIColor* color; 10 | @property double offset; 11 | 12 | @end 13 | -------------------------------------------------------------------------------- /src/ios/GradientStopCollection.h: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | #import "ObservableCollection.h" 6 | 7 | @interface GradientStopCollection : ObservableCollection 8 | @end 9 | -------------------------------------------------------------------------------- /src/ios/GradientStopCollection.mm: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | #import "GradientStopCollection.h" 6 | 7 | @implementation GradientStopCollection 8 | @end 9 | -------------------------------------------------------------------------------- /src/ios/GridLength.h: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | enum GridUnitType { GridUnitTypeAuto, GridUnitTypePixel, GridUnitTypeStar }; 6 | 7 | @interface GridLength : NSObject 8 | { 9 | @public 10 | int type; 11 | double gridValue; 12 | } 13 | 14 | + (NSObject*) deserialize:(NSDictionary*)obj; 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /src/ios/GridLength.mm: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | #import "GridLength.h" 6 | 7 | @implementation GridLength 8 | 9 | + (NSObject*) deserialize:(NSDictionary*)obj { 10 | GridLength* gl = [[GridLength alloc] init]; 11 | gl->type = [obj[@"type"] intValue]; 12 | gl->gridValue = [obj[@"gridValue"] doubleValue]; 13 | return gl; 14 | } 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /src/ios/GridLengthConverter.h: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | #import "GridLength.h" 6 | 7 | @interface GridLengthConverter : NSObject 8 | 9 | + (GridLength*)parse:(NSString*)text; 10 | 11 | @end 12 | -------------------------------------------------------------------------------- /src/ios/HyperlinkButton.h: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | #import "Button.h" 6 | 7 | @interface HyperlinkButton : Button 8 | { 9 | NSString* _uri; 10 | } 11 | @end 12 | -------------------------------------------------------------------------------- /src/ios/IFireEvents.h: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | #import "Handle.h" 6 | 7 | @protocol IFireEvents 8 | 9 | @required 10 | - (void) addEventHandler:(NSString*) eventName handle:(AceHandle*)handle; 11 | - (void) removeEventHandler:(NSString*) eventName; 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /src/ios/IHaveProperties.h: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | @protocol IHaveProperties 6 | 7 | @required 8 | - (void) setProperty:(NSString*)propertyName value:(NSObject*)propertyValue; 9 | 10 | @end 11 | -------------------------------------------------------------------------------- /src/ios/IRecieveCollectionChanges.h: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | @protocol IRecieveCollectionChanges 6 | 7 | @required 8 | - (void) add:(NSObject*)collection item:(NSObject*)item; 9 | - (void) removeAt:(NSObject*)collection index:(int)index; 10 | 11 | @end 12 | -------------------------------------------------------------------------------- /src/ios/IconElement.h: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | @interface IconElement : NSObject 6 | @end 7 | -------------------------------------------------------------------------------- /src/ios/IconElement.mm: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | #import "IconElement.h" 6 | 7 | @implementation IconElement 8 | @end 9 | -------------------------------------------------------------------------------- /src/ios/Image.h: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | #import "IHaveProperties.h" 6 | 7 | @interface Image : UIImageView 8 | @end 9 | -------------------------------------------------------------------------------- /src/ios/ImageSource.h: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | @interface ImageSource : NSObject 6 | 7 | @property NSString* UriSource; 8 | 9 | @end 10 | -------------------------------------------------------------------------------- /src/ios/ImageSource.mm: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | #import "ImageSource.h" 6 | 7 | @implementation ImageSource 8 | @end 9 | -------------------------------------------------------------------------------- /src/ios/InlineCollection.h: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | #import "ObservableCollection.h" 6 | 7 | @interface InlineCollection : ObservableCollection 8 | @end 9 | -------------------------------------------------------------------------------- /src/ios/InlineCollection.mm: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | #import "InlineCollection.h" 6 | 7 | @implementation InlineCollection 8 | @end 9 | -------------------------------------------------------------------------------- /src/ios/ItemCollection.h: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | #import "ObservableCollection.h" 6 | 7 | @interface ItemCollection : ObservableCollection 8 | @end 9 | -------------------------------------------------------------------------------- /src/ios/ItemCollection.mm: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | #import "ItemCollection.h" 6 | 7 | @implementation ItemCollection 8 | @end 9 | -------------------------------------------------------------------------------- /src/ios/ItemsControl.h: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | #import "ItemCollection.h" 6 | #import "IHaveProperties.h" 7 | 8 | @interface ItemsControl : UIView 9 | { 10 | ItemCollection* _Items; 11 | } 12 | 13 | @property ItemCollection* Items; 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /src/ios/KnownColors.h: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | @interface KnownColors : NSObject 6 | 7 | + (NSString*) ColorStringToKnownColor:(NSString*) colorString; 8 | + (NSString*) MatchColor:(NSString*) colorString isKnownColor:(bool*) isKnownColor isNumericColor:(bool*) isNumericColor isContextColor:(bool*) isContextColor isScRgbColor:(bool*) isScRgbColor; 9 | 10 | @end 11 | -------------------------------------------------------------------------------- /src/ios/LineSegment.h: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | #import "PathSegment.h" 6 | 7 | @interface LineSegment : PathSegment 8 | 9 | @property CGPoint Point; 10 | 11 | @end 12 | -------------------------------------------------------------------------------- /src/ios/LineSegment.mm: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | #import "LineSegment.h" 6 | 7 | @implementation LineSegment 8 | @end 9 | -------------------------------------------------------------------------------- /src/ios/LinearGradientBrush.h: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | #import "Brush.h" 6 | #import "GradientStopCollection.h" 7 | 8 | @interface LinearGradientBrush : Brush 9 | 10 | @property CGPoint startPoint; 11 | @property CGPoint endPoint; 12 | @property GradientStopCollection* gradientStops; 13 | 14 | @end 15 | -------------------------------------------------------------------------------- /src/ios/LinearGradientBrush.mm: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | #import "LinearGradientBrush.h" 6 | 7 | @implementation LinearGradientBrush 8 | @end 9 | -------------------------------------------------------------------------------- /src/ios/ListBox.h: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | #import "Selector.h" 6 | 7 | @interface ListBox : Selector 8 | { 9 | UITableView* _tv; 10 | } 11 | 12 | // TODO: Currently here for the benefit of ListView 13 | @property id Header; 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /src/ios/ListBoxItem.h: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | #import "IHaveProperties.h" 6 | 7 | @interface ListBoxItem : NSObject 8 | 9 | @property id Content; 10 | @property bool IsSelected; 11 | 12 | @end 13 | -------------------------------------------------------------------------------- /src/ios/ListBoxItem.mm: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | #import "ListBoxItem.h" 6 | #import "UIViewHelper.h" 7 | 8 | @implementation ListBoxItem 9 | 10 | // IHaveProperties.setProperty 11 | - (void) setProperty:(NSString*)propertyName value:(NSObject*)propertyValue { 12 | if ([propertyName hasSuffix:@".Content"]) { 13 | _Content = propertyValue; 14 | } 15 | else { 16 | throw [NSString stringWithFormat:@"Unhandled property for %@: %@", [self class], propertyName]; 17 | } 18 | } 19 | 20 | @end 21 | -------------------------------------------------------------------------------- /src/ios/NativeEventAttacher.h: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | #import "Handle.h" 6 | 7 | @interface NativeEventAttacher : NSObject 8 | { 9 | UIControl* _instance; 10 | NSString* _event; 11 | } 12 | 13 | - (id)initWithInstance:(UIControl*)instance event:(NSString*)eventName; 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /src/ios/Page.h: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | #import "IHaveProperties.h" 6 | #import "CommandBar.h" 7 | 8 | @interface Page : UIView 9 | { 10 | CommandBar* _topAppBar; 11 | NSObject* _bottomAppBar; 12 | UIView* _content; 13 | } 14 | 15 | @property NSString* frameTitle; 16 | 17 | - (NSObject*)getBottomAppBar; 18 | - (CommandBar*)getTopAppBar; 19 | 20 | @end 21 | -------------------------------------------------------------------------------- /src/ios/Parsers.h: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | #import 6 | #import 7 | #import "Brush.h" 8 | 9 | @interface Parsers : NSObject 10 | 11 | + (int) ParseHexChar:(char) c; 12 | + (UIColor*) ParseHexColor:(NSString*) trimmedColor; 13 | + (UIColor*) ParseColor:(NSString*) color; 14 | + (Brush*) ParseBrush:(NSString*) brush; 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /src/ios/Path.h: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | #import "Shape.h" 6 | #import "Geometry.h" 7 | #import "IHaveProperties.h" 8 | 9 | // Can be true in order to have the system gloss over 10 | // presumably-temporary errors like a null color in a gradient 11 | #define DESIGNERMODE false 12 | 13 | @interface Path : Shape 14 | 15 | @property Geometry* data; 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /src/ios/PathFigure.h: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | #import "PathSegmentCollection.h" 6 | 7 | @interface PathFigure : NSObject 8 | 9 | @property bool IsClosed; 10 | @property CGPoint startPoint; 11 | @property bool IsFilled; 12 | @property PathSegmentCollection* Segments; 13 | 14 | @end 15 | -------------------------------------------------------------------------------- /src/ios/PathFigure.mm: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | #import "PathFigure.h" 6 | 7 | @implementation PathFigure 8 | 9 | - (id) init { 10 | self = [super init]; 11 | 12 | // Default property values 13 | self.Segments = [[PathSegmentCollection alloc] init]; 14 | 15 | return self; 16 | } 17 | 18 | @end 19 | -------------------------------------------------------------------------------- /src/ios/PathFigureCollection.h: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | #import "ObservableCollection.h" 6 | 7 | @interface PathFigureCollection : ObservableCollection 8 | @end 9 | -------------------------------------------------------------------------------- /src/ios/PathFigureCollection.mm: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | #import "PathFigureCollection.h" 6 | 7 | @implementation PathFigureCollection 8 | @end 9 | -------------------------------------------------------------------------------- /src/ios/PathGeometry.h: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | #import "Geometry.h" 6 | #import "PathFigureCollection.h" 7 | 8 | enum SegmentType { 9 | SegmentTypeNone, 10 | SegmentTypeLine, 11 | SegmentTypeBezier, 12 | SegmentTypeQuadraticBezier, 13 | SegmentTypeArc, 14 | SegmentTypePolyLine, 15 | SegmentTypePolyBezier, 16 | SegmentTypePolyQuadraticBezier 17 | }; 18 | 19 | @interface PathGeometry : Geometry 20 | 21 | @property PathFigureCollection* figures; 22 | @property int fillRule; 23 | 24 | @end 25 | -------------------------------------------------------------------------------- /src/ios/PathSegment.h: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | @interface PathSegment : NSObject 6 | 7 | @property bool IsSmoothJoin; 8 | @property bool IsStroked; 9 | 10 | @end 11 | -------------------------------------------------------------------------------- /src/ios/PathSegment.mm: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | #import "PathSegment.h" 6 | 7 | @implementation PathSegment 8 | @end 9 | -------------------------------------------------------------------------------- /src/ios/PathSegmentCollection.h: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | #import "ObservableCollection.h" 6 | 7 | @interface PathSegmentCollection : ObservableCollection 8 | @end 9 | -------------------------------------------------------------------------------- /src/ios/PathSegmentCollection.mm: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | #import "PathSegmentCollection.h" 6 | 7 | @implementation PathSegmentCollection 8 | @end 9 | -------------------------------------------------------------------------------- /src/ios/PointCollection.h: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | #import "ObservableCollection.h" 6 | 7 | @interface PointCollection : ObservableCollection 8 | @end 9 | -------------------------------------------------------------------------------- /src/ios/PointCollection.mm: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | #import "PointCollection.h" 6 | 7 | @implementation PointCollection 8 | @end 9 | -------------------------------------------------------------------------------- /src/ios/PolyBezierSegment.h: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | #import "PathSegment.h" 6 | #import "PointCollection.h" 7 | 8 | @interface PolyBezierSegment : PathSegment 9 | 10 | @property PointCollection* Points; 11 | 12 | @end 13 | -------------------------------------------------------------------------------- /src/ios/PolyBezierSegment.mm: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | #import "PolyBezierSegment.h" 6 | 7 | @implementation PolyBezierSegment 8 | @end 9 | -------------------------------------------------------------------------------- /src/ios/PolyLineSegment.h: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | #import "PathSegment.h" 6 | #import "PointCollection.h" 7 | 8 | @interface PolyLineSegment : PathSegment 9 | 10 | @property PointCollection* Points; 11 | 12 | @end 13 | -------------------------------------------------------------------------------- /src/ios/PolyLineSegment.mm: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | #import "PolyLineSegment.h" 6 | 7 | @implementation PolyLineSegment 8 | @end 9 | -------------------------------------------------------------------------------- /src/ios/PolyQuadraticBezierSegment.h: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | #import "PathSegment.h" 6 | #import "PointCollection.h" 7 | 8 | @interface PolyQuadraticBezierSegment : PathSegment 9 | 10 | @property PointCollection* Points; 11 | 12 | @end 13 | -------------------------------------------------------------------------------- /src/ios/PolyQuadraticBezierSegment.mm: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | #import "PolyQuadraticBezierSegment.h" 6 | 7 | @implementation PolyQuadraticBezierSegment 8 | @end 9 | -------------------------------------------------------------------------------- /src/ios/Popup.h: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | #import "IHaveProperties.h" 6 | 7 | @interface Popup : UIView 8 | { 9 | UIView* _content; 10 | BOOL _isFullScreen; 11 | BOOL _hasExplicitSize; 12 | CGFloat _explicitX; 13 | CGFloat _explicitY; 14 | CGFloat _explicitWidth; 15 | CGFloat _explicitHeight; 16 | } 17 | 18 | + (void) CloseAll; 19 | 20 | @end 21 | -------------------------------------------------------------------------------- /src/ios/QuadraticBezierSegment.h: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | #import "PathSegment.h" 6 | 7 | @interface QuadraticBezierSegment : PathSegment 8 | 9 | @property CGPoint Point1; 10 | @property CGPoint Point2; 11 | 12 | @end 13 | -------------------------------------------------------------------------------- /src/ios/QuadraticBezierSegment.mm: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | #import "QuadraticBezierSegment.h" 6 | 7 | @implementation QuadraticBezierSegment 8 | @end 9 | -------------------------------------------------------------------------------- /src/ios/ResourceDictionary.h: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | #import "Dictionary.h" 6 | #import "ObservableCollection.h" 7 | 8 | @interface ResourceDictionary : Dictionary 9 | 10 | @property ResourceDictionary* ThemeDictionaries; 11 | 12 | @end 13 | -------------------------------------------------------------------------------- /src/ios/ResourceDictionary.mm: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | #import "ResourceDictionary.h" 6 | 7 | @implementation ResourceDictionary 8 | @end 9 | -------------------------------------------------------------------------------- /src/ios/RowDefinition.h: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | #import "GridLength.h" 6 | #import "IHaveProperties.h" 7 | 8 | @interface RowDefinition : NSObject 9 | { 10 | @public 11 | GridLength* height; 12 | double calculatedHeight; 13 | double calculatedTop; 14 | } 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /src/ios/RowDefinitionCollection.h: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | #import "ObservableCollection.h" 6 | 7 | @interface RowDefinitionCollection : ObservableCollection 8 | @end 9 | -------------------------------------------------------------------------------- /src/ios/RowDefinitionCollection.mm: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | #import "RowDefinitionCollection.h" 6 | 7 | @implementation RowDefinitionCollection 8 | @end 9 | -------------------------------------------------------------------------------- /src/ios/Selector.h: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | #import "ItemsControl.h" 6 | #import "IFireEvents.h" 7 | 8 | @interface Selector : ItemsControl 9 | { 10 | int _selectionChangedHandlers; 11 | } 12 | 13 | @property int SelectedIndex; 14 | @property id SelectedItem; 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /src/ios/Setter.h: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | #import "IHaveProperties.h" 6 | 7 | @interface Setter : NSObject 8 | @end 9 | -------------------------------------------------------------------------------- /src/ios/Setter.mm: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | #import "Setter.h" 6 | 7 | @implementation Setter 8 | 9 | // IHaveProperties.setProperty 10 | - (void) setProperty:(NSString*)propertyName value:(NSObject*)propertyValue { 11 | if ([propertyName hasSuffix:@".Property"] || [propertyName hasSuffix:@".Value"]) { 12 | // Ignore. These are handled on the managed side. 13 | } 14 | else { 15 | throw [NSString stringWithFormat:@"Unhandled property for %@: %@", [self class], propertyName]; 16 | } 17 | } 18 | 19 | @end 20 | -------------------------------------------------------------------------------- /src/ios/SetterBaseCollection.h: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | #import "ObservableCollection.h" 6 | 7 | @interface SetterBaseCollection : ObservableCollection 8 | @end 9 | -------------------------------------------------------------------------------- /src/ios/SetterBaseCollection.mm: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | #import "SetterBaseCollection.h" 6 | 7 | @implementation SetterBaseCollection 8 | @end 9 | -------------------------------------------------------------------------------- /src/ios/Shape.h: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | #import "Brush.h" 6 | #import "IHaveProperties.h" 7 | 8 | @interface Shape : UIView 9 | 10 | @property Brush* stroke; 11 | @property double strokeThickness; 12 | @property NSString* strokeStartLineCap; 13 | @property NSString* strokeEndLineCap; 14 | @property Brush* fill; 15 | @property NSString* strokeLineJoin; 16 | @property double strokeMiterLimit; 17 | @property NSString* stretch; 18 | 19 | @end 20 | -------------------------------------------------------------------------------- /src/ios/SolidColorBrush.h: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | #import "Brush.h" 6 | 7 | @interface SolidColorBrush : Brush 8 | { 9 | UIColor* _Color; 10 | } 11 | 12 | @property UIColor* Color; 13 | 14 | - (id)initWithColor:(UIColor*) color; 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /src/ios/SolidColorBrush.mm: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | #import "SolidColorBrush.h" 6 | 7 | @implementation SolidColorBrush 8 | 9 | - (id)initWithColor:(UIColor*) color { 10 | self = [super init]; 11 | if (self) { 12 | self.Color = color; 13 | } 14 | return self; 15 | } 16 | 17 | - (UIColor*)Color { 18 | return _Color; 19 | } 20 | - (void)setColor:(UIColor*)newValue { 21 | _Color = newValue; 22 | } 23 | 24 | @end 25 | -------------------------------------------------------------------------------- /src/ios/StackPanel.h: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | #import "IHaveProperties.h" 6 | #import "IRecieveCollectionChanges.h" 7 | #import "UIElementCollection.h" 8 | 9 | @interface StackPanel : UIView 10 | { 11 | BOOL _isVertical; 12 | UIElementCollection* _children; 13 | } 14 | 15 | @property UIEdgeInsets padding; 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /src/ios/StaticResource.h: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | #import "IHaveProperties.h" 6 | 7 | @interface StaticResource : NSObject 8 | @end 9 | -------------------------------------------------------------------------------- /src/ios/Style.h: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | #import "IHaveProperties.h" 6 | 7 | // There is already a "Style" 8 | @interface XamlStyle : NSObject 9 | @end 10 | -------------------------------------------------------------------------------- /src/ios/TabBar.h: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | #import "Color.h" 6 | #import "IHaveProperties.h" 7 | #import "IRecieveCollectionChanges.h" 8 | #import "CommandBarElementCollection.h" 9 | 10 | @interface TabBar : UITabBar 11 | { 12 | @public 13 | CommandBarElementCollection* items; 14 | } 15 | @end 16 | -------------------------------------------------------------------------------- /src/ios/TableView.h: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | #import "ListBox.h" 6 | 7 | @interface TableView : ListBox 8 | @end 9 | -------------------------------------------------------------------------------- /src/ios/TableView.mm: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | #import "TableView.h" 6 | 7 | @implementation TableView 8 | @end 9 | -------------------------------------------------------------------------------- /src/ios/TableViewCell.h: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | #import "ImageSource.h" 6 | 7 | @interface TableViewCell : UITableViewCell 8 | 9 | @property bool IsSelected; 10 | 11 | @property ImageSource* Image; 12 | @property NSString* Text; 13 | @property NSString* DetailText; 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /src/ios/TextBlock.h: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | #import "IHaveProperties.h" 6 | 7 | enum TextAlignment { TextAlignmentCenter, TextAlignmentLeft, TextAlignmentRight, TextAlignmentJustify }; 8 | 9 | @interface TextBlock : UILabel 10 | 11 | @property UIEdgeInsets padding; 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /src/ios/Thickness.h: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | @interface Thickness : NSObject 6 | 7 | @property double left; 8 | @property double top; 9 | @property double right; 10 | @property double bottom; 11 | 12 | + (NSObject*) deserialize:(NSDictionary*)obj; 13 | + (Thickness*) parse:(NSString*)text; 14 | + (Thickness*) fromNumber:(NSNumber*)number; 15 | + (Thickness*) fromObject:(NSObject*)obj; 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /src/ios/TimePicker.h: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | #import "DatePicker.h" 6 | 7 | @interface TimePicker : AceDatePicker 8 | @end 9 | -------------------------------------------------------------------------------- /src/ios/TimePicker.mm: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | #import "TimePicker.h" 6 | 7 | @implementation TimePicker 8 | 9 | -(id) init { 10 | self = [super init]; 11 | 12 | _datePicker.datePickerMode = UIDatePickerModeTime; 13 | [_displayFormatter setDateFormat:@"h:mm a"]; 14 | [_dropDownButton setTitle:[_displayFormatter stringFromDate:_date] forState:UIControlStateNormal]; 15 | 16 | return self; 17 | } 18 | 19 | @end 20 | -------------------------------------------------------------------------------- /src/ios/ToggleSwitch.h: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | #import "IHaveProperties.h" 6 | #import "IFireEvents.h" 7 | #import "Handle.h" 8 | 9 | @interface ToggleSwitch : UIView 10 | { 11 | UILabel* _header; 12 | UISwitch* _switch; 13 | 14 | int _isOnChangedHandlers; 15 | AceHandle* _handle; 16 | } 17 | 18 | @property UIEdgeInsets padding; 19 | 20 | @end 21 | -------------------------------------------------------------------------------- /src/ios/UIElementCollection.h: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | #import "ObservableCollection.h" 6 | 7 | @interface UIElementCollection : ObservableCollection 8 | @end 9 | -------------------------------------------------------------------------------- /src/ios/UIElementCollection.mm: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | #import "UIElementCollection.h" 6 | 7 | @implementation UIElementCollection 8 | @end 9 | -------------------------------------------------------------------------------- /src/ios/UILabelHelper.h: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | @interface UILabelHelper : NSObject 6 | 7 | + (BOOL) setProperty:(UILabel*)instance propertyName:(NSString*)propertyName propertyValue:(NSObject*)propertyValue; 8 | 9 | @end 10 | -------------------------------------------------------------------------------- /src/ios/UIViewHelper.h: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | @interface UIViewHelper : NSObject 6 | 7 | + (BOOL) setProperty:(UIView*)instance propertyName:(NSString*)propertyName propertyValue:(NSObject*)propertyValue; 8 | + (void) resize:(UIView*)view; 9 | + (void) replaceContentIn:(UIView*)view with:(UIView*)content; 10 | 11 | @end 12 | -------------------------------------------------------------------------------- /src/ios/build/Podfile: -------------------------------------------------------------------------------- 1 | workspace '../../platforms/ios/${PROJECT_NAME}' 2 | 3 | use_frameworks! 4 | 5 | target '${PROJECT_NAME}' do 6 | project '../../platforms/ios/${PROJECT_NAME}' 7 | 8 | # Dependencies go here 9 | 10 | # Dependencies end 11 | 12 | target 'native' do 13 | inherit! :search_paths 14 | project 'native' 15 | end 16 | end 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /src/ios/build/native.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /src/ios/build/native/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleVersion 20 | $(CURRENT_PROJECT_VERSION) 21 | NSPrincipalClass 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /src/ios/build/native/native.h: -------------------------------------------------------------------------------- 1 | #import 2 | 3 | //! Project version number for native. 4 | FOUNDATION_EXPORT double nativeVersionNumber; 5 | 6 | //! Project version string for native. 7 | FOUNDATION_EXPORT const unsigned char nativeVersionString[]; 8 | 9 | // In this header, you should import all the public headers of your framework using statements like #import 10 | 11 | 12 | -------------------------------------------------------------------------------- /tests/dump_compiled_markup/NodeType.js: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | module.exports = { 6 | Text: 0, 7 | Value: 1, 8 | Object: 2, 9 | Property: 3 10 | }; 11 | -------------------------------------------------------------------------------- /www/android/platform.js: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | module.exports = "Android"; 6 | -------------------------------------------------------------------------------- /www/external.js: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | 6 | // 7 | // Interacts with external native UI, perhaps from other plugins. 8 | // 9 | module.exports = { 10 | getPluginAsync: function (serviceName, onSuccess) { 11 | var pm = new ace.KnownNativeObject("PluginManager"); 12 | pm.invoke("getPlugin", serviceName, function(instance) { 13 | onSuccess(instance); 14 | }); 15 | } 16 | }; 17 | -------------------------------------------------------------------------------- /www/framework/Button.js: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | 6 | // 7 | // A button that can respond to clicks. 8 | // 9 | function Button() { 10 | ace.UIElement.call(this, "Windows.UI.Xaml.Controls.Button"); 11 | }; 12 | 13 | // Inheritance 14 | Button.prototype = Object.create(ace.ButtonBase.prototype); 15 | 16 | module.exports = Button; 17 | -------------------------------------------------------------------------------- /www/framework/Geometry.js: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | 6 | // 7 | // A base class for defining geometric shapes. 8 | // 9 | function Geometry() { 10 | ace.UIElement.call(this, "Windows.UI.Xaml.Media.Geometry"); 11 | }; 12 | 13 | // Inheritance 14 | Geometry.prototype = Object.create(ace.NativeObject.prototype); 15 | 16 | module.exports = Geometry; 17 | -------------------------------------------------------------------------------- /www/framework/Image.js: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | 6 | // 7 | // Displays an image. 8 | // 9 | function Image() { 10 | ace.UIElement.call(this, "Windows.UI.Xaml.Controls.Image"); 11 | }; 12 | 13 | // Inheritance 14 | Image.prototype = Object.create(ace.UIElement.prototype); 15 | 16 | Image.prototype.getSource = function () { return this.get("Image.Source"); }; 17 | Image.prototype.setSource = function (source) { this.set("Image.Source", source); }; 18 | 19 | module.exports = Image; 20 | -------------------------------------------------------------------------------- /www/framework/ListBox.js: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | 6 | // 7 | // A selectable list of items. 8 | // 9 | function ListBox() { 10 | ace.UIElement.call(this, "Windows.UI.Xaml.Controls.ListBox"); 11 | }; 12 | 13 | // Inheritance 14 | ListBox.prototype = Object.create(ace.Selector.prototype); 15 | 16 | module.exports = ListBox; 17 | -------------------------------------------------------------------------------- /www/framework/ListBoxItem.js: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | 6 | // 7 | // A container for an item in a ListBox. 8 | // 9 | function ListBoxItem() { 10 | ace.UIElement.call(this, "Windows.UI.Xaml.Controls.ListBoxItem"); 11 | }; 12 | 13 | // Inheritance 14 | ListBoxItem.prototype = Object.create(ace.SelectorItem.prototype); 15 | 16 | module.exports = ListBoxItem; 17 | -------------------------------------------------------------------------------- /www/framework/Path.js: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | 6 | // 7 | // A series of connected lines and curves. 8 | // 9 | function Path() { 10 | ace.UIElement.call(this, "Windows.UI.Xaml.Shapes.Path"); 11 | }; 12 | 13 | // Inheritance 14 | Path.prototype = Object.create(ace.Shape.prototype); 15 | 16 | Path.prototype.getData = function () { return this.get("Path.Data"); }; 17 | Path.prototype.setData = function (data) { this.set("Path.Data", data); }; 18 | 19 | module.exports = Path; 20 | -------------------------------------------------------------------------------- /www/framework/PathSegment.js: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | 6 | // 7 | // Base class for a segment of a PathFigure. 8 | // 9 | function PathSegment() { 10 | ace.UIElement.call(this, "Windows.UI.Xaml.Media.PathSegment"); 11 | }; 12 | 13 | // Inheritance 14 | PathSegment.prototype = Object.create(ace.NativeObject.prototype); 15 | 16 | module.exports = PathSegment; 17 | -------------------------------------------------------------------------------- /www/framework/TableView.js: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | 6 | // 7 | // A selectable list of items with support for hierarchies. 8 | // 9 | function TableView() { 10 | ace.UIElement.call(this, "run.ace.TableView"); 11 | }; 12 | 13 | // Inheritance 14 | TableView.prototype = Object.create(ace.ListBox.prototype); 15 | 16 | module.exports = TableView; 17 | -------------------------------------------------------------------------------- /www/framework/collections/ColumnDefinitionCollection.js: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | 6 | // 7 | // An ordered collection of ColumnDefinitions. 8 | // 9 | function ColumnDefinitionCollection() { 10 | ace.ObservableCollection.call(this, "Windows.UI.Xaml.Controls.ColumnDefinitionCollection"); 11 | }; 12 | 13 | // Inheritance 14 | ColumnDefinitionCollection.prototype = Object.create(ace.ObservableCollection.prototype); 15 | 16 | module.exports = ColumnDefinitionCollection; 17 | -------------------------------------------------------------------------------- /www/framework/collections/CommandBarElementCollection.js: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | 6 | // 7 | // An ordered collection of CommandBarElements. 8 | // 9 | function CommandBarElementCollection() { 10 | ace.ObservableCollection.call(this, "Windows.UI.Xaml.Controls.CommandBarElementCollection"); 11 | }; 12 | 13 | // Inheritance 14 | CommandBarElementCollection.prototype = Object.create(ace.ObservableCollection.prototype); 15 | 16 | module.exports = CommandBarElementCollection; 17 | -------------------------------------------------------------------------------- /www/framework/collections/InlineCollection.js: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | 6 | // 7 | // An ordered collection of Inlines. 8 | // 9 | function InlineCollection() { 10 | ace.ObservableCollection.call(this, "Windows.UI.Xaml.Documents.InlineCollection"); 11 | }; 12 | 13 | // Inheritance 14 | InlineCollection.prototype = Object.create(ace.ObservableCollection.prototype); 15 | 16 | module.exports = InlineCollection; 17 | -------------------------------------------------------------------------------- /www/framework/collections/ItemCollection.js: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | 6 | // 7 | // An ordered collection of items in an ItemsControl. 8 | // 9 | function ItemCollection() { 10 | ace.ObservableCollection.call(this, "Windows.UI.Xaml.Controls.ItemCollection"); 11 | }; 12 | 13 | // Inheritance 14 | ItemCollection.prototype = Object.create(ace.ObservableCollection.prototype); 15 | 16 | module.exports = ItemCollection; 17 | -------------------------------------------------------------------------------- /www/framework/collections/PathFigureCollection.js: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | 6 | // 7 | // An ordered collection of PathFigures. 8 | // 9 | function PathFigureCollection() { 10 | ace.ObservableCollection.call(this, "Windows.UI.Xaml.Media.PathFigureCollection"); 11 | }; 12 | 13 | // Inheritance 14 | PathFigureCollection.prototype = Object.create(ace.ObservableCollection.prototype); 15 | 16 | module.exports = PathFigureCollection; 17 | -------------------------------------------------------------------------------- /www/framework/collections/PathSegmentCollection.js: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | 6 | // 7 | // An ordered collection of PathSegments. 8 | // 9 | function PathSegmentCollection() { 10 | ace.ObservableCollection.call(this, "Windows.UI.Xaml.Media.PathSegmentCollection"); 11 | }; 12 | 13 | // Inheritance 14 | PathSegmentCollection.prototype = Object.create(ace.ObservableCollection.prototype); 15 | 16 | module.exports = PathSegmentCollection; 17 | -------------------------------------------------------------------------------- /www/framework/collections/ResourceDictionary.js: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | 6 | // 7 | // Defines a repository for XAML resources, such as styles, that your app uses. 8 | // 9 | function ResourceDictionary() { 10 | ace.Dictionary.call(this, "Windows.UI.Xaml.ResourceDictionary"); 11 | }; 12 | 13 | // Inheritance 14 | ResourceDictionary.prototype = Object.create(ace.Dictionary.prototype); 15 | 16 | module.exports = ResourceDictionary; 17 | -------------------------------------------------------------------------------- /www/framework/collections/RowDefinitionCollection.js: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | 6 | // 7 | // An ordered collection of RowDefinitions. 8 | // 9 | function RowDefinitionCollection() { 10 | ace.ObservableCollection.call(this, "Windows.UI.Xaml.Controls.RowDefinitionCollection"); 11 | }; 12 | 13 | // Inheritance 14 | RowDefinitionCollection.prototype = Object.create(ace.ObservableCollection.prototype); 15 | 16 | module.exports = RowDefinitionCollection; 17 | -------------------------------------------------------------------------------- /www/framework/collections/SetterBaseCollection.js: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | 6 | // 7 | // An ordered collection of Setters (whose base class is SetterBase). 8 | // 9 | function SetterBaseCollection() { 10 | ace.ObservableCollection.call(this, "Windows.UI.Xaml.SetterBaseCollection"); 11 | }; 12 | 13 | // Inheritance 14 | SetterBaseCollection.prototype = Object.create(ace.ObservableCollection.prototype); 15 | 16 | module.exports = SetterBaseCollection; 17 | -------------------------------------------------------------------------------- /www/framework/collections/UIElementCollection.js: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | 6 | // 7 | // An ordered collection of UIElements. 8 | // 9 | function UIElementCollection() { 10 | ace.ObservableCollection.call(this, "Windows.UI.Xaml.Controls.UIElementCollection"); 11 | }; 12 | 13 | // Inheritance 14 | UIElementCollection.prototype = Object.create(ace.ObservableCollection.prototype); 15 | 16 | module.exports = UIElementCollection; 17 | -------------------------------------------------------------------------------- /www/iOS/platform.js: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | module.exports = "iOS"; 6 | -------------------------------------------------------------------------------- /www/xbf/NodeType.js: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------------------------------- 2 | // Copyright (C) Microsoft. All rights reserved. 3 | // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. 4 | //------------------------------------------------------------------------------------------------------- 5 | module.exports = { 6 | Text: 0, 7 | Value: 1, 8 | Object: 2, 9 | Property: 3 10 | }; 11 | --------------------------------------------------------------------------------