Fluent UI Apple contains native UIKit and AppKit controls aligned with Microsoft's Fluent UI design system.
To integrate FluentUI using SwiftUI, specify it as a dependency in your Xcode project or
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'
fluentui-applefolder into your project folder.
FluentUI.xcodeprojinto your Xcode project depending on which platform you want to support.
After the framework has been added you can import the module to use it:
Post bug reports, feature requests, and questions in Issues.
This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.
When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.
If you are using Apple Silicon M1 machine then you need to install
ffi in addition to CocoaPods. More details about the issue can be found here.
sudo arch -x86_64 gem install ffi
To execute any pod command on M1 machine you need to specify the architecture of the machine explicitly
arch -x86_64 pod lib lint
Fluent UI Apple requires all pull requests to come from forks of the repository. Please see Fork a Repo - GitHub Help for more details on how to set up a fork of Microsoft/fluentui-apple, keep it up-to-date, and submit pull requests back to this repository.
Fluent UI Apple doesn't have any external code dependencies, so developing in the repository is as easy as launching the appropriate Xcode project or workspace and building and running a test app.
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.
|Last commit: 17 hours ago|