Fluent UI Apple contains native UIKit and AppKit controls aligned with Microsoft's Fluent UI design system.
- iOS 14+ or macOS 10.14+
- Xcode 13+
- Swift 5.4+
To integrate FluentUI using SwiftUI, specify it as a dependency in your Xcode project or Package.swift
file:
dependencies: [
.package(url: "https://github.com/microsoft/fluentui-apple.git", .upToNextMinor(from: "X.X.X")),
],
To get set up with CocoaPods visit their getting started guide.
To integrate FluentUI into your Xcode project using CocoaPods, specify it in your Podfile:
pod 'MicrosoftFluentUI', '~> X.X.X'
- Download the latest changes from the FluentUI for Apple repository.
- Move the
fluentui-apple
folder into your project folder. - Move the relevant
FluentUI.xcodeproj
into your Xcode project depending on which platform you want to support. - In Xcode select your project -> your target -> General -> Embedded Binaries -> add
libFluentUI.a
.
After the framework has been added you can import the module to use it:
For Swift
import FluentUI
For Objective-C
#import <FluentUI/FluentUI-Swift.h>
For more platform-specific information, please see the iOS readme file and the the macOS readme file.
We use GitHub Releases to manage our releases, including the changelog between every release. You'll find a complete list of additions, fixes, and changes on the Releases page.
All files on the FluentUI Apple GitHub repository are subject to the MIT license. Please read the LICENSE file at the root of the project.
Usage of the logos and icons referenced in FluentUI Apple is subject to the terms of the assets license agreement.