hansemannn / Ios12 Carplay Example
Licence: mit
An example of using the CarPlay framework in iOS 12 and later.
Projects that are alternatives of or similar to Ios12 Carplay Example
Space rocksAsteroids-like game made with Godot Engine 3.0.
Stars: ✭ 20 (-51.22%)
Mutual labels: example
Kitchen In TravisChef cookbook example to run test-kitchen inside Travis CI.
Stars: ✭ 36 (-12.2%)
Mutual labels: example
Pwa ExampleA short example illustrating some essential steps for creating a progressive web app (PWA).
Stars: ✭ 28 (-31.71%)
Mutual labels: example
Suicrux🚀 Ultimate universal starter with lazy-loading, SSR and i18n. [not maintained]
Stars: ✭ 958 (+2236.59%)
Mutual labels: example
LimbobyexampleExamples for the Limbo Programming Language
Stars: ✭ 34 (-17.07%)
Mutual labels: example
Keras basickeras를 이용한 딥러닝 기초 학습
Stars: ✭ 39 (-4.88%)
Mutual labels: example
Pixar raytracerPorted to Rust from https://mattwarren.org/2019/03/01/Is-CSharp-a-low-level-language/
Stars: ✭ 31 (-24.39%)
Mutual labels: example
ElementarypythonPython application template for elementary OS.
Stars: ✭ 36 (-12.2%)
Mutual labels: example
Generals.io Node.js Bot ExampleAn example Node.js bot for generals.io. Learn more at http://dev.generals.io/api#tutorial
Stars: ✭ 28 (-31.71%)
Mutual labels: example
Extending TeaExample of an extension to The Elm Architecture
Stars: ✭ 30 (-26.83%)
Mutual labels: example
Rxjava Android SamplesLearning RxJava for Android by example
Stars: ✭ 7,520 (+18241.46%)
Mutual labels: example
Expo Chroma Key CameraLive green-screen effect with Expo and THREE.js
Stars: ✭ 28 (-31.71%)
Mutual labels: example
Figmagic ExampleUsing Figmagic (simplifying design token generation and asset extraction) with Webpack 5, React 16, Styled Components.
Stars: ✭ 37 (-9.76%)
Mutual labels: example
React Native Npm VersionExample of React-Native application with version from package.json and npm version bump.
Stars: ✭ 20 (-51.22%)
Mutual labels: example
AdhokkuA toy PaaS
Stars: ✭ 32 (-21.95%)
Mutual labels: example
Nwjs Edge Example1An example using Edge in NW.js directly from the DOM
Stars: ✭ 38 (-7.32%)
Mutual labels: example
Golang Docker Build TutorialA template project to create a minimal Docker image for a Go application
Stars: ✭ 36 (-12.2%)
Mutual labels: example
iOS 12 CarPlay Example
An example of using the CarPlay framework in iOS 12 and later.
Summary
This sample project uses the CarPlay
framework to start a simple navigation session
from your existing project. It utilizes the CPApplicationDelegate
to connect to your
car, CPInterfaceController
to attach your view controller and CPMapTemplate
to show
and example template as part of the "root template" of the controller.
Notes
Some general hints I have noticed so far:
- CarPlay works primarily in "templates", not "views" or "controllers". It means that you
cannot design your CarPlay screen like you would design your iOS app, but you need to provide
information that is then displayed in the related template.
- The connection is done via the
CPApplicationDelegate
delegate that inherits from the
UIApplicationDelegate
, so you usually handle it as part of your main app-delegate class.
- Once connected, you can push and pop templates like you would do with view controllers
- Data can be used by shared frameworks, networking or general persistence layer. In this
example, I simply persist an encoded dictionary of latitude and longitude pairs in the
UserDefaults
and grab it for my CarPlay connection once ready.
More?
Let me know if you have further questions! As of for now, this is a tiny example to get your
head around the whole framework, but it can be extended to show other template types like
lists, grids and UI elements like alerts and notifications.
Author
Hans Knöchel (@hansemannnn / Web)
License
MIT
Contributing
Code contributions are greatly appreciated, please submit a new Pull-Request!
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at
[email protected].