Table of Contents

Native iOS Examples (C# / Mobile)

Overview

The examples in this section show how to use FlexCel with .NET for iOS (formerly Xamarin.iOS). Each demo uses UIKit with programmatic or storyboard-based layouts and targets net10.0-ios (iOS 13.0+).

Demos

Demo Description
FlexCalc Interactive spreadsheet calculator using FlexCel's formula engine with a native UITableView
LangWars Report generator that fetches Stack Overflow data and exports an Excel report to HTML, displayed in a WKWebView
FlexView Excel file viewer that opens .xls/.xlsx files from other apps, converts them to PDF, and displays them with zoom/pan support

Platform-Specific Notes

  • File storage: Bundled resources are accessed via NSBundle.MainBundle.BundlePath. Generated files are stored in Environment.SpecialFolder.InternetCache, which is appropriate for temporary/re-creatable content on iOS.
  • File sharing: Uses UIDocumentInteractionController to present the iOS share sheet for exporting generated files to other apps or for printing.
  • UI patterns: Uses programmatic Auto Layout with Safe Area guides for notch handling, and InvokeOnMainThread for thread-safe UI updates from async operations.

In this section