I rarely post on this channel. But, felt compelled to today. Paul, thank you. I had long admired your blog and channel. So in lockdown, this content has been so bloody good and a nice diversion. Again, THANK YOU. ❤️
Thanks so much Paul, I have been looking for an example like this. You are very good and teaching new techniques while working through the app. I am starting to get swiftUI by working through the examples with you.
Sir, the link for assets Please, I missed the live stream. Exactly for an educational reason, I was teaching my little cousin some maths, Negative subtraction to be specific. If i could build anything related to that using SwiftUI.. Oh Gosh!! You are a Swift Ninja, sharing swift skills to awesome apple developer community. 🙏🏼🇳🇵
Hello Paul. What a great tutorial. And how things, which could seem complicated, become so easy to implement with you. I have one question on this tutorial: I see that you have some functions within your ContentView to manage the game logic and manage the game state. This game is pretty straightforward. However, if we would like to extend this game with extra features (score, highest scores, players, etc.), wouldn't it be useful to have a data model to encapsulate that game logic/state management? If yes, what would be the most appropriate model: A class? A structure? Would that make sense that it encapsulates the deck? Would that be injected into the environment so that it is available within the entire app or by using other mechanism?
Great tutorial! Was wondering how to do a card flip actually. I noticed you got stuck in CAPS a lot. I have that issue with the MacBook Pro butterfly keyboard. Cannot seem to get used to the key spacing even after a year. You having the same issue or was it something else? 🤔😅
Can anyone answer this please. Why does Codable (or maybe its JSONDecode) require let over var defined variables? I kept getting a fatalerror from the bundle decode extension that was demoed, it was failing on the var loaded try blocked. It turns out I used var instead of let when I defined the struct Card.
Hi Paul, thank you for all your videos and especially for the tip with opacity changing from -1 to 1 in the flip animation in this one. I was looking for weeks for a solution to prevent visibility of the front side before the card is turned 90 degrees. Your solution is already much better, though the opacity of the front still animates during the flip animation. I was not able to find a solution where the front is always 100% opaque and the card only turns. Even using transitions I did not get it right. Any ideas?
I just found out, how to do that: Change Opacity between -100 and 100, so it is below zero (invisible) for the first half of the animation and almost immediately above 1 (opaque) for the second half. It's another hack, but it works. Thanks again for the nudge in the right direction.
Hey, sir. As of now for some reason I can't add LinearGradient to ZStack, compiler says "Unable to infer complex closure return type; add explicit type to disambiguate" :(
i trying to replace the blue background by a jpeg to personalize the back of my card but im struggling, i tried many things like for example : to replace .fill(Color.blue) by background(Image("myPics") but doesn't work. someone can help me with that
Hi Paul, could you please enlighten us about SpriteKit? Is it dead because of swiftui? I would love to see you do a demo and setup of spritkit with swiftui. Thanks
I rarely post on this channel.
But, felt compelled to today. Paul, thank you. I had long admired your blog and channel. So in lockdown, this content has been so bloody good and a nice diversion.
Again, THANK YOU. ❤️
Thank you Paul , this has been a pleasure to follow
Kids coming in between with dogs was so sweet
Can't believe this video has only 900 likes, while other useless vids have millions !!!... you're awesome dude
Cheers Paul, enjoyed following along creating the project.
Great job and great app to start tinkering with
Thanks so much Paul, I have been looking for an example like this. You are very good and teaching new techniques while working through the app. I am starting to get swiftUI by working through the examples with you.
Sir, the link for assets Please, I missed the live stream.
Exactly for an educational reason, I was teaching my little cousin some maths, Negative subtraction to be specific.
If i could build anything related to that using SwiftUI.. Oh Gosh!! You are a Swift Ninja, sharing swift skills to awesome apple developer community. 🙏🏼🇳🇵
www.hackingwithswift.com/samples/pairs.zip
This was the original link
Thanks paul, keep it up
What streaming software are you using? The quality is fantastic! Thanks for putting this together 😊
Hello Paul. What a great tutorial. And how things, which could seem complicated, become so easy to implement with you. I have one question on this tutorial: I see that you have some functions within your ContentView to manage the game logic and manage the game state. This game is pretty straightforward. However, if we would like to extend this game with extra features (score, highest scores, players, etc.), wouldn't it be useful to have a data model to encapsulate that game logic/state management? If yes, what would be the most appropriate model: A class? A structure? Would that make sense that it encapsulates the deck? Would that be injected into the environment so that it is available within the entire app or by using other mechanism?
Great tutorial! Was wondering how to do a card flip actually. I noticed you got stuck in CAPS a lot. I have that issue with the MacBook Pro butterfly keyboard. Cannot seem to get used to the key spacing even after a year. You having the same issue or was it something else? 🤔😅
Very nice video Paul. By the way, there shouldn't be any comma before "and". That's valid in English and in French too ... "Harry, Hermione et Ron" 😉
Can anyone answer this please. Why does Codable (or maybe its JSONDecode) require let over var defined variables? I kept getting a fatalerror from the bundle decode extension that was demoed, it was failing on the var loaded try blocked. It turns out I used var instead of let when I defined the struct Card.
Wow this is great! Can I run a mac application on my phhone?
Hi Paul,
thank you for all your videos and especially for the tip with opacity changing from -1 to 1 in the flip animation in this one.
I was looking for weeks for a solution to prevent visibility of the front side before the card is turned 90 degrees. Your solution is already much better, though the opacity of the front still animates during the flip animation.
I was not able to find a solution where the front is always 100% opaque and the card only turns. Even using transitions I did not get it right. Any ideas?
I just found out, how to do that: Change Opacity between -100 and 100, so it is below zero (invisible) for the first half of the animation and almost immediately above 1 (opaque) for the second half. It's another hack, but it works. Thanks again for the nudge in the right direction.
Hey, sir. As of now for some reason I can't add LinearGradient to ZStack, compiler says "Unable to infer complex closure return type; add explicit type to disambiguate" :(
Oh, nevermind, Im just stupid it looks like
Awesome!
i trying to replace the blue background by a jpeg to personalize the back of my card but im struggling, i tried many things like for example : to replace .fill(Color.blue) by background(Image("myPics") but doesn't work. someone can help me with that
Simply awesome
can you provide me github link?
Hi Paul, could you please enlighten us about SpriteKit? Is it dead because of swiftui? I would love to see you do a demo and setup of spritkit with swiftui. Thanks
Hahahaha.... "Just scroll back on my twitter feed and you'll figure it out." Some people want to be spoon fed.
no "walking thru" anyone, how about "share" what you learned with others?
The elastic aunt genomically trot because money preclinically coil except a aboriginal dahlia. smart, honorable laugh