CascableCore is a commercial SDK for communicating with Wi-Fi enabled cameras from Canon, Fujifilm, Nikon, Olympus, Panasonic, and Sony. It provides a powerful yet easy-to-use API that supports all cameras — write code once, and you support over 200 different camera models!
This project is a demonstration of some of the basic features of CascableCore, including:
- Camera discovery and connection.
- Handling camera authentication prompts and unexpected disconnects.
- Showing the camera's viewfinder image stream, taking shots and displaying shot previews.
- Working with camera properties.
- Iterating the camera's filesystem, loading image metadata and thumbnails.
There are two separate iOS app targets in the demo project, both implementing the same app — one using Objective-C, and one using Swift. These targets can be built and run on iOS devices, the iOS simulator, and on the Mac via Catalyst. Note that connecting to cameras via USB isn't supported in the iOS simulator.
For a more thorough example of what CascableCore can do, see our apps at http://cascable.se — they're built with the same CascableCore available here.
For a more detailed overview of the CascableCore APIs, see the documentation in the CascableCore Distribution and CascableCoreSwift repositories.
-
First, clone this repo to your local machine.
-
Next, open the project in Xcode 15.0 or later. If Xcode doesn't update the CascableCore packages automatically, choose File -> Swift Packages -> Resolve Package Versions.
-
Build and run your target of choice.
If you're interested in licensing CascableCore, head over to our developer site and sign up for an account. From there you can fill out a request for an evaluation license — if we think CascableCore is a good fit for you, we'll send you an evaluation license.
Once you have your evaluation license, replace the CascableCoreLicense.h
, CascableCoreLicense.m
, and CascableCoreLicense.swift
files with it and the project will compile.
-
Our Getting Started With CascableCore document contains discussion about the CascableCore APIs and concepts in the order in which you're likely to encounter them. These APIs and concepts are equally important for both Objective-C and Swift developers.
-
API reference documentation for CascableCore can be found here.
-
If you're using CascableCore with Swift, we recommend that you use CascableCoreSwift, which adds a number of Swift-only APIs to CascableCore that make working with it easier.
This sample project is licensed under the MIT open source license, which means you can use the code in your own projects as long you provide attribution back to Cascable AB.
This license does not extend to the CascableCore framework itself, which will be covered under a separate license.