Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build issues - Swipe Gesture example does not show - most (maybe all) examples are empty #25

Open
bertbeck opened this issue Oct 21, 2015 · 4 comments

Comments

@bertbeck
Copy link

Android version has compile errors.

For IOS - had to remove this linker option:
-gcc_flags "-F/Applications/Reveal.app/Contents/SharedSupport/iOS-Libraries -all_load -ObjC -framework Reveal -framework QuartzCore -framework CFNetwork"

I'm am trying to use/understand the swipegesture Forms
sample - when I run the IOS sample and click on Swipe - nothing happens. I trace the code - seems to call InitializeComponent() and controls seem to be initialized - but no nav page shows up - and no exceptions. I'm using Xamarin Studio Stable release, building on a Mac, Xcode 6.4

screen shot 2015-10-21 at 3 58 57 pm

After further investigation - I trimmed the SwipeGestureExample.xaml to just the swipe left label and then commented out:

        <!--Label.GestureRecognizers>
            <gestures:SwipeGestureRecognizer
                Direction="Left"
                OnAction="OnAction" />
        </Label.GestureRecognizers-->

The page now comes up. Looks like the instantiation of gestures is somehow failing silently.

My shortened xaml is:








@georgejecook
Copy link
Collaborator

sorry about the reveal link. that’s an oversight on my part.

  1. I don’t understand your iOS issue (can you give me a screen grab/video?)
  2. Why are you building the droid class for the iOS build?

I’ll take a look at this, this evening - with a fresh clone, perhaps I’ve got some files missing.

On Oct 21, 2015, at 3:07 PM, bertbeck notifications@github.com wrote:

Android version has compile errors.

For IOS - had to remove this linker option:
-gcc_flags "-F/Applications/Reveal.app/Contents/SharedSupport/iOS-Libraries -all_load -ObjC -framework Reveal -framework QuartzCore -framework CFNetwork"

I'm am trying to use/understand the swipegesture Forms
sample - when I run the IOS sample and click on Swipe - nothing happens. I trace the code - seems to calls InitializeComponent() and controls seem to be initialized - but no nav page shows up - and no exceptions. I'm using Xamarin Studio Stable release, building on a Mac, Xcode 6.4

https://cloud.githubusercontent.com/assets/6159170/10648654/a52e9110-780d-11e5-9d01-70d34b1252af.png

Reply to this email directly or view it on GitHub #25.

@bertbeck
Copy link
Author

Hi-

I'll see if I can send a screencast - but very simply - SwipeGestureExample
doesn't work (running the IOS project). If you click on "Swipe" in the
sample app, nothing happens. If I remove the references to the gestures in
the xaml - clicking on "Swipe" will show the page (but I've removed the
gestures).

My first step was to just build the whole solution - and the Android build
had the errors I posted - that's why I posted them. I build Android because
it was part of the solution and because I'll need Android swipe capability
as well.

Then I tried the IOS project - it had build errors also - because of the
linker setting in my post. I removed the linker reference to Reveal.app
and then IOS built ok. So then I tried running the IOS sample. When I do
this - most if not all samples don't work. It looks like they fail to
initialize in the gesture constructors. I've been stepping through the code
and see that BaseGestureRecognizer.State is set to Failed in the code
below. I'm thinking this might be related to the problem.

[image: Inline image 1]

thanks for your help.

On Wed, Oct 21, 2015 at 6:00 PM, George Cook notifications@github.com
wrote:

sorry about the reveal link. that’s an oversight on my part.

  1. I don’t understand your iOS issue (can you give me a screen grab/video?)
  2. Why are you building the droid class for the iOS build?

I’ll take a look at this, this evening - with a fresh clone, perhaps I’ve
got some files missing.

On Oct 21, 2015, at 3:07 PM, bertbeck notifications@github.com wrote:

Android version has compile errors.

For IOS - had to remove this linker option:
-gcc_flags
"-F/Applications/Reveal.app/Contents/SharedSupport/iOS-Libraries -all_load
-ObjC -framework Reveal -framework QuartzCore -framework CFNetwork"

I'm am trying to use/understand the swipegesture Forms
sample - when I run the IOS sample and click on Swipe - nothing happens.
I trace the code - seems to calls InitializeComponent() and controls seem
to be initialized - but no nav page shows up - and no exceptions. I'm using
Xamarin Studio Stable release, building on a Mac, Xcode 6.4

<
https://cloud.githubusercontent.com/assets/6159170/10648654/a52e9110-780d-11e5-9d01-70d34b1252af.png


Reply to this email directly or view it on GitHub <
https://github.com/twintechs/TwinTechsFormsLib/issues/25>.


Reply to this email directly or view it on GitHub
#25 (comment)
.

@bertbeck
Copy link
Author

Here's the screencast

On Wed, Oct 21, 2015 at 6:52 PM, Bert Beckmann bertbeck@gmail.com wrote:

Hi-

I'll see if I can send a screencast - but very simply -
SwipeGestureExample doesn't work (running the IOS project). If you click on
"Swipe" in the sample app, nothing happens. If I remove the references to
the gestures in the xaml - clicking on "Swipe" will show the page (but I've
removed the gestures).

My first step was to just build the whole solution - and the Android build
had the errors I posted - that's why I posted them. I build Android because
it was part of the solution and because I'll need Android swipe capability
as well.

Then I tried the IOS project - it had build errors also - because of the
linker setting in my post. I removed the linker reference to Reveal.app
and then IOS built ok. So then I tried running the IOS sample. When I do
this - most if not all samples don't work. It looks like they fail to
initialize in the gesture constructors. I've been stepping through the code
and see that BaseGestureRecognizer.State is set to Failed in the code
below. I'm thinking this might be related to the problem.

[image: Inline image 1]

thanks for your help.

On Wed, Oct 21, 2015 at 6:00 PM, George Cook notifications@github.com
wrote:

sorry about the reveal link. that’s an oversight on my part.

  1. I don’t understand your iOS issue (can you give me a screen
    grab/video?)
  2. Why are you building the droid class for the iOS build?

I’ll take a look at this, this evening - with a fresh clone, perhaps I’ve
got some files missing.

On Oct 21, 2015, at 3:07 PM, bertbeck notifications@github.com wrote:

Android version has compile errors.

For IOS - had to remove this linker option:
-gcc_flags
"-F/Applications/Reveal.app/Contents/SharedSupport/iOS-Libraries -all_load
-ObjC -framework Reveal -framework QuartzCore -framework CFNetwork"

I'm am trying to use/understand the swipegesture Forms
sample - when I run the IOS sample and click on Swipe - nothing
happens. I trace the code - seems to calls InitializeComponent() and
controls seem to be initialized - but no nav page shows up - and no
exceptions. I'm using Xamarin Studio Stable release, building on a Mac,
Xcode 6.4

<
https://cloud.githubusercontent.com/assets/6159170/10648654/a52e9110-780d-11e5-9d01-70d34b1252af.png


Reply to this email directly or view it on GitHub <
https://github.com/twintechs/TwinTechsFormsLib/issues/25>.


Reply to this email directly or view it on GitHub
#25 (comment)
.

@bertbeck
Copy link
Author

I'm seeing this:

[image: Inline image 1]

On Wed, Oct 21, 2015 at 8:48 PM, Bert Beckmann bertbeck@gmail.com wrote:

Here's the screencast

On Wed, Oct 21, 2015 at 6:52 PM, Bert Beckmann bertbeck@gmail.com wrote:

Hi-

I'll see if I can send a screencast - but very simply -
SwipeGestureExample doesn't work (running the IOS project). If you click on
"Swipe" in the sample app, nothing happens. If I remove the references to
the gestures in the xaml - clicking on "Swipe" will show the page (but I've
removed the gestures).

My first step was to just build the whole solution - and the Android
build had the errors I posted - that's why I posted them. I build Android
because it was part of the solution and because I'll need Android swipe
capability as well.

Then I tried the IOS project - it had build errors also - because of the
linker setting in my post. I removed the linker reference to Reveal.app
and then IOS built ok. So then I tried running the IOS sample. When I do
this - most if not all samples don't work. It looks like they fail to
initialize in the gesture constructors. I've been stepping through the code
and see that BaseGestureRecognizer.State is set to Failed in the code
below. I'm thinking this might be related to the problem.

[image: Inline image 1]

thanks for your help.

On Wed, Oct 21, 2015 at 6:00 PM, George Cook notifications@github.com
wrote:

sorry about the reveal link. that’s an oversight on my part.

  1. I don’t understand your iOS issue (can you give me a screen
    grab/video?)
  2. Why are you building the droid class for the iOS build?

I’ll take a look at this, this evening - with a fresh clone, perhaps
I’ve got some files missing.

On Oct 21, 2015, at 3:07 PM, bertbeck notifications@github.com
wrote:

Android version has compile errors.

For IOS - had to remove this linker option:
-gcc_flags
"-F/Applications/Reveal.app/Contents/SharedSupport/iOS-Libraries -all_load
-ObjC -framework Reveal -framework QuartzCore -framework CFNetwork"

I'm am trying to use/understand the swipegesture Forms
sample - when I run the IOS sample and click on Swipe - nothing
happens. I trace the code - seems to calls InitializeComponent() and
controls seem to be initialized - but no nav page shows up - and no
exceptions. I'm using Xamarin Studio Stable release, building on a Mac,
Xcode 6.4

<
https://cloud.githubusercontent.com/assets/6159170/10648654/a52e9110-780d-11e5-9d01-70d34b1252af.png


Reply to this email directly or view it on GitHub <
https://github.com/twintechs/TwinTechsFormsLib/issues/25>.


Reply to this email directly or view it on GitHub
#25 (comment)
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants