use core::ffi::*;
use core::ptr::NonNull;
use objc2::__framework_prelude::*;
use objc2_foundation::*;
use crate::*;
#[repr(transparent)]
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord)]
pub struct UITextAutocapitalizationType(pub NSInteger);
impl UITextAutocapitalizationType {
#[doc(alias = "UITextAutocapitalizationTypeNone")]
pub const None: Self = Self(0);
#[doc(alias = "UITextAutocapitalizationTypeWords")]
pub const Words: Self = Self(1);
#[doc(alias = "UITextAutocapitalizationTypeSentences")]
pub const Sentences: Self = Self(2);
#[doc(alias = "UITextAutocapitalizationTypeAllCharacters")]
pub const AllCharacters: Self = Self(3);
}
unsafe impl Encode for UITextAutocapitalizationType {
const ENCODING: Encoding = NSInteger::ENCODING;
}
unsafe impl RefEncode for UITextAutocapitalizationType {
const ENCODING_REF: Encoding = Encoding::Pointer(&Self::ENCODING);
}
#[repr(transparent)]
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord)]
pub struct UITextAutocorrectionType(pub NSInteger);
impl UITextAutocorrectionType {
#[doc(alias = "UITextAutocorrectionTypeDefault")]
pub const Default: Self = Self(0);
#[doc(alias = "UITextAutocorrectionTypeNo")]
pub const No: Self = Self(1);
#[doc(alias = "UITextAutocorrectionTypeYes")]
pub const Yes: Self = Self(2);
}
unsafe impl Encode for UITextAutocorrectionType {
const ENCODING: Encoding = NSInteger::ENCODING;
}
unsafe impl RefEncode for UITextAutocorrectionType {
const ENCODING_REF: Encoding = Encoding::Pointer(&Self::ENCODING);
}
#[repr(transparent)]
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord)]
pub struct UITextSpellCheckingType(pub NSInteger);
impl UITextSpellCheckingType {
#[doc(alias = "UITextSpellCheckingTypeDefault")]
pub const Default: Self = Self(0);
#[doc(alias = "UITextSpellCheckingTypeNo")]
pub const No: Self = Self(1);
#[doc(alias = "UITextSpellCheckingTypeYes")]
pub const Yes: Self = Self(2);
}
unsafe impl Encode for UITextSpellCheckingType {
const ENCODING: Encoding = NSInteger::ENCODING;
}
unsafe impl RefEncode for UITextSpellCheckingType {
const ENCODING_REF: Encoding = Encoding::Pointer(&Self::ENCODING);
}
#[repr(transparent)]
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord)]
pub struct UITextSmartQuotesType(pub NSInteger);
impl UITextSmartQuotesType {
#[doc(alias = "UITextSmartQuotesTypeDefault")]
pub const Default: Self = Self(0);
#[doc(alias = "UITextSmartQuotesTypeNo")]
pub const No: Self = Self(1);
#[doc(alias = "UITextSmartQuotesTypeYes")]
pub const Yes: Self = Self(2);
}
unsafe impl Encode for UITextSmartQuotesType {
const ENCODING: Encoding = NSInteger::ENCODING;
}
unsafe impl RefEncode for UITextSmartQuotesType {
const ENCODING_REF: Encoding = Encoding::Pointer(&Self::ENCODING);
}
#[repr(transparent)]
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord)]
pub struct UITextSmartDashesType(pub NSInteger);
impl UITextSmartDashesType {
#[doc(alias = "UITextSmartDashesTypeDefault")]
pub const Default: Self = Self(0);
#[doc(alias = "UITextSmartDashesTypeNo")]
pub const No: Self = Self(1);
#[doc(alias = "UITextSmartDashesTypeYes")]
pub const Yes: Self = Self(2);
}
unsafe impl Encode for UITextSmartDashesType {
const ENCODING: Encoding = NSInteger::ENCODING;
}
unsafe impl RefEncode for UITextSmartDashesType {
const ENCODING_REF: Encoding = Encoding::Pointer(&Self::ENCODING);
}
#[repr(transparent)]
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord)]
pub struct UITextSmartInsertDeleteType(pub NSInteger);
impl UITextSmartInsertDeleteType {
#[doc(alias = "UITextSmartInsertDeleteTypeDefault")]
pub const Default: Self = Self(0);
#[doc(alias = "UITextSmartInsertDeleteTypeNo")]
pub const No: Self = Self(1);
#[doc(alias = "UITextSmartInsertDeleteTypeYes")]
pub const Yes: Self = Self(2);
}
unsafe impl Encode for UITextSmartInsertDeleteType {
const ENCODING: Encoding = NSInteger::ENCODING;
}
unsafe impl RefEncode for UITextSmartInsertDeleteType {
const ENCODING_REF: Encoding = Encoding::Pointer(&Self::ENCODING);
}
#[repr(transparent)]
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord)]
pub struct UITextInlinePredictionType(pub NSInteger);
impl UITextInlinePredictionType {
#[doc(alias = "UITextInlinePredictionTypeDefault")]
pub const Default: Self = Self(0);
#[doc(alias = "UITextInlinePredictionTypeNo")]
pub const No: Self = Self(1);
#[doc(alias = "UITextInlinePredictionTypeYes")]
pub const Yes: Self = Self(2);
}
unsafe impl Encode for UITextInlinePredictionType {
const ENCODING: Encoding = NSInteger::ENCODING;
}
unsafe impl RefEncode for UITextInlinePredictionType {
const ENCODING_REF: Encoding = Encoding::Pointer(&Self::ENCODING);
}
#[repr(transparent)]
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord)]
pub struct UITextMathExpressionCompletionType(pub NSInteger);
impl UITextMathExpressionCompletionType {
#[doc(alias = "UITextMathExpressionCompletionTypeDefault")]
pub const Default: Self = Self(0);
#[doc(alias = "UITextMathExpressionCompletionTypeNo")]
pub const No: Self = Self(1);
#[doc(alias = "UITextMathExpressionCompletionTypeYes")]
pub const Yes: Self = Self(2);
}
unsafe impl Encode for UITextMathExpressionCompletionType {
const ENCODING: Encoding = NSInteger::ENCODING;
}
unsafe impl RefEncode for UITextMathExpressionCompletionType {
const ENCODING_REF: Encoding = Encoding::Pointer(&Self::ENCODING);
}
#[repr(transparent)]
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord)]
pub struct UIKeyboardType(pub NSInteger);
impl UIKeyboardType {
#[doc(alias = "UIKeyboardTypeDefault")]
pub const Default: Self = Self(0);
#[doc(alias = "UIKeyboardTypeASCIICapable")]
pub const ASCIICapable: Self = Self(1);
#[doc(alias = "UIKeyboardTypeNumbersAndPunctuation")]
pub const NumbersAndPunctuation: Self = Self(2);
#[doc(alias = "UIKeyboardTypeURL")]
pub const URL: Self = Self(3);
#[doc(alias = "UIKeyboardTypeNumberPad")]
pub const NumberPad: Self = Self(4);
#[doc(alias = "UIKeyboardTypePhonePad")]
pub const PhonePad: Self = Self(5);
#[doc(alias = "UIKeyboardTypeNamePhonePad")]
pub const NamePhonePad: Self = Self(6);
#[doc(alias = "UIKeyboardTypeEmailAddress")]
pub const EmailAddress: Self = Self(7);
#[doc(alias = "UIKeyboardTypeDecimalPad")]
pub const DecimalPad: Self = Self(8);
#[doc(alias = "UIKeyboardTypeTwitter")]
pub const Twitter: Self = Self(9);
#[doc(alias = "UIKeyboardTypeWebSearch")]
pub const WebSearch: Self = Self(10);
#[doc(alias = "UIKeyboardTypeASCIICapableNumberPad")]
pub const ASCIICapableNumberPad: Self = Self(11);
#[doc(alias = "UIKeyboardTypeAlphabet")]
pub const Alphabet: Self = Self(UIKeyboardType::ASCIICapable.0);
}
unsafe impl Encode for UIKeyboardType {
const ENCODING: Encoding = NSInteger::ENCODING;
}
unsafe impl RefEncode for UIKeyboardType {
const ENCODING_REF: Encoding = Encoding::Pointer(&Self::ENCODING);
}
#[repr(transparent)]
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord)]
pub struct UIKeyboardAppearance(pub NSInteger);
impl UIKeyboardAppearance {
#[doc(alias = "UIKeyboardAppearanceDefault")]
pub const Default: Self = Self(0);
#[doc(alias = "UIKeyboardAppearanceDark")]
pub const Dark: Self = Self(1);
#[doc(alias = "UIKeyboardAppearanceLight")]
pub const Light: Self = Self(2);
#[doc(alias = "UIKeyboardAppearanceAlert")]
pub const Alert: Self = Self(UIKeyboardAppearance::Dark.0);
}
unsafe impl Encode for UIKeyboardAppearance {
const ENCODING: Encoding = NSInteger::ENCODING;
}
unsafe impl RefEncode for UIKeyboardAppearance {
const ENCODING_REF: Encoding = Encoding::Pointer(&Self::ENCODING);
}
#[repr(transparent)]
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord)]
pub struct UIReturnKeyType(pub NSInteger);
impl UIReturnKeyType {
#[doc(alias = "UIReturnKeyDefault")]
pub const Default: Self = Self(0);
#[doc(alias = "UIReturnKeyGo")]
pub const Go: Self = Self(1);
#[doc(alias = "UIReturnKeyGoogle")]
pub const Google: Self = Self(2);
#[doc(alias = "UIReturnKeyJoin")]
pub const Join: Self = Self(3);
#[doc(alias = "UIReturnKeyNext")]
pub const Next: Self = Self(4);
#[doc(alias = "UIReturnKeyRoute")]
pub const Route: Self = Self(5);
#[doc(alias = "UIReturnKeySearch")]
pub const Search: Self = Self(6);
#[doc(alias = "UIReturnKeySend")]
pub const Send: Self = Self(7);
#[doc(alias = "UIReturnKeyYahoo")]
pub const Yahoo: Self = Self(8);
#[doc(alias = "UIReturnKeyDone")]
pub const Done: Self = Self(9);
#[doc(alias = "UIReturnKeyEmergencyCall")]
pub const EmergencyCall: Self = Self(10);
#[doc(alias = "UIReturnKeyContinue")]
pub const Continue: Self = Self(11);
}
unsafe impl Encode for UIReturnKeyType {
const ENCODING: Encoding = NSInteger::ENCODING;
}
unsafe impl RefEncode for UIReturnKeyType {
const ENCODING_REF: Encoding = Encoding::Pointer(&Self::ENCODING);
}
#[repr(transparent)]
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord)]
pub struct UIWritingToolsBehavior(pub NSInteger);
impl UIWritingToolsBehavior {
#[doc(alias = "UIWritingToolsBehaviorNone")]
pub const None: Self = Self(-1);
#[doc(alias = "UIWritingToolsBehaviorDefault")]
pub const Default: Self = Self(0);
#[doc(alias = "UIWritingToolsBehaviorComplete")]
pub const Complete: Self = Self(1);
#[doc(alias = "UIWritingToolsBehaviorLimited")]
pub const Limited: Self = Self(2);
}
unsafe impl Encode for UIWritingToolsBehavior {
const ENCODING: Encoding = NSInteger::ENCODING;
}
unsafe impl RefEncode for UIWritingToolsBehavior {
const ENCODING_REF: Encoding = Encoding::Pointer(&Self::ENCODING);
}
#[repr(transparent)]
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord)]
pub struct UIWritingToolsResultOptions(pub NSUInteger);
bitflags::bitflags! {
impl UIWritingToolsResultOptions: NSUInteger {
#[doc(alias = "UIWritingToolsResultDefault")]
const Default = 0;
#[doc(alias = "UIWritingToolsResultPlainText")]
const PlainText = 1<<0;
#[doc(alias = "UIWritingToolsResultRichText")]
const RichText = 1<<1;
#[doc(alias = "UIWritingToolsResultList")]
const List = 1<<2;
#[doc(alias = "UIWritingToolsResultTable")]
const Table = 1<<3;
#[doc(alias = "UIWritingToolsResultPresentationIntent")]
const PresentationIntent = 1<<4;
}
}
unsafe impl Encode for UIWritingToolsResultOptions {
const ENCODING: Encoding = NSUInteger::ENCODING;
}
unsafe impl RefEncode for UIWritingToolsResultOptions {
const ENCODING_REF: Encoding = Encoding::Pointer(&Self::ENCODING);
}
pub type UITextContentType = NSString;
extern_class!(
#[unsafe(super(NSObject))]
#[thread_kind = MainThreadOnly]
#[derive(Debug, PartialEq, Eq, Hash)]
pub struct UITextInputPasswordRules;
);
extern_conformance!(
unsafe impl NSCoding for UITextInputPasswordRules {}
);
extern_conformance!(
unsafe impl NSCopying for UITextInputPasswordRules {}
);
unsafe impl CopyingHelper for UITextInputPasswordRules {
type Result = Self;
}
extern_conformance!(
unsafe impl NSObjectProtocol for UITextInputPasswordRules {}
);
extern_conformance!(
unsafe impl NSSecureCoding for UITextInputPasswordRules {}
);
impl UITextInputPasswordRules {
extern_methods!(
#[unsafe(method(passwordRulesDescriptor))]
#[unsafe(method_family = none)]
pub fn passwordRulesDescriptor(&self) -> Retained<NSString>;
#[unsafe(method(init))]
#[unsafe(method_family = init)]
pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
#[unsafe(method(new))]
#[unsafe(method_family = new)]
pub unsafe fn new(mtm: MainThreadMarker) -> Retained<Self>;
#[unsafe(method(passwordRulesWithDescriptor:))]
#[unsafe(method_family = none)]
pub fn passwordRulesWithDescriptor(
password_rules_descriptor: &NSString,
mtm: MainThreadMarker,
) -> Retained<Self>;
);
}
extern_protocol!(
pub unsafe trait UITextInputTraits: NSObjectProtocol + MainThreadOnly {
#[optional]
#[unsafe(method(autocapitalizationType))]
#[unsafe(method_family = none)]
fn autocapitalizationType(&self) -> UITextAutocapitalizationType;
#[optional]
#[unsafe(method(setAutocapitalizationType:))]
#[unsafe(method_family = none)]
fn setAutocapitalizationType(&self, autocapitalization_type: UITextAutocapitalizationType);
#[optional]
#[unsafe(method(autocorrectionType))]
#[unsafe(method_family = none)]
fn autocorrectionType(&self) -> UITextAutocorrectionType;
#[optional]
#[unsafe(method(setAutocorrectionType:))]
#[unsafe(method_family = none)]
fn setAutocorrectionType(&self, autocorrection_type: UITextAutocorrectionType);
#[optional]
#[unsafe(method(spellCheckingType))]
#[unsafe(method_family = none)]
fn spellCheckingType(&self) -> UITextSpellCheckingType;
#[optional]
#[unsafe(method(setSpellCheckingType:))]
#[unsafe(method_family = none)]
fn setSpellCheckingType(&self, spell_checking_type: UITextSpellCheckingType);
#[optional]
#[unsafe(method(smartQuotesType))]
#[unsafe(method_family = none)]
fn smartQuotesType(&self) -> UITextSmartQuotesType;
#[optional]
#[unsafe(method(setSmartQuotesType:))]
#[unsafe(method_family = none)]
fn setSmartQuotesType(&self, smart_quotes_type: UITextSmartQuotesType);
#[optional]
#[unsafe(method(smartDashesType))]
#[unsafe(method_family = none)]
fn smartDashesType(&self) -> UITextSmartDashesType;
#[optional]
#[unsafe(method(setSmartDashesType:))]
#[unsafe(method_family = none)]
fn setSmartDashesType(&self, smart_dashes_type: UITextSmartDashesType);
#[optional]
#[unsafe(method(smartInsertDeleteType))]
#[unsafe(method_family = none)]
fn smartInsertDeleteType(&self) -> UITextSmartInsertDeleteType;
#[optional]
#[unsafe(method(setSmartInsertDeleteType:))]
#[unsafe(method_family = none)]
fn setSmartInsertDeleteType(&self, smart_insert_delete_type: UITextSmartInsertDeleteType);
#[optional]
#[unsafe(method(inlinePredictionType))]
#[unsafe(method_family = none)]
fn inlinePredictionType(&self) -> UITextInlinePredictionType;
#[optional]
#[unsafe(method(setInlinePredictionType:))]
#[unsafe(method_family = none)]
fn setInlinePredictionType(&self, inline_prediction_type: UITextInlinePredictionType);
#[optional]
#[unsafe(method(mathExpressionCompletionType))]
#[unsafe(method_family = none)]
fn mathExpressionCompletionType(&self) -> UITextMathExpressionCompletionType;
#[optional]
#[unsafe(method(setMathExpressionCompletionType:))]
#[unsafe(method_family = none)]
fn setMathExpressionCompletionType(
&self,
math_expression_completion_type: UITextMathExpressionCompletionType,
);
#[optional]
#[unsafe(method(keyboardType))]
#[unsafe(method_family = none)]
fn keyboardType(&self) -> UIKeyboardType;
#[optional]
#[unsafe(method(setKeyboardType:))]
#[unsafe(method_family = none)]
fn setKeyboardType(&self, keyboard_type: UIKeyboardType);
#[optional]
#[unsafe(method(keyboardAppearance))]
#[unsafe(method_family = none)]
fn keyboardAppearance(&self) -> UIKeyboardAppearance;
#[optional]
#[unsafe(method(setKeyboardAppearance:))]
#[unsafe(method_family = none)]
fn setKeyboardAppearance(&self, keyboard_appearance: UIKeyboardAppearance);
#[optional]
#[unsafe(method(returnKeyType))]
#[unsafe(method_family = none)]
fn returnKeyType(&self) -> UIReturnKeyType;
#[optional]
#[unsafe(method(setReturnKeyType:))]
#[unsafe(method_family = none)]
fn setReturnKeyType(&self, return_key_type: UIReturnKeyType);
#[optional]
#[unsafe(method(enablesReturnKeyAutomatically))]
#[unsafe(method_family = none)]
fn enablesReturnKeyAutomatically(&self) -> bool;
#[optional]
#[unsafe(method(setEnablesReturnKeyAutomatically:))]
#[unsafe(method_family = none)]
fn setEnablesReturnKeyAutomatically(&self, enables_return_key_automatically: bool);
#[optional]
#[unsafe(method(isSecureTextEntry))]
#[unsafe(method_family = none)]
fn isSecureTextEntry(&self) -> bool;
#[optional]
#[unsafe(method(setSecureTextEntry:))]
#[unsafe(method_family = none)]
fn setSecureTextEntry(&self, secure_text_entry: bool);
#[optional]
#[unsafe(method(textContentType))]
#[unsafe(method_family = none)]
fn textContentType(&self) -> Retained<UITextContentType>;
#[optional]
#[unsafe(method(setTextContentType:))]
#[unsafe(method_family = none)]
fn setTextContentType(&self, text_content_type: Option<&UITextContentType>);
#[optional]
#[unsafe(method(passwordRules))]
#[unsafe(method_family = none)]
fn passwordRules(&self) -> Option<Retained<UITextInputPasswordRules>>;
#[optional]
#[unsafe(method(setPasswordRules:))]
#[unsafe(method_family = none)]
fn setPasswordRules(&self, password_rules: Option<&UITextInputPasswordRules>);
#[optional]
#[unsafe(method(writingToolsBehavior))]
#[unsafe(method_family = none)]
fn writingToolsBehavior(&self) -> UIWritingToolsBehavior;
#[optional]
#[unsafe(method(setWritingToolsBehavior:))]
#[unsafe(method_family = none)]
fn setWritingToolsBehavior(&self, writing_tools_behavior: UIWritingToolsBehavior);
#[optional]
#[unsafe(method(allowedWritingToolsResultOptions))]
#[unsafe(method_family = none)]
fn allowedWritingToolsResultOptions(&self) -> UIWritingToolsResultOptions;
#[optional]
#[unsafe(method(setAllowedWritingToolsResultOptions:))]
#[unsafe(method_family = none)]
fn setAllowedWritingToolsResultOptions(
&self,
allowed_writing_tools_result_options: UIWritingToolsResultOptions,
);
#[cfg(feature = "UIConversationContext")]
#[optional]
#[unsafe(method(conversationContext))]
#[unsafe(method_family = none)]
fn conversationContext(&self) -> Option<Retained<UIConversationContext>>;
#[cfg(feature = "UIConversationContext")]
#[optional]
#[unsafe(method(setConversationContext:))]
#[unsafe(method_family = none)]
fn setConversationContext(&self, conversation_context: Option<&UIConversationContext>);
#[optional]
#[unsafe(method(allowsNumberPadPopover))]
#[unsafe(method_family = none)]
fn allowsNumberPadPopover(&self) -> bool;
#[optional]
#[unsafe(method(setAllowsNumberPadPopover:))]
#[unsafe(method_family = none)]
fn setAllowsNumberPadPopover(&self, allows_number_pad_popover: bool);
}
);
extern "C" {
pub static UITextContentTypeName: &'static UITextContentType;
}
extern "C" {
pub static UITextContentTypeNamePrefix: &'static UITextContentType;
}
extern "C" {
pub static UITextContentTypeGivenName: &'static UITextContentType;
}
extern "C" {
pub static UITextContentTypeMiddleName: &'static UITextContentType;
}
extern "C" {
pub static UITextContentTypeFamilyName: &'static UITextContentType;
}
extern "C" {
pub static UITextContentTypeNameSuffix: &'static UITextContentType;
}
extern "C" {
pub static UITextContentTypeNickname: &'static UITextContentType;
}
extern "C" {
pub static UITextContentTypeJobTitle: &'static UITextContentType;
}
extern "C" {
pub static UITextContentTypeOrganizationName: &'static UITextContentType;
}
extern "C" {
pub static UITextContentTypeLocation: &'static UITextContentType;
}
extern "C" {
pub static UITextContentTypeFullStreetAddress: &'static UITextContentType;
}
extern "C" {
pub static UITextContentTypeStreetAddressLine1: &'static UITextContentType;
}
extern "C" {
pub static UITextContentTypeStreetAddressLine2: &'static UITextContentType;
}
extern "C" {
pub static UITextContentTypeAddressCity: &'static UITextContentType;
}
extern "C" {
pub static UITextContentTypeAddressState: &'static UITextContentType;
}
extern "C" {
pub static UITextContentTypeAddressCityAndState: &'static UITextContentType;
}
extern "C" {
pub static UITextContentTypeSublocality: &'static UITextContentType;
}
extern "C" {
pub static UITextContentTypeCountryName: &'static UITextContentType;
}
extern "C" {
pub static UITextContentTypePostalCode: &'static UITextContentType;
}
extern "C" {
pub static UITextContentTypeTelephoneNumber: &'static UITextContentType;
}
extern "C" {
pub static UITextContentTypeEmailAddress: &'static UITextContentType;
}
extern "C" {
pub static UITextContentTypeURL: &'static UITextContentType;
}
extern "C" {
pub static UITextContentTypeCreditCardNumber: &'static UITextContentType;
}
extern "C" {
pub static UITextContentTypeUsername: &'static UITextContentType;
}
extern "C" {
pub static UITextContentTypePassword: &'static UITextContentType;
}
extern "C" {
pub static UITextContentTypeNewPassword: &'static UITextContentType;
}
extern "C" {
pub static UITextContentTypeOneTimeCode: &'static UITextContentType;
}
extern "C" {
pub static UITextContentTypeShipmentTrackingNumber: &'static UITextContentType;
}
extern "C" {
pub static UITextContentTypeFlightNumber: &'static UITextContentType;
}
extern "C" {
pub static UITextContentTypeDateTime: &'static UITextContentType;
}
extern "C" {
pub static UITextContentTypeBirthdate: &'static UITextContentType;
}
extern "C" {
pub static UITextContentTypeBirthdateDay: &'static UITextContentType;
}
extern "C" {
pub static UITextContentTypeBirthdateMonth: &'static UITextContentType;
}
extern "C" {
pub static UITextContentTypeBirthdateYear: &'static UITextContentType;
}
extern "C" {
pub static UITextContentTypeCreditCardSecurityCode: &'static UITextContentType;
}
extern "C" {
pub static UITextContentTypeCreditCardName: &'static UITextContentType;
}
extern "C" {
pub static UITextContentTypeCreditCardGivenName: &'static UITextContentType;
}
extern "C" {
pub static UITextContentTypeCreditCardMiddleName: &'static UITextContentType;
}
extern "C" {
pub static UITextContentTypeCreditCardFamilyName: &'static UITextContentType;
}
extern "C" {
pub static UITextContentTypeCreditCardExpiration: &'static UITextContentType;
}
extern "C" {
pub static UITextContentTypeCreditCardExpirationMonth: &'static UITextContentType;
}
extern "C" {
pub static UITextContentTypeCreditCardExpirationYear: &'static UITextContentType;
}
extern "C" {
pub static UITextContentTypeCreditCardType: &'static UITextContentType;
}
extern "C" {
pub static UITextContentTypeCellularEID: &'static UITextContentType;
}
extern "C" {
pub static UITextContentTypeCellularIMEI: &'static UITextContentType;
}