Swift OpenGL ES app template? - ios

I've been looking at a lot of tutorials trying to find a way to make an OpenGL app written in Swift, but I can't seem to find a good template to use.
Most tutorials suggest using a blank one, but then I have to write a ton of files (such as AppDelegate) all from scratch, which I have no clue how to do.
I tried all the links on this, but the first one doesn't even work and the second one is in Objective-C.
Anyone have anything that might help me?

I ended up figuring it out myself by using GLKit and smashing together old tutorials. Since OpenGL is just a bunch of functions, all you really need to do is find the right parameters for your programming language.
For anyone else trying to do this, there's some fairly useful resources here and here, and it's also useful to shove in some ported code from Ray Wenderlich if you get stuck. Good luck!

Related

Audiokit create a blank sequence

I'm new to AudioKit (and Mac programming in general) but hopefully what I want to do is quite simple - the cookbook and documentation allude to the way forward, but don't give me exactly what I'm after.
I want to create a Midi Sequence from scratch and then play and save it. All the examples I've seen load in a file first and then play it, and the one example I saw which did what I wanted was full of deprecated code :(
If anyone could provide some code or point me in the direction of some working code (latest build 27/05/22) I would be so grateful.
Thanks in advance,
Jes

SwiftUi ARKit measurements

Sorry I am pretty inexperienced with ARKit. I am working on an app and it will have more features later but the first step would basically be recreating the measure app that is included with iOS. I have looked at the documentation that Apple gives and most of it is for stuff like face tracking, object detection, or image tracking. I wasn't sure exactly where to start. The rest of the existing code I have now is written in SwiftUI if that matters. Thank you!
Understand that it can be quite confusing in the beginning. I would recommend to walk throught the toruial at raywenderlich.com. This toturial from Codestars on Youtube is also very good if you like to listen and watch instead of reading. Both talks go throught a lot of important parts of ARKit so I really recomend it. After that you problably have a create understanding and you clould watch Apples WWDC2019 talk What's new in ARKit 3.
Hope I understood your question correctly and please reach out if you have any questions or other concerns.

Implementing Google Play Games Services in Swift

Hello fellow developers :)
I have been trying to implement Google Play Games Services in my newest app project, but find myself being completely lost. I find GMS to be quite complicated and therefore need some sort of tutorial to stand a chance.
Unfortunately the official guide on Googles websites (https://developers.google.com/games/services/ios/quickstart) only describes the setup process for Objective-C.
My question is therefore, as ambiguous as is, if anyone knows anything that could help me implement GMS. This includes links to tutorials, code-snippets, personal tips, or anything else that could come in handy.
And yes, I am aware that questions like these are often frowned upon due to their ambiguous nature. What must be understood is that this question is a desperate last attempt before giving up and going with GameCenter instead. I simply have not found the information needed anywhere else.
Thank you! :)
You may need to use a bridging header for this. Check out the following link by gguuss in GitHub: http://github.com/gguuss/gplus-ios-swift.

How to use OpenGL in Xcode 5

I am trying to figure out how to use OpenGL in Xcode five but I cannot figure it out. Is there a relatively good tutorial out there to help with this? I am not looking for the best opinions. I am just looking for a list of some that might help. I have found a couple but they seem to be outdated. Thanks.
This link will give you a basic tutorial in how to get started on OpenGLES 2.0 on iOS.
It goes over the basic principles of vertex and fragment shaders. It also goes through the creation of objects, and some basic animations.

Is there any good Tutorial or a Reference to cocos3d

Cocos3d looks like a good 3d library to work with in IOS, but it stills in beta, and the
documentation provided on the brenwill site is really not enough to
understand how to work with it, it's just a guide about the classes no tutorial, and i have been searching the web for quit some time without any luck for even something close to a tutorial. Does anyone know from where i can learn this framework?
You should have a look at the CC3DemoMashup project that comes with the framework when you download it. It demonstrates how to use many of the key features of cocos3d, and is well documented.

Resources