Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: zauberzeug/XFormsTouch
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: gowithfloat/Float.XFormsTouch
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
  • 13 commits
  • 94 files changed
  • 2 contributors

Commits on Jan 17, 2022

  1. Copy the full SHA
    d38da85 View commit details

Commits on Jan 18, 2022

  1. Update test.yml

    steverichey authored Jan 18, 2022

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    cf332a4 View commit details
  2. correct project paths

    steverichey committed Jan 18, 2022
    Copy the full SHA
    dc150b0 View commit details
  3. address stylecop warnings

    steverichey committed Jan 18, 2022
    Copy the full SHA
    f3fd9b9 View commit details
  4. Copy the full SHA
    4676130 View commit details
  5. removed "Shared" from project name

    artifact of previous build process
    steverichey committed Jan 18, 2022
    Copy the full SHA
    a689f96 View commit details
  6. Copy the full SHA
    b6c6120 View commit details
  7. use cake on test actions

    eventually, should add test project
    steverichey committed Jan 18, 2022
    Copy the full SHA
    e36def1 View commit details
  8. Copy the full SHA
    6c5c194 View commit details
  9. yaml is a mystery

    steverichey committed Jan 18, 2022
    Copy the full SHA
    270b5d4 View commit details
  10. Copy the full SHA
    c8bd974 View commit details
  11. Copy the full SHA
    a038272 View commit details
  12. Copy the full SHA
    1ec55d6 View commit details
Showing with 951 additions and 9,097 deletions.
  1. +12 −0 .config/dotnet-tools.json
  2. +34 −0 .github/workflows/deploy.yml
  3. +34 −0 .github/workflows/test.yml
  4. +10 −1 .gitignore
  5. +19 −2 README.md
  6. +0 −19 Sample.Android/Assets/AboutAssets.txt
  7. +0 −27 Sample.Android/MainActivity.cs
  8. +0 −6 Sample.Android/Properties/AndroidManifest.xml
  9. +0 −34 Sample.Android/Properties/AssemblyInfo.cs
  10. +0 −50 Sample.Android/Resources/AboutResources.txt
  11. +0 −7,504 Sample.Android/Resources/Resource.designer.cs
  12. +0 −2 Sample.Android/Resources/layout/Tabbar.axml
  13. +0 −2 Sample.Android/Resources/layout/Toolbar.axml
  14. +0 −5 Sample.Android/Resources/mipmap-anydpi-v26/icon.xml
  15. +0 −5 Sample.Android/Resources/mipmap-anydpi-v26/icon_round.xml
  16. BIN Sample.Android/Resources/mipmap-hdpi/Icon.png
  17. BIN Sample.Android/Resources/mipmap-hdpi/launcher_foreground.png
  18. BIN Sample.Android/Resources/mipmap-mdpi/icon.png
  19. BIN Sample.Android/Resources/mipmap-mdpi/launcher_foreground.png
  20. BIN Sample.Android/Resources/mipmap-xhdpi/Icon.png
  21. BIN Sample.Android/Resources/mipmap-xhdpi/launcher_foreground.png
  22. BIN Sample.Android/Resources/mipmap-xxhdpi/Icon.png
  23. BIN Sample.Android/Resources/mipmap-xxhdpi/launcher_foreground.png
  24. BIN Sample.Android/Resources/mipmap-xxxhdpi/Icon.png
  25. BIN Sample.Android/Resources/mipmap-xxxhdpi/launcher_foreground.png
  26. +0 −7 Sample.Android/Resources/values/colors.xml
  27. +0 −27 Sample.Android/Resources/values/styles.xml
  28. +0 −103 Sample.Android/Sample.Android.csproj
  29. +0 −31 Sample.iOS/AppDelegate.cs
  30. +0 −117 Sample.iOS/Assets.xcassets/AppIcon.appiconset/Contents.json
  31. BIN Sample.iOS/Assets.xcassets/AppIcon.appiconset/Icon1024.png
  32. BIN Sample.iOS/Assets.xcassets/AppIcon.appiconset/Icon120.png
  33. BIN Sample.iOS/Assets.xcassets/AppIcon.appiconset/Icon152.png
  34. BIN Sample.iOS/Assets.xcassets/AppIcon.appiconset/Icon167.png
  35. BIN Sample.iOS/Assets.xcassets/AppIcon.appiconset/Icon180.png
  36. BIN Sample.iOS/Assets.xcassets/AppIcon.appiconset/Icon20.png
  37. BIN Sample.iOS/Assets.xcassets/AppIcon.appiconset/Icon29.png
  38. BIN Sample.iOS/Assets.xcassets/AppIcon.appiconset/Icon40.png
  39. BIN Sample.iOS/Assets.xcassets/AppIcon.appiconset/Icon58.png
  40. BIN Sample.iOS/Assets.xcassets/AppIcon.appiconset/Icon60.png
  41. BIN Sample.iOS/Assets.xcassets/AppIcon.appiconset/Icon76.png
  42. BIN Sample.iOS/Assets.xcassets/AppIcon.appiconset/Icon80.png
  43. BIN Sample.iOS/Assets.xcassets/AppIcon.appiconset/Icon87.png
  44. +0 −7 Sample.iOS/Entitlements.plist
  45. +0 −38 Sample.iOS/Info.plist
  46. +0 −20 Sample.iOS/Main.cs
  47. +0 −36 Sample.iOS/Properties/AssemblyInfo.cs
  48. BIN Sample.iOS/Resources/Default-568h@2x.png
  49. BIN Sample.iOS/Resources/Default-Portrait.png
  50. BIN Sample.iOS/Resources/Default-Portrait@2x.png
  51. BIN Sample.iOS/Resources/Default.png
  52. BIN Sample.iOS/Resources/Default@2x.png
  53. +0 −39 Sample.iOS/Resources/LaunchScreen.storyboard
  54. +0 −165 Sample.iOS/Sample.iOS.csproj
  55. +0 −34 Sample/App.cs
  56. +0 −14 Sample/Sample.projitems
  57. +0 −11 Sample/Sample.shproj
  58. +0 −26 XFormsTouch.Droid/Properties/AssemblyInfo.cs
  59. +0 −146 XFormsTouch.Droid/XFormsTouch.Droid.csproj
  60. +0 −24 XFormsTouch.Droid/packages.config
  61. +0 −26 XFormsTouch.Net/Properties/AssemblyInfo.cs
  62. +0 −53 XFormsTouch.Net/XFormsTouch.Net.csproj
  63. +0 −5 XFormsTouch.Net/packages.config
  64. +0 −9 XFormsTouch.NuGet/XFormsTouch.NuGet.nuget.props
  65. +0 −9 XFormsTouch.NuGet/XFormsTouch.NuGet.nuget.targets
  66. +0 −67 XFormsTouch.NuGet/XFormsTouch.NuGet.nuproj
  67. +0 −24 XFormsTouch.Shared/TouchActionEventArgs.cs
  68. +0 −4 XFormsTouch.Shared/TouchActionEventHandler.cs
  69. +0 −12 XFormsTouch.Shared/TouchActionType.cs
  70. +0 −20 XFormsTouch.Shared/TouchEffect.cs
  71. +0 −17 XFormsTouch.Shared/XFormsTouch.Shared.projitems
  72. +0 −11 XFormsTouch.Shared/XFormsTouch.Shared.shproj
  73. +0 −26 XFormsTouch.iOS/Properties/AssemblyInfo.cs
  74. +0 −72 XFormsTouch.iOS/XFormsTouch.iOS.csproj
  75. +0 −5 XFormsTouch.iOS/packages.config
  76. +13 −113 XFormsTouch.sln
  77. +27 −0 XFormsTouch/Properties/AssemblyInfo.cs
  78. +50 −0 XFormsTouch/TouchActionEventArgs.cs
  79. +9 −0 XFormsTouch/TouchActionEventHandler.cs
  80. +38 −0 XFormsTouch/TouchActionType.cs
  81. +55 −50 XFormsTouch.Droid/TouchEffect.Droid.cs → XFormsTouch/TouchEffect.android.cs
  82. +38 −0 XFormsTouch/TouchEffect.cs
  83. +12 −8 XFormsTouch.iOS/TouchEffect.iOS.cs → XFormsTouch/TouchEffect.ios.cs
  84. +43 −43 XFormsTouch.iOS/TouchRecognizer.cs → XFormsTouch/TouchRecognizer.ios.cs
  85. +63 −0 XFormsTouch/XFormsTouch.csproj
  86. +190 −0 build.cake
  87. +181 −21 build.sh
  88. +8 −0 global.json
  89. +1 −0 LICENSE → license.md
  90. 0 NOTICE → notice.md
  91. +14 −0 stylecop.json
  92. +89 −0 stylecop.ruleset
  93. +4 −0 tools/packages.config
  94. +7 −0 version.json
12 changes: 12 additions & 0 deletions .config/dotnet-tools.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"version": 1,
"isRoot": true,
"tools": {
"cake.tool": {
"version": "1.1.0",
"commands": [
"dotnet-cake"
]
}
}
}
34 changes: 34 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Deploy

on:
workflow_dispatch:

jobs:
deploy:
runs-on: macos-latest

steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0

- name: Set default Xamarin SDK versions
run: |
$VM_ASSETS/select-xamarin-sdk-v2.sh --mono=6.12 --ios=15.4 --android=12.0
- name: Set default Xcode 13.2
run: |
XCODE_ROOT=/Applications/Xcode_13.2.0.app
echo "MD_APPLE_SDK_ROOT=$XCODE_ROOT" >> $GITHUB_ENV
sudo xcode-select -s $XCODE_ROOT
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: 6.0.x

- name: Deploy to NuGet
env:
FLOAT_NUGET_TOKEN: ${{ secrets.FLOAT_NUGET_TOKEN }}
run: |
./build.sh --task=Deploy --configuration=Release --nugetUrl="https://api.nuget.org/v3/index.json" --nugetToken="${FLOAT_NUGET_TOKEN}"
34 changes: 34 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Test

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
test:
runs-on: macos-latest

steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0

- name: Set default Xamarin SDK versions
run: |
$VM_ASSETS/select-xamarin-sdk-v2.sh --mono=6.12 --ios=15.4 --android=12.0
- name: Set default Xcode 13.2
run: |
XCODE_ROOT=/Applications/Xcode_13.2.0.app
echo "MD_APPLE_SDK_ROOT=$XCODE_ROOT" >> $GITHUB_ENV
sudo xcode-select -s $XCODE_ROOT
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: 6.0.x

- name: Test
run: ./build.sh
11 changes: 10 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -27,7 +27,6 @@ autom4te.cache/
tarballs/
test-results/
Thumbs.db
.vs/

# Mac bundle stuff
*.dmg
@@ -39,3 +38,13 @@ Thumbs.db

# dotCover
*.dotCover
TestResult.xml
Resource.designer.cs
.vs

.vscode
*/coverage.*.xml

#Cake
tools/*
!tools/packages.config
21 changes: 19 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# XFormsTouch
# Float.XFormsTouch [![Test](https://github.com/gowithfloat/Float.XFormsTouch/actions/workflows/test.yml/badge.svg)](https://github.com/gowithfloat/Float.XFormsTouch/actions/workflows/test.yml) [![NuGet](https://img.shields.io/nuget/v/Float.XFormsTouch)](https://www.nuget.org/packages/Float.XFormsTouch/)

This NuGet library provides touch event notifications for Android and iOS via Xamarin.Forms.Effect mechanism as shown in one of the xamarin samples.

@@ -7,7 +7,6 @@ Xamarin explains how it works at https://docs.microsoft.com/en-us/xamarin/xamari

Original copyright is owned by Xamarin Inc (see LICENSE and NOTICE).


## Example

```csharp
@@ -33,3 +32,21 @@ public class App : Application
}
}
```
## Building

This project can be built using [Visual Studio for Mac](https://visualstudio.microsoft.com/vs/mac/) or [Cake](https://cakebuild.net/). It is recommended that you build this project by invoking the boostrap script:

./build.sh

There are a number of optional arguments that can be provided to the bootstrapper that will be parsed and passed on to Cake itself. See the [Cake build file](./build.cake) in order to identify all supported parameters.

./build.sh \
--task=Build \
--projectName=Float.XFormsTouch \
--configuration=Debug \
--nugetUrl=https://nuget.org \
--nugetToken=####

## License

All content in this repository is shared under an Apache 2.0 license. See [license.md](./license.md) for details.
19 changes: 0 additions & 19 deletions Sample.Android/Assets/AboutAssets.txt

This file was deleted.

27 changes: 0 additions & 27 deletions Sample.Android/MainActivity.cs

This file was deleted.

6 changes: 0 additions & 6 deletions Sample.Android/Properties/AndroidManifest.xml

This file was deleted.

34 changes: 0 additions & 34 deletions Sample.Android/Properties/AssemblyInfo.cs

This file was deleted.

50 changes: 0 additions & 50 deletions Sample.Android/Resources/AboutResources.txt

This file was deleted.

Loading