UIKit and AppKit controls for building native Microsoft experiences
Перейти к файлу
Harrie Shin 898c071a2b
bug fixes on colors around drawercontroller and bottomsheet (#1573)
*BottomSheet in darkmode uses darkelevated. so using just alias background 2 isn't goodenough
*Badgefield and people picker rest state on darkmode seems to be not correct
*bottomsheet demo color on darkmode should be more consistent
*light mode default style badgeview(branding color) should have its own disabled color that is branding color
*bottomcommandingbar headerfooterview color in darkmode didn't seem right.
2023-02-14 15:09:37 -08:00
.github Disable trigger for size comparison action (#1548) 2023-02-06 15:12:36 -08:00
apple/FluentUI-All.xcworkspace remove color asset catalog from iOS resource bundle (#1544) 2023-02-06 12:11:21 -08:00
ios bug fixes on colors around drawercontroller and bottomsheet (#1573) 2023-02-14 15:09:37 -08:00
macos [XCUITests] Test cleanup (#1546) 2023-02-06 14:44:57 -08:00
public
scripts update xcode version to 14.1 for ci (#1371) (#1378) 2022-11-16 21:55:35 -08:00
.gitignore
.swiftlint.yml address all the swiftlint errors (#1129) 2022-08-03 14:59:45 -07:00
CODE_OF_CONDUCT.md
CONTRIBUTING.md separate out Contributing guide from ReadMe.md . (#961) 2022-04-08 12:01:19 -07:00
FluentUI.nuspec
LICENSE
MicrosoftFluentUI.podspec remove color asset catalog from iOS resource bundle (#1544) 2023-02-06 12:11:21 -08:00
Package.swift remove color asset catalog from iOS resource bundle (#1544) 2023-02-06 12:11:21 -08:00
README.md Revert "Drop support for iOS 14 and remove availability checks (#1357)" (#1383) 2022-11-18 15:58:38 -08:00
SECURITY.md

README.md

Fluent UI Apple

Fluent UI Apple contains native UIKit and AppKit controls aligned with Microsoft's Fluent UI design system.

Build Status Localization Status CocoaPod Publishing Build Status License CocoaPods Compatible Platform

Getting Started

Install and use FluentUI

Requirements

  • iOS 14+ or macOS 10.15+
  • Xcode 14+
  • Swift 5.7+

Using Swift Package Manager

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")),
],

Using CocoaPods

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'

Manual installation

  • Download the latest changes from the FluentUI for Apple repository.
  • Move the fluentui-apple folder into your project folder.
  • For iOS platform
    • Move ios/FluentUI.xcodeproj into your Xcode project.
    • In Xcode select your project -> your target -> "General" -> "Frameworks, Libraries, and Embedded Content" -> add libFluentUI.a.
    • In Xcode select your project -> your target -> "Build Phases" -> "Copy Bundle Resources" -> add FluentUIResources-ios.bundle.
  • For macOS platform
    • Move macos/xcode/FluentUI.xcodeproj into your Xcode project.
    • In Xcode select your project -> your target -> "General" -> "Frameworks, Libraries, and Embedded Content" -> add FluentUI.framework.

Import and use FluentUI

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>

List of Available Controls

For more platform-specific information, please see the iOS readme file and the the macOS readme file.

Changelog

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.

License

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.