Files
Peter Foot 4bc5359bf0 Integrate IO Bluetooth work (#502)
* Rebuilt projects to build for .NET10.0

* Linker properties. Sample app replaced. Build/deploy confirmed

* wrapped NSDate properties with DateTime. Added documentation

* Added IOReturn constants and changed return types where appropriate. Split ApiDefinition into separate files for Bluetooth, Sdp, Obex and HandsFree to improve readability.

* string constants

* more refactoring and cleanup of API definitions. Updated project files with new NuGet properties for initial pre-release of 0.2

* Fixed delegate linker issue and continued with name updates

* async device methods

* Latest updates, naming etc and consistent return type for dialogs.

* More updates

---------

Co-authored-by: Peter Foot <sesa745161@se.com>
2026-08-10 16:55:05 +01:00

31 lines
751 B
C#

using System.Diagnostics;
using ObjCRuntime;
namespace IOBluetoothSample;
public partial class ViewController : NSViewController
{
protected ViewController(NativeHandle handle) : base(handle)
{
// This constructor is required if the view controller is loaded from a xib or a storyboard.
// Do not put any initialization here, use ViewDidLoad instead.
}
public override void ViewDidLoad()
{
base.ViewDidLoad();
// Do any additional setup after loading the view.
}
public override NSObject RepresentedObject
{
get => base.RepresentedObject;
set
{
base.RepresentedObject = value;
// Update the view, if already loaded.
}
}
}