I new to iOS development. I working on CIFilters and I want to make custom filter using metal framework in iOS.
But I couldn't find any beginner level resources that could help me to understand the process step by step.
Is there any book/video tutorials or something that teaches Metal ?
Here you will find apple documentation, sample code, and videos. link
This website is will help you to understand metal: link
Metal in playground with Swift: link
Related
I just recently got started with he Google Cardboard SDK for iOS and I'm looking to create an simple app in Swift that displays a 3D (Stereoscopic) VR video.
First, I adapted the VideoWidgetDemo Sample in the SDK (https://github.com/googlevr/gvr-ios-sdk/tree/master/Samples/VideoWidgetDemo) from its original Objective C to Swift 4 and it performs well. It uses GVRKit to create a GVRSceneRenderer with a GVRVideoRenderer.
But then I came across a blog post on the Ray Wenderlich site (https://www.raywenderlich.com/136692/introduction-google-cardboard-ios) that uses GVRSDK's GVRVideoView instead, which feels simpler and easier to use. However, there is a very noticeable performance difference. The video displayed by this app stutters/jitters much more than the GVRKit version.
I'm puzzled by the fact that the official Google VR reference documentation site (https://developers.google.com/vr/ios/reference/) doesn't even mention GVRKit, even though all the official samples from the GitHub repo use it instead of GVRSDK. So the samples follow one approach and the reference docs cover a different one.
I haven't been able to find any guidance for when to use one or the other (or even both together if it makes sense), so I'm hoping that someone on StackOverflow can shed some light on this choice.
I'm also curios about the performance difference I'm experiencing with the two different approaches. It would be great if there is a way to achieve the same level of performance with the GVRVideoView than with the GVRVideoRenderer.
Thanks in advance for your insights and suggestions.
Seem that the SDK is deprecated.
I've posted an issue about a GVRSDK on GitHub, and they say that the SDK is deprecated and developer have to switch to GVRKIT.
Here the GitHub issue:
https://github.com/googlevr/gvr-ios-sdk/issues/298
If your goal is to display 360 video in a simple app, check this Cordova plugin:
https://codecanyon.net/item/cordova-ionic-vr-plugin-photo-360-video-360-player-with-cardboard/20392357
It seems that Google came up with a new SDK because Daydream is now deprecated.
The Google Cardboard SDK offers a streamlined API, improved device
compatibility, and built-in viewer profile QR code scanning.
Quickstart : https://developers.google.com/cardboard/develop/ios/quickstart
Github : https://github.com/googlevr/cardboard
I use Xcode 7.2 to develop an app. Now I want to study to test iOS. I read the test introduction from https://developer.apple.com/library/prerelease/watchos/documentation/DeveloperTools/Conceptual/testing_with_xcode/chapters/01-introduction.html#//apple_ref/doc/uid/TP40014132.
How can I learn more about XCTestCase?
You can find many tutorials over the internet.The following few tutorials may help you better understanding.
http://rshankar.com/test-driven-development-in-ios-beginners-tutorial-part-1/
http://rshankar.com/test-driven-development-in-ios-beginners-tutorial-part-2/
http://mobileoop.com/learning-unit-testing-in-xcode-5
http://nshipster.com/xctestcase/
raywenderlich and cocoacontrols are the most usefull website to learn anything about iOS.
I'am developing an iOS Application which is part of my graduation project & part of this application is based on Bluetooth communication.
But as I am new to Swift and have zero experience about Objective-C, I tried to find out where the documentation of Core Bluetooth is.
What i found is Objective-C based code documentation. So could you please suggest me where i can find this documentation, or where I can start?
Thanks in advance.
You can find it at the same site as the objective-c documentation.
Just click on a class, protocol etc. Then, on the top right corner of the page you see a menu where you can choose the Language. So by choosing Swift you will see the documentation with Swift code.
The apple developmer networks "Bluetooth for Developers" section provides tons of resources including documents, videos and sample code.
Another good starting point is Ray Wenderlich's "Introduction to Core Bluetooth: Building a Heart Rate Monitor"
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.
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.