UIKit and AppKit controls for building native Microsoft experiences
Перейти к файлу
Jeanie Huynh 9f30175d1a Remove legacy notification view (#980)
* Transition UIKit Demo Controller to use SwiftUI Notification

* Let UIKit size itself independently

* Remove UIKit implementation and resolve comments

* Move xcflielist and update podspec

* Move xcfilelist into Notification folder

* Move override tokens to modifiers, reorder files to alphabetize, and add comments

(cherry picked from commit 1d9b1c7dcd)
2022-06-21 18:45:25 -07:00
.ado Update to build on the latest macOS 12 image using Xcode 13.3. (#956) 2022-04-14 10:19:17 -07:00
.github Update ci.yml (#1018) 2022-06-20 21:51:34 +00:00
apple Tokenize NotificationView (#715) 2022-06-21 16:47:30 -07:00
ios Remove legacy notification view (#980) 2022-06-21 18:45:25 -07:00
macos Bumping versions for FluentUI release (0.5.1). (#1010) 2022-06-15 15:51:38 -07:00
public Basic support for Swift Package Manager (#631) 2021-07-15 13:01:41 -07:00
scripts Update to build on the latest macOS 12 image using Xcode 13.3. (#956) 2022-04-14 10:19:17 -07:00
.gitignore Basic support for Swift Package Manager (#631) 2021-07-15 13:01:41 -07:00
.swiftlint.yml Adding swiftLint as a build step in CI (#486) 2021-03-30 13:12:55 -07:00
CODE_OF_CONDUCT.md Initial CODE_OF_CONDUCT.md commit 2020-03-24 14:48:14 -07:00
CONTRIBUTING.md separate out Contributing guide from ReadMe.md . (#961) 2022-04-08 12:01:19 -07:00
FluentUI.nuspec [Package Management] Enable internal NuGet publishing pipeline (#23) 2020-04-20 16:53:48 -07:00
LICENSE Initial LICENSE commit 2020-03-24 14:48:16 -07:00
MicrosoftFluentUI.podspec Remove legacy notification view (#980) 2022-06-21 18:45:25 -07:00
Package.swift Remove exclude for Info.plist (#922) 2022-02-23 09:21:18 -08:00
README.md separate out Contributing guide from ReadMe.md . (#961) 2022-04-08 12:01:19 -07:00
SECURITY.md Initial SECURITY.md commit 2020-03-24 14:48:19 -07:00

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.14+
  • Xcode 13+
  • Swift 5.4+

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.
  • 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.

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.