cupertino_ffi 0.1.6 cupertino_ffi: ^0.1.6 copied to clipboard
A large number of APIs by Apple made available with 'dart:ffi'. Contains helpers for using any Objective-C library.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add cupertino_ffi
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
cupertino_ffi: ^0.1.6
Alternatively, your editor might support dart pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:cupertino_ffi/cloudkit.dart';
import 'package:cupertino_ffi/contacts.dart';
import 'package:cupertino_ffi/core_data.dart';
import 'package:cupertino_ffi/core_foundation.dart';
import 'package:cupertino_ffi/core_graphics.dart';
import 'package:cupertino_ffi/core_location.dart';
import 'package:cupertino_ffi/core_ml.dart';
import 'package:cupertino_ffi/core_spotlight.dart';
import 'package:cupertino_ffi/core_wlan.dart';
import 'package:cupertino_ffi/eventkit.dart';
import 'package:cupertino_ffi/foundation.dart';
import 'package:cupertino_ffi/homekit.dart';
import 'package:cupertino_ffi/modelio.dart';
import 'package:cupertino_ffi/natural_language.dart';
import 'package:cupertino_ffi/objc.dart';
import 'package:cupertino_ffi/objc_ffi_generator.dart';
import 'package:cupertino_ffi/objc_helpers.dart';
import 'package:cupertino_ffi/passkit.dart';
import 'package:cupertino_ffi/preferencepanes.dart';
import 'package:cupertino_ffi/safari_services.dart';
import 'package:cupertino_ffi/scenekit.dart';
import 'package:cupertino_ffi/security.dart';
import 'package:cupertino_ffi/social.dart';
import 'package:cupertino_ffi/speech.dart';
import 'package:cupertino_ffi/storekit.dart';
import 'package:cupertino_ffi/vision.dart';
import 'package:cupertino_ffi/webkit.dart';