Skip to content
Office UI Fabric for iOS - The front-end framework for building experiences for Office and Office 365
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.ado Merged PR 271755: Don't generate debug symbols for nuget publish builds May 21, 2019
OfficeUIFabric.Demo UIView extensions: removed safeAreaInsetsIfAvailable as not needed an… May 22, 2019
OfficeUIFabric.Resources Merged PR 260419: Resources in resource bundle Apr 24, 2019
OfficeUIFabric.Tests Merged PR 224715: MSDatePicker Range Support Apr 17, 2019
OfficeUIFabric.xcodeproj Merged PR 270368: MSBooleanCell, demo for other cells May 18, 2019
OfficeUIFabric.xcworkspace Merged PR 189673: MSDatePicker with modal support Oct 26, 2018
OfficeUIFabric UIView extensions: removed safeAreaInsetsIfAvailable as not needed an… May 22, 2019
metadata Merged PR 182791: Updated repo.json Sep 21, 2018
scripts Merged PR 259095: Preparation for build and release definitions that … Apr 20, 2019
.gitignore Merged PR 259095: Preparation for build and release definitions that … Apr 20, 2019
.npmrc Merged PR 259095: Preparation for build and release definitions that … Apr 20, 2019
.swiftlint.yml Merged PR 249256: Updated license information in source code headers Mar 28, 2019
CONTRIBUTING.md Create CONTRIBUTING.md Mar 29, 2019
LICENSE Updated LICENSE Mar 28, 2019
OfficeUIFabric.INT.podspec Changed version to 0.2.5 May 17, 2019
OfficeUIFabric.nuspec Merged PR 270780: Convert NuGet Package pipeline to Static Library May 21, 2019
OfficeUIFabric.podspec Changed version to 0.2.5 May 17, 2019
README.md Update README.md Apr 18, 2019
package-lock.json Merged PR 260115: Update "@office-iss/sdx-build-tools" to "0.5.124" s… Apr 23, 2019
package.json Merged PR 260115: Update "@office-iss/sdx-build-tools" to "0.5.124" s… Apr 23, 2019
vsto_publish_nuget.json Merged PR 259095: Preparation for build and release definitions that … Apr 20, 2019

README.md

Build status GitHub release

Office UI Fabric for iOS

The iOS UI framework for building experiences for Office and Office 365.

Office UI Fabric for iOS is a native library that provides the Office UI experience for the iOS platform. It contains information about colors and typography, as well as custom controls and customizations for platform controls, all from the official Fluent design language used in Office and Office 365 products.

Contents

Colors and Typography

Office UI Fabric for iOS provides colors and typography core to experiences within the Fluent Design language.

Controls

Office UI Fabric for iOS includes an expanding library of controls written in Swift and supporting Objective-C. These controls implement the Fluent Design language and provide consistency across Office experiences.

Some of the controls available include:

  • MSActivityIndicatorView
  • MSAvatarView
  • MSBadgeView
  • MSButton
  • MSDateTimePicker
  • MSDrawerController
  • MSHUD
  • MSLabel
  • MSPersonaListView
  • MSPopupMenuController
  • MSSegmentedControl
  • MSTableViewCell

A full list of currently supported controls can be found here: OfficeUIFabric.

Install and use Office UI Fabric

Requirements

  • iOS 11+
  • Xcode 10.2+
  • Swift 4.2+

1. Using CocoaPods

To get set up with CocoaPods visit their getting started guide.

To integrate Office UI Fabric for iOS into your Xcode project using CocoaPods, specify it in your Podfile:

pod 'OfficeUIFabric', '~> 0.2.0'

2. Manual installation

  • Download the latest changes from the Office UI Fabric for iOS repository.
  • Move the OfficeUIFabric folder into your project folder.
  • Move the OfficeUIFabric.xcodeproj into your Xcode project.
  • In Xcode select your project -> your target -> General -> Embedded Binaries -> add OfficeUIFabric.framework.

Import and use the library

After the framework has been added you can import the library to use it:

import OfficeUIFabric

Demo app

Included in this repository is a demo of currently implemented controls. A full list of implemented controls available in the demo can be found here: Demos.

To build and deploy the demo follow these steps:

  • Download or clone the Office UI Fabric for iOS repository.
  • Open OfficeUIFabric.xcworkspace in Xcode.
  • In the Xcode scheme menu choose Demo.development and choose a device to deploy to.
  • Once deployed you can choose a control to demo from the list of controls on the selected device.

Contributing

Post bug reports, feature requests, and questions in Issues.

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 Office UI Fabric for iOS GitHub repository are subject to the MIT license. Please read the LICENSE file at the root of the project.

You can’t perform that action at this time.