summaryrefslogtreecommitdiff
path: root/CocoaSharp/UIKit/Protocols/UILayoutSupport.cs
blob: aca456b6b8e6c128492ba5d92d1dbba3574a06a8 (plain)
1
using ObjectiveC;
using System;
using SharpSwift.Attributes;
using System.Collections.Generic;
using Foundation;
using CoreGraphics;

namespace UIKit
{
    /// <summary>
    /// This protocol is implemented by the UIViewController properties topLayoutGuide and bottomLayoutGuide to support using Auto Layout with a view controller’s view, starting in iOS 7. You can use layout guides as layout items in the NSLayoutConstraint factory methods.
    /// </summary>
    /// <see cref="https://developer.apple.com/library/prerelease/ios/documentation/UIKit/Reference/UILayoutSupport_Protocol/index.html#//apple_ref/occ/intf/UILayoutSupport"/>
    [iOSVersion(7)]
    public interface UILayoutSupport//: NSObjectProtocol
    {
        /// <summary>
        /// Provides the length, in points, of the portion of a view controller’s view that is overlaid by translucent or transparent UIKit bars. (required)
        /// </summary>
        [iOSVersion(7)]
        [Export("length")]
        CGFloat Length { get; }
    }
}
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback