Skip to content

UWP examples #2

Description

@optikos

Inspiration for any forthcoming Ada-WinRT UWP examples‡ can be found at the following GitHub repository. I have drilled down to one file in particular that would be especially interesting: how to handle Ada-WinRT's analogue of downcasting Frame to a narrower type as shown on line 39 of the following file. For example, C++/WinRT doesn't directly support type-casting like that, so the porting from C# or C++/CX to C++/WinRT isn't as mechanical on that line. How should Ada-WinRT be coded for that use-case instead?

‡ what Microsoft calls ‘samples’ as if a few products are being randomly extracted from a larger bin for quality assurance

https://github.com/Microsoft/Windows-universal-samples/blob/master/Samples/XamlListView/cs/App.xaml.cs

In regards to Ada-WinRT's support for XAML without the XAML compiler itself supporting Ada-WinRT (or C++/WinRT yet, for that matter), FeBrex's replies to closed‡‡-issue 176 might be interesting over at https://github.com/Microsoft/cppwinrt/issues. FeBrex teaches how to utilize XAML without the XAML compiler with C++/WinRT.

‡‡ To avoid the notice over there for a direct URL link to it here, at their GitHub repository search for is:issue is:closed 176

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions