/*
 *     Generated by class-dump 3.1.2.
 *
 *     class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2007 by Steve Nygard.
 */

struct Bucket<KB::String, KB::Word>;

struct Bucket<unsigned int, KB::Vector<KB::Pair<KB::String, KB::DynamicDictionary::CustomType>>>;

struct CGAffineTransform {
    float a;
    float b;
    float c;
    float d;
    float tx;
    float ty;
};

struct CGColor;

struct CGContext;

struct CGImage;

struct CGPath;

struct CGPoint {
    float x;
    float y;
};

struct CGRect {
    struct CGPoint origin;
    struct CGSize size;
};

struct CGShading;

struct CGSize {
    float width;
    float height;
};

struct DynamicDictionary {
    void **_field1;
    int _field2;
    int _field3;
    _Bool _field4;
    _Bool _field5;
    _Bool _field6;
    _Bool _field7;
    struct _opaque_pthread_mutex_t _field8;
    struct _opaque_pthread_cond_t _field9;
    struct String _field10;
    struct Ring<KB::String, 640> _field11;
    struct Hashmap<unsigned int, KB::Vector<KB::Pair<KB::String, KB::DynamicDictionary::CustomType>>> _field12;
    struct Hashmap<KB::String, KB::Word> _field13;
};

struct HashTraits<KB::String>;

struct HashTraits<unsigned int>;

struct Hashmap<KB::String, KB::Word> {
    unsigned int m_size;
    unsigned int m_capacity;
    unsigned int m_table_size;
    unsigned int m_extra_size;
    unsigned int m_extra_index;
    _Bool m_rehashing;
    struct HashTraits<KB::String> m_traits;
    struct Bucket<KB::String, KB::Word> *m_table;
    struct Bucket<KB::String, KB::Word> *m_extra;
};

struct Hashmap<unsigned int, KB::Vector<KB::Pair<KB::String, KB::DynamicDictionary::CustomType>>> {
    unsigned int m_size;
    unsigned int m_capacity;
    unsigned int m_table_size;
    unsigned int m_extra_size;
    unsigned int m_extra_index;
    _Bool m_rehashing;
    struct HashTraits<unsigned int> m_traits;
    struct Bucket<unsigned int, KB::Vector<KB::Pair<KB::String, KB::DynamicDictionary::CustomType>>> *m_table;
    struct Bucket<unsigned int, KB::Vector<KB::Pair<KB::String, KB::DynamicDictionary::CustomType>>> *m_extra;
};

struct Ring<KB::String, 640> {
    unsigned int m_index;
    unsigned int m_size;
    struct String m_elements[640];
};

struct String {
    unsigned short m_size;
    unsigned short m_capacity;
    unsigned short m_length;
    unsigned short m_sort_key_length;
    unsigned char m_buffer_type;
    char *m_buffer;
    char m_static_buffer[16];
};

struct WKView;

struct WKWindow {
    struct _WKObject _field1;
    struct CGRect _field2;
    struct WKView *_field3;
    struct WKView *_field4;
    struct __GSEvent *_field5;
    void *_field6;
    void *_field7;
    unsigned int :1;
    unsigned int :1;
    unsigned int :1;
};

struct _NSPoint {
    float _field1;
    float _field2;
};

struct _NSRange {
    unsigned int location;
    unsigned int length;
};

struct _NSRect {
    struct _NSPoint _field1;
    struct _NSSize _field2;
};

struct _NSSize {
    float _field1;
    float _field2;
};

struct _NSZone;

struct _UIRectInsets {
    float _field1;
    float _field2;
    float _field3;
    float _field4;
};

struct _UIRenderInfo {
    unsigned int _field1;
    unsigned int _field2;
    int _field3;
    char *_field4;
};

struct _WKClassInfo;

struct _WKObject {
    unsigned int referenceCount;
    struct _WKClassInfo *classInfo;
};

struct __CFArray;

struct __CFCharacterSet;

struct __CFDateFormatter;

struct __CFDictionary;

struct __CFMachPort;

struct __CFRunLoopObserver;

struct __CFString;

struct __CFTimeZone;

struct __CoreSurfaceBuffer;

struct __GSEvent;

struct __GSFont;

struct __GSHeartbeat;

struct __GSWindow;

struct __SCNetworkReachability;

struct _opaque_pthread_cond_t {
    long __sig;
    char __opaque[24];
};

struct _opaque_pthread_mutex_t {
    long __sig;
    char __opaque[40];
};

typedef struct {
    int _field1;
    int _field2;
    id _field3;
    id _field4;
    float _field5;
    int _field6;
    SEL _field7;
    id _field8;
} CDAnonymousStruct2;

typedef struct {
    double width;
    double height;
} CDAnonymousStruct1;

typedef struct {
    char _field1;
    struct CGRect _field2;
    int _field3;
    int _field4;
    int _field5;
    id _field6;
    struct CGPoint _field7;
    id _field8;
    struct {
        int _field1;
        struct CGPoint _field2;
        id _field3;
        id _field4;
    } (*_field9)[5];
    CDAnonymousStruct15 *_field10;
    CDAnonymousStruct15 *_field11;
} CDAnonymousStruct18;

typedef struct {
    float _field1;
    float _field2;
    float _field3;
    float _field4;
    float _field5;
} CDAnonymousStruct11;

typedef struct {
    id _field1;
    struct CGColor *_field2;
    struct CGColor *_field3;
    id _field4;
} CDAnonymousStruct3;

typedef struct {
    UIImage *left;
    UIImage *right;
    UIImage *center;
} CDAnonymousStruct14;

typedef struct {
    char *_field1;
    char _field2;
    char _field3;
    int _field4;
    int _field5;
    int _field6;
    int _field7;
} CDAnonymousStruct8;

typedef struct {
    float _field1;
    float _field2;
    float _field3;
} CDAnonymousStruct4;

typedef struct {
    int _field1;
    int _field2;
    int _field3;
    int _field4;
    char _field5;
    char _field6;
} CDAnonymousStruct5;

typedef struct {
    float _field1;
    float _field2;
} CDAnonymousStruct6;

typedef struct {
    CDAnonymousStruct15 *geometry;
    CDAnonymousStruct15 *behavior;
} CDAnonymousStruct7;

typedef struct {
} CDAnonymousStruct15;

typedef struct {
    CDAnonymousStruct10 top;
    struct {
        struct CGRect _field1;
        struct CGRect _field2;
        struct CGRect _field3;
    } middle;
    struct {
        struct CGRect _field1;
        struct CGRect _field2;
        struct CGRect _field3;
    } bottom;
} CDAnonymousStruct12;

typedef struct {
    char _field1;
    struct CGRect _field2;
    int _field3;
    int _field4;
    int _field5;
    NSString *_field6;
    struct CGPoint _field7;
    NSString *_field8;
    struct {
        int buttonIndex;
        struct CGPoint buttonPosition;
        NSString *imageName;
        NSString *activeImageName;
    } (*_field9)[5];
    CDAnonymousStruct15 *_field10;
    CDAnonymousStruct15 *_field11;
} CDAnonymousStruct16;

typedef struct {
    struct CGRect _field1;
    struct CGRect _field2;
    struct CGRect _field3;
    struct CGRect _field4;
    struct CGRect _field5;
    id _field6;
    id _field7;
    unsigned int _field8;
    unsigned int _field9;
    unsigned int _field10;
    id _field11;
} CDAnonymousStruct9;

typedef struct {
    struct CGRect _field1;
    struct CGRect _field2;
    int _field3;
    struct CGPoint _field4;
} CDAnonymousStruct13;

typedef struct {
    int _field1;
    unsigned short _field2;
    unsigned short _field3;
    short _field4;
    short _field5;
    short _field6;
    short _field7;
    unsigned char _field8;
    unsigned char _field9;
    struct {
        unsigned char _field1;
        unsigned char _field2;
        unsigned char _field3;
        float _field4;
        struct CGPoint _field5;
    } _field10[0];
} CDAnonymousStruct17;

typedef struct {
    struct CGRect left;
    struct CGRect middle;
    struct CGRect right;
} CDAnonymousStruct10;

typedef union {
    UIImage *image;
    UIView *view;
} CDAnonymousUnion1;

/*
 * File: System/Library/Frameworks/UIKit.framework/UIKit
 *       Current version: 229.0.0, Compatibility version: 1.0.0
 */

@protocol CandViewProtocol
- (void)fix;
- (void)setCand:(int)fp8;
- (void)activateCandView:(id)fp8;
- (void)deactivateCandView:(id)fp8;
@end

@protocol NSObject
- (BOOL)isEqual:(id)fp8;
- (unsigned int)hash;
- (Class)superclass;
- (Class)class;
- (id)self;
- (struct _NSZone *)zone;
- (id)performSelector:(SEL)fp8;
- (id)performSelector:(SEL)fp8 withObject:(id)fp12;
- (id)performSelector:(SEL)fp8 withObject:(id)fp12 withObject:(id)fp16;
- (BOOL)isProxy;
- (BOOL)isKindOfClass:(Class)fp8;
- (BOOL)isMemberOfClass:(Class)fp8;
- (BOOL)conformsToProtocol:(id)fp8;
- (BOOL)respondsToSelector:(SEL)fp8;
- (id)retain;
- (oneway void)release;
- (id)autorelease;
- (unsigned int)retainCount;
- (id)description;
@end

@protocol UIContinuation <NSObject>
- (void)setValue:(id)fp8 forProperty:(id)fp12;
- (id)valueForProperty:(id)fp8;
- (void)doContinuation;
@end

@protocol UIFormPeripheral
+ (BOOL)isUniqueForEachFormControl;
- (id)initFormPeripheral;
- (void)willChangeToFormControl:(id)fp8;
- (void)setFormControl:(id)fp8;
- (void)endEditing;
@end

@protocol UIKeyboardInput <UITextTraitsClient>
- (void)deleteBackward;
- (void)insertText:(id)fp8;
- (void)replaceCurrentWordWithText:(id)fp8;
- (void)setMarkedText:(id)fp8;
- (id)markedText;
- (unsigned short)characterInRelationToCaretSelection:(int)fp8;
- (unsigned short)characterBeforeCaretSelection;
- (unsigned short)characterAfterCaretSelection;
- (struct __GSFont *)fontForCaretSelection;
- (struct CGColor *)textColorForCaretSelection;
- (struct CGRect)rectContainingCaretSelection;
- (id)wordRangeContainingCaretSelection;
- (id)wordContainingCaretSelection;
- (id)wordInRange:(id)fp8;
- (void)expandSelectionToStartOfWordContainingCaretSelection;
- (int)wordOffsetInRange:(id)fp8;
- (BOOL)spaceFollowsWordInRange:(id)fp8;
- (id)previousNGrams:(unsigned int)fp8;
- (struct _NSRange)selectionRange;
- (BOOL)hasSelection;
- (BOOL)selectionAtDocumentStart;
- (BOOL)selectionAtSentenceStart;
- (BOOL)selectionAtWordStart;
- (BOOL)rangeAtSentenceStart:(id)fp8;
- (void)markCurrentWordForAutoCorrection:(id)fp8 correction:(id)fp12;
- (void)moveBackward:(unsigned int)fp8;
- (void)moveForward:(unsigned int)fp8;
- (void)selectAll;
- (void)setText:(id)fp8;
- (id)text;
- (void)updateSelectionWithPoint:(struct CGPoint)fp8;
- (void)setCaretChangeListener:(id)fp8;
- (struct CGRect)caretRect;
- (struct CGRect)convertCaretRect:(struct CGRect)fp8;
- (id)keyboardInputView;
- (BOOL)isShowingPlaceholder;
- (void)setupPlaceholderTextIfNeeded;
- (BOOL)isProxyFor:(id)fp8;
- (BOOL)interceptKeyEvent:(struct __GSEvent *)fp8;
@end

@protocol UITextTraitsClient <NSObject>
- (id)textTraits;
- (void)takeTraitsFrom:(id)fp8;
@end

@protocol WebCaretChangeListener
- (void)caretChanged;
@end

@protocol WebFormDelegate <NSObject>
- (void)textFieldDidBeginEditing:(id)fp8 inFrame:(id)fp12;
- (void)textFieldDidEndEditing:(id)fp8 inFrame:(id)fp12;
- (void)textDidChangeInTextField:(id)fp8 inFrame:(id)fp12;
- (void)textDidChangeInTextArea:(id)fp8 inFrame:(id)fp12;
- (BOOL)textField:(id)fp8 doCommandBySelector:(SEL)fp12 inFrame:(id)fp16;
- (BOOL)textField:(id)fp8 shouldHandleEvent:(struct __GSEvent *)fp12 inFrame:(id)fp16;
- (void)formElementDidSetValue:(id)fp8;
- (void)formElementDidFocus:(id)fp8;
- (void)formElementDidBlur:(id)fp8;
- (void)frame:(id)fp8 sourceFrame:(id)fp12 willSubmitForm:(id)fp16 withValues:(id)fp20 submissionListener:(id)fp24;
@end

@interface UIPickerView : UIView
{
    NSMutableArray *_tables;
    _UIPickerViewTopFrame *_topFrame;
    NSMutableArray *_dividers;
    id _delegate;
    UIView *_backgroundView;
    unsigned int _needsLayout:1;
    unsigned int _delegateRespondsToTableCellForColumn:1;
    unsigned int _delegateRespondsToTableCellForColumnReusingCell:1;
    unsigned int _delegateRespondsToTitleForRow:1;
    unsigned int _delegateRespondsToCreatedTable:1;
    unsigned int _showsSelectionBar:1;
    unsigned int _allowsMultipleSelection:1;
    unsigned int _allowSelectingCells:1;
    unsigned int _soundsEnabled:1;
    unsigned int _reserved:22;
}

+ (BOOL)_isLandscapeOrientation;
+ (struct CGSize)defaultSize;
+ (id)_orientationImageSuffix;
- (void)setSoundsEnabled:(BOOL)fp8;
- (id)initWithFrame:(struct CGRect)fp8;
- (void)dealloc;
- (void)setNeedsLayout;
- (void)reloadData;
- (void)reloadDataForColumn:(int)fp8;
- (id)pickerImageNamePrefix;
- (id)_selectionBarSuffix;
- (id)imageForPickerPiece:(int)fp8;
- (struct CGRect)selectionBarRect;
- (id)_createViewForPickerPiece:(int)fp8;
- (id)createDividerWithFrame:(struct CGRect)fp8;
- (float)tableRowHeight;
- (double)scrollAnimationDuration;
- (id)createTableWithFrame:(struct CGRect)fp8;
- (int)_delegateNumberOfColumns;
- (int)_delegateNumberOfRowsInColumn:(int)fp8;
- (id)_delegateTitleForRow:(int)fp8 inColumn:(int)fp12;
- (float)_delegateTableWidthAtColumn:(int)fp8 ofCount:(int)fp12 withSizeLeft:(float)fp16;
- (int)numberOfRowsInColumn:(int)fp8;
- (int)numberOfColumns;
- (void)reloadAllPickerPieces;
- (void)layoutSubviews;
- (void)setFrame:(struct CGRect)fp8;
- (int)numberOfRowsInTable:(id)fp8;
- (id)table:(id)fp8 cellForRow:(int)fp12 column:(id)fp16 reusing:(id)fp20;
- (id)table:(id)fp8 cellForRow:(int)fp12 column:(id)fp16;
- (void)setDelegate:(id)fp8;
- (void)scrollerDidScroll:(id)fp8;
- (BOOL)scroller:(id)fp8 shouldAdjustSmoothScrollEndForVelocity:(struct CGSize)fp12;
- (struct CGPoint)scroller:(id)fp8 adjustSmoothScrollEnd:(struct CGPoint)fp12 velocity:(struct CGSize)fp20;
- (void)_sendSelectionChanged;
- (void)setAllowsMultipleSelection:(BOOL)fp8;
- (BOOL)allowsMultipleSelection;
- (void)_sendCheckedRow:(int)fp8 inTable:(id)fp12 checked:(BOOL)fp16;
- (void)_sendSelectionChangedFromTable:(id)fp8;
- (void)scrollerDidEndDragging:(id)fp8 willSmoothScroll:(BOOL)fp12;
- (void)scrollerDidEndSmoothScrolling:(id)fp8;
- (void)scrollerDidEndAnimatedScrolling:(id)fp8;
- (id)cellForRow:(int)fp8 column:(int)fp12;
- (struct _NSRange)visibleRowsForColumn:(int)fp8;
- (int)selectedRowForColumn:(int)fp8;
- (int)columnForTable:(id)fp8;
- (id)tableForColumn:(int)fp8;
- (id)selectedTableCellForColumn:(int)fp8;
- (void)selectRow:(int)fp8 inColumn:(int)fp12 animated:(BOOL)fp16;

@end

@interface UIPickerTable : UITable
{
    struct CGRect _selectionBarRect;
    UIPickerScrollAnimation *_scrollAnimation;
    int _selectionBarRow;
    struct CGPoint _lastOffset;
    int _lastClickRow;
    unsigned int _allowSelectingCells:1;
    unsigned int _allowsMultipleSelection:1;
    unsigned int _lastShouldStick:1;
    unsigned int _reserved:29;
}

- (id)initWithFrame:(struct CGRect)fp8;
- (BOOL)canHandleSwipes;
- (int)lastClickRow;
- (void)setLastClickRow:(int)fp8;
- (void)setAllowsMultipleSelection:(BOOL)fp8;
- (BOOL)allowsMultipleSelection;
- (void)setAllowsSelectingRows:(BOOL)fp8;
- (void)_scrollSelectionBarRect:(struct CGRect)fp8 animated:(BOOL)fp24;
- (void)selectCell:(id)fp8 inRow:(int)fp12 column:(int)fp16 withFade:(BOOL)fp20;
- (void)contentMouseUpInView:(id)fp8 withEvent:(struct __GSEvent *)fp12;
- (int)selectionBarRow;
- (id)selectedTableCell;
- (void)selectRow:(int)fp8 animated:(BOOL)fp12;
- (void)setSelectionBarRect:(struct CGRect)fp8;
- (struct CGRect)selectionBarRect;
- (void)animationSetOffset:(struct CGPoint)fp8;
- (void)mouseDown:(struct __GSEvent *)fp8;
- (void)mouseUp:(struct __GSEvent *)fp8;
- (void)_pickerScrollAnimationEnded;
- (void)_didMoveFromWindow:(id)fp8 toWindow:(id)fp12;
- (struct CGPoint)newOffsetWithCenteredRectFromOffset:(struct CGPoint)fp8;
- (BOOL)scrollCenterCellToSelectionBar;
- (BOOL)fixupCenterCellToSelectionBar:(BOOL)fp8;
- (void)setRowHeight:(float)fp8;
- (void)removeFromSuperview;
- (void)updateSelectionBarRow;

@end

@interface UIPickerScrollAnimation : UIAnimation
{
    float _initialDuration;
    struct CGPoint _originalOffset;
    struct CGPoint _targetOffset;
}

- (struct CGPoint)targetOffset;
- (void)setTargetOffset:(struct CGPoint)fp8;
- (void)setOriginalOffset:(struct CGPoint)fp8;
- (void)setProgress:(float)fp8;
- (float)initialDuration;
- (void)setInitialDuration:(float)fp8;

@end

@interface _UIPickerWheelView : UIView
{
    UIPickerView *_pickerView;
}

- (id)initWithFrame:(struct CGRect)fp8;
- (void)setPickerView:(id)fp8;
- (void)drawRect:(struct CGRect)fp8;

@end

@interface _UIPickerViewSelectionBar : UIView
{
    UIPickerView *_pickerView;
}

- (id)initWithFrame:(struct CGRect)fp8;
- (void)setPickerView:(id)fp8;
- (void)drawRect:(struct CGRect)fp8;

@end

@interface _UIOnePartImageView : UIView
{
    UIImage *_image;
}

- (id)initWithFrame:(struct CGRect)fp8;
- (void)setImage:(id)fp8;
- (void)drawRect:(struct CGRect)fp8;

@end

@interface _UIPickerViewTopFrame : UIView
{
    UIImage *_leftImage;
    UIImage *_middleImage;
    UIImage *_rightImage;
    float _inset;
}

- (id)initWithFrame:(struct CGRect)fp8;
- (void)setLeftImage:(id)fp8 middleImage:(id)fp12 rightImage:(id)fp16;
- (void)dealloc;
- (BOOL)ignoresMouseEvents;
- (void)setInset:(float)fp8;
- (void)drawRect:(struct CGRect)fp8;

@end

@interface UIWeekMonthDayTableCell : UIDateTableCell
{
    UITextLabel *_weekdayLabel;
    NSDate *_date;
    float _weekdayWidth;
    BOOL _weekdayLast;
}

- (void)dealloc;
- (id)date;
- (void)setDate:(id)fp8;
- (void)setWeekdayLast:(BOOL)fp8;
- (void)setWeekdayWidth:(float)fp8;
- (struct CGColor *)_weekdayLabelColor;
- (void)setBackgroundColor:(struct CGColor *)fp8;
- (void)setWeekdayString:(id)fp8;
- (void)updateHighlightColors;
- (void)layoutSubviews;

@end

@interface UIDateTableCell : UIImageAndTextTableCell
{
    float _horizontalOffset;
    float _verticalOffset;
}

- (id)initWithFrame:(struct CGRect)fp8;
- (void)setHorizontalOffset:(float)fp8;
- (void)setVerticalOffset:(float)fp8;
- (struct CGRect)contentBounds;
- (struct CGColor *)shadowColor;

@end

@interface UIApplication : UIResponder
{
    struct {
        unsigned int isSuspended:1;
        unsigned int isSuspendedEventsOnly:1;
        unsigned int isLaunchedSuspended:1;
        unsigned int controlTint:6;
        unsigned int isHandlingURL:1;
        unsigned int statusBarMode:2;
        unsigned int statusBarShowsProgress:1;
        unsigned int blockInteractionEvents:3;
        unsigned int animatingKeyboard:1;
        unsigned int forceExit:1;
        unsigned int receivesMemoryWarnings:1;
        unsigned int animatedSuspension:1;
        unsigned int pendingSuspension:2;
        unsigned int animateResumeNoPNG:1;
        unsigned int showingProgress:1;
        unsigned int receivesPowerMessages:1;
        unsigned int isSuspendedUnderLock:1;
        unsigned int shouldExitAfterSendSuspend:1;
        unsigned int terminating:1;
        unsigned int useCompatibleSuspendAnimation:3;
        unsigned int isHandlingShortCutURL:1;
    } _applicationFlags;
    unsigned int _orientation;
}

+ (BOOL)isRunningInStoreDemoMode;
+ (BOOL)shouldMakeUIForDefaultPNG;
- (id)_initWithArgc:(int)fp8 argv:(const char **)fp12;
- (BOOL)shouldLaunchSafe;
- (void)performInitializationWithURL:(id)fp8;
- (void)_installAutoreleasePoolsIfNecessaryForMode:(struct __CFString *)fp8;
- (void)runWithURL:(id)fp8;
- (void)reportAppLaunchFinished;
- (void)_runWithURL:(id)fp8;
- (void)run;
- (void)_registerForSignificantTimeChangeNotification;
- (void)_registerForLanguageChangedNotification;
- (void)_registerForLocaleChangedNotification;
- (void)_registerForTimeChangedNotification;
- (void)_unregisterForSignificantTimeChangeNotification;
- (void)_unregisterForLanguageChangedNotification;
- (void)_unregisterForLocaleChangedNotification;
- (void)_unregisterForTimeChangedNotification;
- (void)pushRunLoopMode:(id)fp8;
- (void)popRunLoopMode:(id)fp8;
- (void)sendAction:(SEL)fp8 fromSender:(id)fp12 toTarget:(id)fp16 forEvent:(struct __GSEvent *)fp20;
- (void)applicationWillSuspend;
- (void)applicationWillSuspendForEventsOnly;
- (void)applicationWillSuspendUnderLock;
- (void)applicationDidResumeFromUnderLock;
- (void)applicationDidResume;
- (void)applicationDidResumeForEventsOnly;
- (void)applicationWillTerminate;
- (BOOL)applicationIsReadyToSuspend;
- (void)_setSuspended:(BOOL)fp8;
- (void)_setForceExit:(BOOL)fp8;
- (BOOL)isSuspended;
- (BOOL)isSuspendedEventsOnly;
- (BOOL)isSuspendedUnderLock;
- (void)_setSuspendedEventsOnly:(BOOL)fp8;
- (void)_setSuspendedUnderLock:(BOOL)fp8;
- (BOOL)_shouldAnimateResumption;
- (BOOL)_isLaunchedSuspended;
- (unsigned int)_portForEvent:(struct __GSEvent *)fp8;
- (void)suspendWithAnimation:(BOOL)fp8;
- (void)applicationStarted:(struct __GSEvent *)fp8;
- (void)applicationSuspended:(struct __GSEvent *)fp8;
- (void)applicationSuspendedSettingsUpdated:(struct __GSEvent *)fp8;
- (void)applicationExited:(struct __GSEvent *)fp8;
- (void)anotherApplicationFinishedLaunching:(struct __GSEvent *)fp8;
- (void)lockButtonDown:(struct __GSEvent *)fp8;
- (void)lockButtonUp:(struct __GSEvent *)fp8;
- (void)headsetButtonDown:(struct __GSEvent *)fp8;
- (void)headsetButtonUp:(struct __GSEvent *)fp8;
- (void)menuButtonDown:(struct __GSEvent *)fp8;
- (void)menuButtonUp:(struct __GSEvent *)fp8;
- (void)statusBarMouseDown:(struct __GSEvent *)fp8;
- (void)statusBarMouseDragged:(struct __GSEvent *)fp8;
- (void)statusBarMouseUp:(struct __GSEvent *)fp8;
- (void)ringerChanged:(int)fp8;
- (void)volumeChanged:(struct __GSEvent *)fp8;
- (void)acceleratedInX:(float)fp8 Y:(float)fp12 Z:(float)fp16;
- (void)deviceOrientationChanged:(struct __GSEvent *)fp8;
- (void)proximityStateChanged:(BOOL)fp8;
- (void)accessoryAvailabilityChanged:(struct __GSEvent *)fp8;
- (void)_handleAccessoryKeyStateChanged:(struct __GSEvent *)fp8;
- (void)accessoryKeyStateChanged:(struct __GSEvent *)fp8;
- (void)accessoryEvent:(struct __GSEvent *)fp8;
- (void)handleOutOfLineDataResponse:(struct __GSEvent *)fp8;
- (void)handleOutOfLineDataRequest:(struct __GSEvent *)fp8;
- (void)lockDevice:(struct __GSEvent *)fp8;
- (void)quitTopApplication:(struct __GSEvent *)fp8;
- (void)resetIdleDuration:(double)fp8;
- (void)resetIdleTimer;
- (void)_terminateWithStatus:(int)fp8;
- (void)terminate;
- (void)terminateWithSuccess;
- (void)applicationSuspend:(struct __GSEvent *)fp8;
- (void)_sendApplicationSuspend:(struct __GSEvent *)fp8;
- (void)updateSuspendedSettings:(id)fp8;
- (void)applicationResume:(struct __GSEvent *)fp8;
- (void)applicationResume:(struct __GSEvent *)fp8 withArguments:(id)fp12;
- (id)roleID;
- (id)displayIdentifier;
- (BOOL)shouldShowPreferences;
- (void)openURL:(id)fp8 asPanel:(BOOL)fp12;
- (void)openURL:(id)fp8;
- (void)applicationOpenToShortCut:(id)fp8;
- (void)applicationOpenURL:(id)fp8;
- (void)applicationOpenURL:(id)fp8 asPanel:(BOOL)fp12;
- (void)_applicationOpenURL:(id)fp8 asPanel:(BOOL)fp12;
- (BOOL)isHandlingOpenShortCut;
- (void)_setHandlingURL:(BOOL)fp8 url:(id)fp12;
- (void)applicationShowHideSettings:(struct __GSEvent *)fp8;
- (void)showTTYPromptForNumber:(id)fp8 withID:(int)fp12;
- (void)showNetworkPromptsIfNecessary:(BOOL)fp8;
- (void)setUsesBackgroundNetwork:(BOOL)fp8;
- (BOOL)usesBackgroundNetwork;
- (void)_finishResume;
- (void)_finishSuspension;
- (void)_finishSuspensionEventOnlyAnimation;
- (void)_finishSuspensionEventOnly;
- (int)suspendAnimationType;
- (BOOL)useCompatibleSuspensionAnimation;
- (void)setUseCompatibleSuspensionAnimation:(BOOL)fp8;
- (void)_animateSuspension:(BOOL)fp8 duration:(double)fp12 startTime:(double)fp20 scale:(float)fp28;
- (void)_setupResumeAnimation;
- (void)_animateResumptionWithStartTime:(double)fp8 duration:(double)fp16 withPNG:(BOOL)fp24;
- (void)_animateSlideSuspension:(double)fp8;
- (void)_windowDeallocating:(id)fp8;
- (void)_animateSuspension;
- (BOOL)animateSuspensionReturningToLastApp:(double)fp8;
- (void)otherApplicationWillSuspend:(struct __GSEvent *)fp8;
- (id)userHomeDirectory;
- (id)userLibraryDirectory;
- (struct CGRect)applicationSnapshotRectForOrientation:(int)fp8;
- (struct CGImage *)createApplicationDefaultPNG;
- (void)_writeApplicationSnapshot;
- (id)nameOfDefaultImageToUpdateAtSuspension;
- (id)_pathToDefaultImageNamed:(id)fp8;
- (void)_updateDefaultImage;
- (void)removeDefaultImage:(id)fp8;
- (BOOL)launchApplicationWithIdentifier:(id)fp8 suspended:(BOOL)fp12;
- (void)_runSpringboardCommand:(id)fp8;
- (void)addStatusBarImageNamed:(id)fp8 removeOnAbnormalExit:(BOOL)fp12;
- (void)addStatusBarImageNamed:(id)fp8;
- (void)removeStatusBarImageNamed:(id)fp8;
- (void)setApplicationBadge:(id)fp8;
- (void)removeApplicationBadge;
- (void)addWebClipToHomeScreen:(id)fp8;
- (BOOL)homeScreenCanAddIcons;
- (struct CGRect)statusBarRect;
- (int)orientation;
- (int)statusBarMode;
- (int)_frontMostAppOrientation;
- (void)setStatusBarMode:(int)fp8 orientation:(int)fp12 duration:(float)fp16 fenceID:(int)fp20 animation:(int)fp24;
- (void)setStatusBarMode:(int)fp8 orientation:(int)fp12 duration:(float)fp16 fenceID:(int)fp20;
- (void)setStatusBarMode:(int)fp8 orientation:(int)fp12 duration:(float)fp16;
- (void)setStatusBarMode:(int)fp8 duration:(float)fp12;
- (void)setStatusBarCustomText:(id)fp8;
- (void)removeStatusBarCustomText;
- (void)_setStatusBarShowsProgress:(id)fp8;
- (void)setStatusBarShowsProgress:(BOOL)fp8;
- (int)applicationControlTint;
- (void)_setApplicationControlTint:(int)fp8;
- (void)setIgnoresInteractionEvents:(BOOL)fp8;
- (BOOL)ignoresInteractionEvents;
- (void)significantTimeChange;
- (BOOL)is24HourMode;
- (void)_handleUserDefaultsDidChange:(id)fp8;
- (void)userDefaultsDidChange:(id)fp8;
- (void)_updateKeyboardIfPreferenceChanged;
- (void)_keyboardPreferenceChanged;
- (void)_keyboardPreferenceChangedOrderOut;
- (void)_keyboardPreferenceChangedOrderIn;
- (void)_keyboardPreferenceAnimationDidStop:(id)fp8 finished:(id)fp12;
- (void)_registerForUserDefaultsChanges;
- (void)_unregisterForUserDefaultsChanges;
- (void)vibrateForDuration:(int)fp8;
- (void)setBacklightFactor:(int)fp8;
- (void)setBacklightLevel:(float)fp8;
- (void)setProximitySensorEnabled:(BOOL)fp8;
- (void)setSystemVolumeHUDEnabled:(BOOL)fp8 forAudioCategory:(id)fp12;
- (void)setSystemVolumeHUDEnabled:(BOOL)fp8;
- (void)_dumpUIHierarchy:(struct __GSEvent *)fp8;
- (void)_dumpScreenContents:(struct __GSEvent *)fp8;
- (void)_processScriptEvent:(struct __GSEvent *)fp8;
- (void)didReceiveMemoryWarning;
- (void)didReceiveUrgentMemoryWarning;
- (void)_receivedMemoryNotification;
- (void)setReceivesMemoryWarnings:(BOOL)fp8;
- (void)_registerForSleepWake;
- (void)_unregisterForSleepWake;
- (void)willSleep;
- (void)didWake;
- (void)_noteStatusBarHeightChanged:(float)fp8 fence:(int)fp12;
- (void)statusBarWillAnimateToHeight:(float)fp8 duration:(double)fp12 fence:(int)fp20;
- (int)lastEventType;
- (BOOL)handleEvent:(struct __GSEvent *)fp8;
- (void)setUIOrientation:(int)fp8;
- (void)setExpectsFaceContact:(BOOL)fp8;
- (void)setRelaunchesAfterAbnormalExit:(BOOL)fp8;
- (void)didDismissMiniAlert;
- (void)willDisplayMiniAlert:(int *)fp8;
- (void)willDismissMiniAlert:(int *)fp8 andShowAnother:(BOOL)fp12;
- (BOOL)isLocked;
- (BOOL)isPasscodeRequiredToUnlock;
- (void)requestDeviceUnlock;
- (BOOL)canShowAlerts;
- (id)displayIDForURLScheme:(id)fp8 isPublic:(BOOL)fp12;
- (int)alertOrientation;
- (void)runModal:(id)fp8;
- (void)stopModal;

@end

@interface UISuspendInfo : NSObject
{
    UIWindow *_window;
    struct CGAffineTransform _transform;
    float _alpha;
    float _level;
    float _suspendedScale;
    BOOL _restoreOnResume;
}

+ (void)createInfoWithWindows:(id)fp8;
+ (void)updateSuspendedInfo;
- (void)_addWindowToSnapshot;
- (id)initWithWindow:(id)fp8;
- (void)synchronizeDrawingWithID:(int)fp8;
- (void)restoreWindow;
- (void)setSuspendedScale:(float)fp8;
- (float)suspendedScale;
- (void)setRestoreOnResume:(BOOL)fp8;
- (BOOL)restoreOnResume;

@end

@interface SBSuspensionWindow : UIWindow
{
}

+ (struct CGRect)constrainFrameToScreen:(struct CGRect)fp8;
- (BOOL)_canExistBeyondSuspension;

@end

@interface UIBezierPath : NSObject
{
    struct CGPath *_pathRef;
    float _width;
}

+ (id)bezierPath;
+ (id)bezierPathKnockingOutTopOfRect:(struct CGRect)fp8 withCornerRadius:(float)fp24;
+ (id)bezierPathKnockingOutBottomOfRect:(struct CGRect)fp8 withCornerRadius:(float)fp24;
+ (id)roundedRectBezierPath:(struct CGRect)fp8 withRoundedEdges:(int)fp24;
+ (id)roundedRectBezierPath:(struct CGRect)fp8 withRoundedCorners:(int)fp24 withCornerRadius:(float)fp28;
+ (id)roundedRectBezierPath:(struct CGRect)fp8 withRoundedCorners:(int)fp24 withCornerRadii:(id)fp28;
+ (id)roundedRectBezierPath:(struct CGRect)fp8 withRoundedCorners:(int)fp24 visibleEdges:(int)fp28 cornerRadius:(float)fp32;
- (id)init;
- (void)dealloc;
- (struct CGPath *)_pathRef;
- (void)moveToPoint:(struct CGPoint)fp8;
- (void)lineToPoint:(struct CGPoint)fp8;
- (void)appendBezierPath:(id)fp8;
- (void)appendBezierPathWithRect:(struct CGRect)fp8;
- (void)appendBezierPathWithOvalInRect:(struct CGRect)fp8;
- (void)appendBezierPathWithOvalInRect:(struct CGRect)fp8 transform:(struct CGAffineTransform)fp24;
- (void)closePath;
- (void)appendBezierPathWithArcWithCenter:(struct CGPoint)fp8 radius:(float)fp16 startAngle:(float)fp20 endAngle:(float)fp24 clockwise:(BOOL)fp28;
- (void)setLineWidth:(float)fp8;
- (void)fill;
- (void)stroke;
- (void)clip;

@end

@interface UIImage : NSObject
{
    void *_imageRef;
    struct {
        unsigned int named:1;
        unsigned int cached:1;
        unsigned int orientation:3;
        unsigned int isCoreSurfaceBuffer:1;
        unsigned int reserved:26;
    } _imageFlags;
}

+ (void)initialize;
+ (void)removeImageNameFromCache:(id)fp8;
+ (void)_flushCacheOnSuspend:(id)fp8;
+ (id)imageNamed:(id)fp8;
+ (id)imageNamed:(id)fp8 inBundle:(id)fp12;
+ (id)imageAtPath:(id)fp8;
+ (id)applicationImageNamed:(id)fp8;
+ (id)defaultDesktopImage;
+ (void)setDesktopImageData:(id)fp8;
+ (id)imageFromAlbumArtData:(id)fp8 height:(int)fp12 width:(int)fp16 cache:(BOOL)fp20;
- (id)initWithContentsOfFile:(id)fp8 cache:(BOOL)fp12;
- (id)initWithContentsOfFile:(id)fp8;
- (id)initWithData:(id)fp8 cache:(BOOL)fp12;
- (id)initWithImageRef:(struct CGImage *)fp8 orientation:(int)fp12;
- (id)initWithImageRef:(struct CGImage *)fp8;
- (id)initWithCoreSurfaceBuffer:(struct __CoreSurfaceBuffer *)fp8;
- (void)dealloc;
- (struct CGImage *)imageRef;
- (struct __CoreSurfaceBuffer *)coreSurfaceBuffer;
- (struct CGSize)size;
- (int)orientation;
- (void)setOrientation:(int)fp8;
- (struct CGColor *)patternColor;
- (void)drawAsPatternInRect:(struct CGRect)fp8;
- (void)compositeToRect:(struct CGRect)fp8 fromRect:(struct CGRect)fp24 operation:(int)fp40 fraction:(float)fp44;
- (void)compositeToPoint:(struct CGPoint)fp8 fromRect:(struct CGRect)fp16 operation:(int)fp32 fraction:(float)fp36;
- (void)compositeToPoint:(struct CGPoint)fp8 operation:(int)fp16 fraction:(float)fp20;
- (void)compositeToPoint:(struct CGPoint)fp8 operation:(int)fp16;
- (void)draw9PartImageWithSliceRects:(CDAnonymousStruct12)fp8 inRect:(struct CGRect)fp152;
- (void)draw9PartImageWithSliceRects:(CDAnonymousStruct12)fp8 inRect:(struct CGRect)fp152 fraction:(float)fp168;
- (void)draw9PartImageWithSliceRects:(CDAnonymousStruct12)fp8 inRect:(struct CGRect)fp152 operation:(int)fp168 fraction:(float)fp172;
- (void)draw3PartImageWithSliceRects:(CDAnonymousStruct10)fp8 inRect:(struct CGRect)fp56;
- (void)draw3PartImageWithSliceRects:(CDAnonymousStruct10)fp8 inRect:(struct CGRect)fp56 fraction:(float)fp72;
- (void)draw3PartImageWithSliceRects:(CDAnonymousStruct10)fp8 inRect:(struct CGRect)fp56 operation:(int)fp72 fraction:(float)fp76;
- (void)draw1PartImageInRect:(struct CGRect)fp8;
- (void)draw1PartImageInRect:(struct CGRect)fp8 fraction:(float)fp24;
- (void)draw1PartImageInRect:(struct CGRect)fp8 fraction:(float)fp24 operation:(int)fp28;
- (id)_automationID;

@end

@interface UIImage (Internal)
- (void)_setCached:(BOOL)fp8;
- (BOOL)_isCached;
- (void)_setNamed:(BOOL)fp8;
- (BOOL)_isNamed;
@end

@interface NSString (UIStringDrawing)
- (void)drawAtPoint:(struct CGPoint)fp8 withStyle:(id)fp16;
- (void)drawInRect:(struct CGRect)fp8 withStyle:(id)fp24;
- (void)drawMarkupAtPoint:(struct CGPoint)fp8;
- (void)drawMarkupInRect:(struct CGRect)fp8;
- (struct CGSize)sizeWithStyle:(id)fp8 forWidth:(float)fp12;
- (struct CGSize)sizeWithMarkupForWidth:(float)fp8;
- (void)setStringDrawingOrigin:(struct CGPoint)fp8;
- (void)clearStringDrawingOrigin;
- (struct CGSize)sizeWithFont:(struct __GSFont *)fp8;
- (struct CGSize)sizeWithFont:(struct __GSFont *)fp8 forWidth:(float)fp12 ellipsis:(int)fp16;
- (struct CGSize)drawAtPoint:(struct CGPoint)fp8 withFont:(struct __GSFont *)fp16;
- (struct CGSize)drawAtPoint:(struct CGPoint)fp8 forWidth:(float)fp16 withFont:(struct __GSFont *)fp20 ellipsis:(int)fp24;
- (struct CGSize)sizeWithFont:(struct __GSFont *)fp8 minFontSize:(float)fp12 actualFontSize:(float *)fp16 forWidth:(float)fp20 ellipsis:(int)fp24;
- (struct CGSize)drawAtPoint:(struct CGPoint)fp8 forWidth:(float)fp16 withFont:(struct __GSFont *)fp20 fontSize:(float)fp24 ellipsis:(int)fp28 baselineAdjustment:(int)fp32;
- (struct CGSize)drawAtPoint:(struct CGPoint)fp8 forWidth:(float)fp16 withFont:(struct __GSFont *)fp20 minFontSize:(float)fp24 actualFontSize:(float *)fp28 ellipsis:(int)fp32 baselineAdjustment:(int)fp36;
- (struct CGSize)drawInRect:(struct CGRect)fp8 withFont:(struct __GSFont *)fp24 ellipsis:(int)fp28;
- (struct CGSize)drawInRect:(struct CGRect)fp8 withFont:(struct __GSFont *)fp24 ellipsis:(int)fp28 alignment:(int)fp32;
- (struct CGSize)drawInRect:(struct CGRect)fp8 withFont:(struct __GSFont *)fp24;
- (struct CGSize)sizeInRect:(struct CGRect)fp8 withFont:(struct __GSFont *)fp24 ellipsis:(int)fp28;
- (struct CGSize)sizeInRect:(struct CGRect)fp8 withFont:(struct __GSFont *)fp24;
@end

@interface UIWindow : UIView
{
    struct __GSWindow *_window;
    float _windowLevel;
    LKContext *_layerContext;
    UIView *_lastMouseDownView;
    UIView *_lastMouseEnteredView;
    UIResponder *_firstResponder;
    struct _UIRenderInfo *_renderInfo;
    UIFingerInfo *_fingerInfo;
    UIView *_rotatableView;
    int _viewOrientation;
    struct {
        unsigned int dontBecomeKeyOnOrderFront:1;
        unsigned int output:1;
        unsigned int inGesture:1;
        unsigned int trackingStatusBar:1;
        unsigned int resetLevelOnSuspend:1;
        unsigned int cancelScroller:1;
        unsigned int bitsPerComponent:4;
        unsigned int reserved:22;
    } _windowFlags;
}

+ (struct CGRect)constrainFrameToScreen:(struct CGRect)fp8;
+ (id)keyWindow;
- (id)initWithFrame:(struct CGRect)fp8;
- (id)initWithFrame:(struct CGRect)fp8 output:(int)fp24 bitsPerComponent:(int)fp28;
- (id)initWithContentRect:(struct CGRect)fp8;
- (void)dealloc;
- (void)setContentView:(id)fp8;
- (BOOL)shouldRespondToStatusBarHeightChange;
- (id)representation;
- (void)writeSnapshotsToDir:(id)fp8;
- (int)controlTint;
- (BOOL)_canExistBeyondSuspension;
- (void)orderFront:(id)fp8;
- (void)orderOut:(id)fp8;
- (void)makeKey:(id)fp8;
- (struct CGPoint)warpPoint:(struct CGPoint)fp8;
- (BOOL)_pointInStatusBar:(struct CGPoint)fp8;
- (void)_handleMouseDown:(struct __GSEvent *)fp8;
- (void)_handleMouseDragged:(struct __GSEvent *)fp8;
- (void)_handleMouseUp:(struct __GSEvent *)fp8;
- (void)_handleMouseEntered:(struct __GSEvent *)fp8;
- (void)_handleMouseMoved:(struct __GSEvent *)fp8;
- (void)_handleMouseExited:(struct __GSEvent *)fp8;
- (void)_statusBarMouseDown:(struct __GSEvent *)fp8;
- (void)_statusBarMouseDragged:(struct __GSEvent *)fp8;
- (void)_statusBarMouseUp:(struct __GSEvent *)fp8;
- (void)sendEvent:(struct __GSEvent *)fp8;
- (void)_beginModalSession;
- (void)_endModalSession;
- (id)nextResponder;
- (BOOL)_containedInAbsoluteResponderChain;
- (struct CGPoint)convertWindowToDevice:(struct CGPoint)fp8;
- (struct CGPoint)convertDeviceToWindow:(struct CGPoint)fp8;
- (void)setLevel:(float)fp8;
- (float)level;
- (void)setBecomeKeyOnOrderFront:(BOOL)fp8;
- (void)setRotatableView:(id)fp8;
- (void)_handleOrientationChange:(id)fp8;
- (void)_finishedFullRotation;
- (void)_finishedHalfRotation:(id)fp8 finished:(id)fp12 context:(void *)fp16;
- (void)setRotatableViewOrientation:(int)fp8 duration:(double)fp12;
- (void)synchronizeDrawingWithID:(int)fp8;
- (void)handleStatusBarHeightChange;
- (void)setFrame:(struct CGRect)fp8;
- (void)setTransform:(struct CGAffineTransform)fp8;
- (int)output;
- (int)bitsPerComponent;
- (id)contentView;
- (void)_registerChargedView:(id)fp8;
- (void)_unregisterChargedView:(id)fp8;
- (void)_registerSwipeView:(id)fp8;
- (void)_unregisterSwipeView:(id)fp8;
- (void)_setFirstResponder:(id)fp8;
- (id)firstResponder;
- (id)_firstResponder;
- (unsigned int)_becomeFirstResponderWhenPossible;
- (void)_setMouseDownView:(id)fp8 withEvent:(struct __GSEvent *)fp12;
- (void)_setMouseEnteredView:(id)fp8;
- (BOOL)_clearMouseView;
- (void)_noteStatusBarHeightChanged:(float)fp8 fence:(int)fp12;
- (BOOL)_isHidden;
- (void)_setHidden:(BOOL)fp8;
- (void)_setNeedsResetLevel:(BOOL)fp8;
- (BOOL)_needsResetLevel;
- (void)_resetLevel;
- (void *)createCoreSurfaceWithFrame:(struct CGRect)fp8;
- (void *)createCoreSurface;
- (struct CGImage *)_createCGImageRefRepresentationInFrame:(struct CGRect)fp8;
- (void)_setCancelScroller:(BOOL)fp8;

@end

@interface UIFingerInfo : NSObject
{
    struct __CFDictionary *_fingers;
    int _activeFinger;
    BOOL _activeFingerLocked;
}

- (void)dealloc;
- (void)startTouch:(CDAnonymousStruct17)fp8 withEvent:(struct __GSEvent *)fp28 adjustLocation:(BOOL)fp32;
- (BOOL)chordChanged:(CDAnonymousStruct17)fp8 withEvent:(struct __GSEvent *)fp28 adjustLocation:(BOOL)fp32;
- (BOOL)fingersMoved:(CDAnonymousStruct17)fp8 withEvent:(struct __GSEvent *)fp28 adjustLocation:(BOOL)fp32;
- (BOOL)hasActiveFinger;

@end

@interface UIWindow (Static)
- (struct __GSWindow *)_windowRef;
@end

@interface UIViewTapInfo : NSObject
{
    id _delegate;
    UIView *_view;
    int _tapDownCount;
    int _fingerCount;
    float _multiTapDelay;
    float _rejectAsTapThrehold;
    float _viewTouchPauseThreshold;
    struct CGPoint _startPosition;
    double _startTime;
    struct {
        unsigned int shouldSendTouchPauseUp:1;
        unsigned int delegateViewHandleTapWithCountEvent:1;
        unsigned int delegateViewHandleTapWithCountEventFingerCount:1;
        unsigned int delegateViewHandleTouchPauseIsDown:1;
        unsigned int reserved:28;
    } _tapInfoFlags;
}

- (id)initWithDelegate:(id)fp8 view:(id)fp12;
- (void)releaseAndClearWeakRefs;
- (void)clearTapState;
- (void)setDelegate:(id)fp8;
- (void)_handleTapWithCount:(int)fp8 event:(struct __GSEvent *)fp12;
- (void)handleSingleTapEvent:(struct __GSEvent *)fp8;
- (void)handleDoubleTapEvent:(struct __GSEvent *)fp8;
- (void)scheduleSingleTapHandlerForEvent:(struct __GSEvent *)fp8;
- (void)_sendTouchPauseDownIfNecessary;
- (void)_sendTouchPauseUpIfNecessary;
- (void)mouseDown:(struct __GSEvent *)fp8;
- (BOOL)_eventLocationConsideredMovement:(struct __GSEvent *)fp8;
- (void)mouseDragged:(struct __GSEvent *)fp8;
- (void)mouseUp:(struct __GSEvent *)fp8;
- (BOOL)cancelMouseTracking;

@end

@interface UIView : UIResponder
{
    LKLayer *_layer;
    UIViewTapInfo *_tapInfo;
    UIGestureInfo *_gestureInfo;
    float _charge;
    int _tag;
    struct {
        unsigned int disabled:1;
        unsigned int implementsDrawRect:1;
        unsigned int implementsDidScroll:1;
        unsigned int implementsMouseTracking:1;
        unsigned int hasBackgroundColor:1;
        unsigned int isOpaque:1;
        unsigned int becomeFirstResponderWhenCapable:1;
        unsigned int interceptMouseEvent:1;
        unsigned int deallocating:1;
        unsigned int debugFlash:1;
        unsigned int debugSkippedSetNeedsDisplay:1;
        unsigned int debugScheduledDisplayIsRequired:1;
        unsigned int isInAWindow:1;
        unsigned int isAncestorOfFirstResponder:1;
        unsigned int dontAutoresizeSubviews:1;
        unsigned int autoresizeMask:6;
        unsigned int patternBackground:1;
        unsigned int fixedBackgroundPattern:1;
        unsigned int dontAnimate:1;
        unsigned int superLayerIsView:1;
        unsigned int layerKitPatternDrawing:1;
        unsigned int inRenderTree:1;
        unsigned int coreSurfaceImage:1;
        unsigned int reserved:4;
    } _viewFlags;
}

+ (Class)layerClass;
- (id)init;
- (void)_createLayerWithFrame:(struct CGRect)fp8;
- (id)initWithFrame:(struct CGRect)fp8;
- (void)dealloc;
- (void)setEnabled:(BOOL)fp8;
- (BOOL)isEnabled;
- (void)setCharge:(float)fp8;
- (float)charge;
- (void)setTapDelegate:(id)fp8;
- (id)tapDelegate;
- (id)nextResponder;
- (void)_clearBecomeFirstResponderWhenCapable;
- (unsigned int)_becomeFirstResponderWhenPossible;
- (void)startHeartbeat:(SEL)fp8 inRunLoopMode:(id)fp12;
- (void)stopHeartbeat:(SEL)fp8;
- (BOOL)cancelMouseTracking;
- (BOOL)canHandleSwipes;
- (int)swipe:(int)fp8 withEvent:(struct __GSEvent *)fp12;

@end

@interface UIViewHeartbeat : NSObject
{
    UIView *_view;
    SEL _selector;
    struct __GSHeartbeat *_heartbeat;
}

+ (void)startHeartbeatWithView:(id)fp8 selector:(SEL)fp12 inRunLoopMode:(id)fp16;
+ (void)stopHeartbeatWithView:(id)fp8 selector:(SEL)fp12;
- (void)dealloc;

@end

@interface UIViewAnimationState : NSObject
{
    UIViewAnimationState *_nextState;
    NSString *_animationID;
    void *_context;
    id _delegate;
    double _duration;
    double _delay;
    double _frameInterval;
    double _start;
    int _curve;
    float _repeatCount;
    int _transition;
    UIView *_transitionView;
    SEL _willStartSelector;
    SEL _didEndSelector;
    int _didEndCount;
    struct CGPoint _position;
    unsigned int _willStartSent:1;
    unsigned int _useCurrentLayerState:1;
    unsigned int _cacheTransition:1;
    unsigned int _autoreverses:1;
    unsigned int _roundsToInteger:1;
    unsigned int _reserved:27;
}

+ (void)pushViewAnimationState:(id)fp8 context:(void *)fp12;
+ (void)popAnimationState;
- (void)dealloc;
- (void)setAnimationAttributes:(id)fp8;
- (void)animationDidStart:(id)fp8;
- (void)sendDelegateAnimationDidStop:(id)fp8 finished:(BOOL)fp12;
- (void)animationDidStop:(id)fp8 finished:(BOOL)fp12;

@end

@interface LKLayer (UIView)
@end

@interface UIView (SyntheticEvents)
- (id)_plist:(struct CGPoint)fp8;
- (id)plistWithChildren:(struct CGPoint)fp8;
@end

@interface UIView (LKLayerDelegate)
- (void)drawLayer:(id)fp8 inContext:(struct CGContext *)fp12;
- (void)setValue:(id)fp8 forKey:(id)fp12;
- (void)_layoutSublayersOfLayer:(id)fp8;
- (id)actionForLayer:(id)fp8 forKey:(id)fp12;
@end

@interface UIView (Internal)
+ (void)_setInvalidatesViewUponCreation:(BOOL)fp8;
+ (BOOL)_invalidatesViewUponCreation;
+ (void)_setIsResponderAncestorOfFirstResponder:(BOOL)fp8 startingAtFirstResponder:(id)fp12;
- (BOOL)_subclassImplementsDrawRect;
- (id)_window;
- (id)_layer;
- (id)_scroller;
- (void)_didScroll;
- (void)_invalidateSubviewCache;
- (void)_invalidateLayerContents;
- (void)_setInterceptMouseEvent:(BOOL)fp8;
- (id)_interceptMouseEvent:(struct __GSEvent *)fp8;
- (BOOL)_canDrawContent;
- (void)_didMoveFromWindow:(id)fp8 toWindow:(id)fp12;
- (BOOL)_alwaysHandleScrollerMouseEvent;
- (BOOL)_alwaysHandleInteractionEvents;
- (BOOL)_containedInAbsoluteResponderChain;
- (void)_mouseDown:(struct __GSEvent *)fp8;
- (void)_mouseDragged:(struct __GSEvent *)fp8;
- (void)_mouseUp:(struct __GSEvent *)fp8;
- (BOOL)_cancelTapDelegateTracking;
- (BOOL)_canHandleStatusBarMouseEvents;
- (void)_setContentImage:(id)fp8;
- (void)_setContentsTransform:(struct CGAffineTransform)fp8;
- (void)_renderSnapshotWithRect:(struct CGRect)fp8 inContext:(struct CGContext *)fp24;
@end

@interface UIView (Deprecated)
+ (void)setAnimationTransition:(int)fp8 forView:(id)fp12;
- (id)initWithSize:(struct CGSize)fp8;
- (struct CGSize)size;
- (void)setSize:(struct CGSize)fp8;
@end

@interface UIView (Animation)
+ (void)beginAnimations:(id)fp8;
+ (void)beginAnimations:(id)fp8 context:(void *)fp12;
+ (void)endAnimations;
+ (void)setAnimationDelegate:(id)fp8;
+ (void)setAnimationFromCurrentState:(BOOL)fp8;
+ (void)setAnimationPosition:(struct CGPoint)fp8;
+ (void)disableAnimation;
+ (void)enableAnimation;
+ (void)setAnimationDuration:(double)fp8;
+ (void)setAnimationDelay:(double)fp8;
+ (void)setAnimationFrameInterval:(double)fp8;
+ (void)setAnimationStartTime:(double)fp8;
+ (void)setAnimationCurve:(int)fp8;
+ (void)setAnimationRepeatCount:(float)fp8;
+ (void)setAnimationAutoreverses:(BOOL)fp8;
+ (void)setAnimationRoundsToInteger:(BOOL)fp8;
+ (void)setAnimationTransition:(int)fp8 forView:(id)fp12 cache:(BOOL)fp16;
+ (void)setAnimationWillStartSelector:(SEL)fp8;
+ (void)setAnimationDidStopSelector:(SEL)fp8;
- (void)addAnimation:(id)fp8 forKey:(id)fp12;
@end

@interface UIView (Rendering)
+ (void)flush;
- (void)drawRect:(struct CGRect)fp8;
- (struct CGRect)visibleBounds;
- (void)setNeedsDisplay;
- (void)setNeedsDisplayInRect:(struct CGRect)fp8;
- (BOOL)needsDisplay;
- (BOOL)needsDisplayOnBoundsChange;
- (void)setNeedsDisplayOnBoundsChange:(BOOL)fp8;
- (void)setClipsSubviews:(BOOL)fp8;
- (BOOL)clipsSubviews;
- (void)setBackgroundColor:(struct CGColor *)fp8;
- (struct CGColor *)backgroundColor;
- (void)setFixedBackgroundPattern:(BOOL)fp8;
- (void)setAlpha:(float)fp8;
- (float)alpha;
- (void)setOpaque:(BOOL)fp8;
- (BOOL)isOpaque;
- (void)setClearsContext:(BOOL)fp8;
- (void)setContentsPosition:(int)fp8;
- (int)controlTint;
- (void)setControlTint:(int)fp8;
- (struct CGImage *)createSnapshotWithRect:(struct CGRect)fp8;
- (void)forceDisplayIfNeeded;
- (void)recursivelyForceDisplayIfNeeded;
- (void)_enableLayerKitPatternDrawing:(BOOL)fp8;
@end

@interface UIView (Hierarchy)
- (BOOL)containsView:(id)fp8;
- (id)superview;
- (id)subviews;
- (void)removeFromSuperview;
- (void)insertSubview:(id)fp8 atIndex:(unsigned int)fp12;
- (void)exchangeSubviewAtIndex:(unsigned int)fp8 withSubviewAtIndex:(unsigned int)fp12;
- (void)addSubview:(id)fp8;
- (void)_movedToFront;
- (void)bringSubviewToFront:(id)fp8;
- (void)sendSubviewToBack:(id)fp8;
- (void)insertSubview:(id)fp8 below:(id)fp12;
- (void)insertSubview:(id)fp8 above:(id)fp12;
- (id)_findFirstSubviewWantingToBecomeFirstResponder;
- (void)_makeSubtreePerformSelector:(SEL)fp8;
- (BOOL)_shouldTryPromoteDescendantToFirstResponder;
- (void)_promoteDescendantToFirstResponderIfNecessary;
- (void)_postMovedFromSuperview:(id)fp8;
- (void)movedFromSuperview:(id)fp8;
- (void)movedToSuperview:(id)fp8;
- (void)movedFromWindow:(id)fp8;
- (void)movedToWindow:(id)fp8;
- (void)setTag:(int)fp8;
- (int)tag;
- (id)viewWithTag:(int)fp8;
- (void)setNeedsLayout;
- (void)layoutIfNeeded;
- (void)layoutSubviews;
@end

@interface UIView (Geometry)
- (struct CGRect)frame;
- (struct CGRect)extent;
- (void)setFrame:(struct CGRect)fp8;
- (struct CGAffineTransform)transform;
- (void)setTransform:(struct CGAffineTransform)fp8;
- (BOOL)ignoresMouseEvents;
- (id)hitTest:(struct CGPoint)fp8 forEvent:(struct __GSEvent *)fp16;
- (BOOL)pointInside:(struct CGPoint)fp8 forEvent:(struct __GSEvent *)fp16;
- (struct CGPoint)convertPoint:(struct CGPoint)fp8 toView:(id)fp16;
- (struct CGPoint)convertPoint:(struct CGPoint)fp8 fromView:(id)fp16;
- (struct CGSize)convertSize:(struct CGSize)fp8 fromView:(id)fp16;
- (struct CGRect)convertRect:(struct CGRect)fp8 fromView:(id)fp24;
- (struct CGRect)convertRect:(struct CGRect)fp8 toView:(id)fp24;
- (struct CGRect)hitRect;
- (void)setFrame:(struct CGRect)fp8 forFields:(int)fp24;
- (void)setRotationBy:(float)fp8;
- (void)setAutoresizesSubviews:(BOOL)fp8;
- (BOOL)autoresizesSubviews;
- (void)setAutoresizingMask:(unsigned int)fp8;
- (void)resizeSubviewsWithOldSize:(struct CGSize)fp8;
- (void)resizeWithOldSuperviewSize:(struct CGSize)fp8;
- (struct CGRect)bounds;
- (void)setBounds:(struct CGRect)fp8;
- (struct CGPoint)position;
- (void)setPosition:(struct CGPoint)fp8;
- (struct CGPoint)origin;
- (void)setOrigin:(struct CGPoint)fp8;
@end

@interface NSDictionary (UICollectionAdditions)
- (BOOL)boolForKey:(id)fp8;
@end

@interface NSMutableArray (UICollectionAdditions_Performance)
- (void)addObjectsFromArray:(id)fp8 range:(struct _NSRange)fp12;
@end

@interface NSArray (UICollectionAdditions_Performance)
- (id)initWithObjectsFromArray:(id)fp8 range:(struct _NSRange)fp12;
- (void)makeObjectsPerformSelector:(SEL)fp8 object:(id)fp12 range:(struct _NSRange)fp16;
@end

@interface NSMutableArray (UICollectionAdditions)
- (void)push:(void *)fp8;
- (void *)pop;
- (void *)top;
@end

@interface UIScroller : UIView
{
    struct CGSize _contentSize;
    id _delegate;
    UIScrollerIndicator *_verticalScrollerIndicator;
    UIScrollerIndicator *_horizontalScrollerIndicator;
    struct {
        unsigned int bounceEnabled:1;
        unsigned int rubberBanding:1;
        unsigned int scrollingDisabled:1;
        unsigned int scrollingDisabledOnMouseDown:1;
        unsigned int directionalLockEnabled:1;
        unsigned int eventMode:3;
        unsigned int dragging:1;
        unsigned int mouseDragged:1;
        unsigned int scrollTriggered:1;
        unsigned int dontSelect:1;
        unsigned int contentHighlighted:1;
        unsigned int lockVertical:1;
        unsigned int lockHorizontal:1;
        unsigned int keepLocked:1;
        unsigned int bouncedVertical:1;
        unsigned int bouncedHorizontal:1;
        unsigned int mouseUpGuard:1;
        unsigned int pushedTrackingMode:1;
        unsigned int delegateScrollerDidScroll:1;
        unsigned int delegateScrollerAdjustSmoothScrollEndVelocity:1;
        unsigned int delegateScrollerShouldAdjustSmoothScrollEndForVelocity:1;
        unsigned int offsetIgnoresContentSize:1;
        unsigned int usingThumb:1;
        unsigned int thumbDetectionEnabled:1;
        unsigned int showScrollerIndicators:1;
        unsigned int indicatorSubrect:1;
        unsigned int indicatorHideInGesture:1;
        unsigned int pinIndicatorToContent:1;
        unsigned int indicatorStyle:2;
        unsigned int multipleDrag:1;
        unsigned int showBackgroundShadow:1;
        unsigned int cancelNextContentMouseUp:1;
        unsigned int displayingScrollIndicators:1;
        unsigned int dontResetStartTouchPosition:1;
        unsigned int verticalIndicatorShrunk:1;
        unsigned int horizontalIndicatorShrunk:1;
        unsigned int highlightContentImmediately:1;
        unsigned int adjustedEndOffset:1;
        unsigned int ignoreNextMouseDrag:1;
        unsigned int contentFitDisableScrolling:1;
        unsigned int reserved:21;
    } _scrollerFlags;
    float _scrollHysteresis;
    float _scrollDecelerationFactor;
    double _scrollToPointAnimationDuration;
    float _directionalScrollingAngle;
    float _farthestDistance;
    float _leftRubberBandWidth;
    float _rightRubberBandWidth;
    float _topRubberBandHeight;
    float _bottomRubberBandHeight;
    float _bottomBufferHeight;
    struct CGPoint _initialTouchPosition;
    struct CGPoint _startTouchPosition;
    double _startTouchTime;
    struct CGPoint _startOffset;
    struct CGPoint _lastTouchPosition;
    double _lastTouchTime;
    double _lastUpdateTime;
    struct CGPoint _lastUpdateOffset;
    UIView *_lastHighlightedView;
    CDAnonymousStruct1 _velocity;
    CDAnonymousStruct1 _previousVelocity;
    CDAnonymousStruct1 _decelerationFactor;
    CDAnonymousStruct1 _decelerationLnFactor;
    struct CGPoint _stopOffset;
    struct __GSHeartbeat *_scrollHeartbeat;
    struct CGRect _indicatorSubrect;
    UIView *_scrollerShadows[2];
    UIView *_contentShadows[8];
    id _scrollNotificationViews;
    struct CGSize _gridSize;
    CDAnonymousStruct1 _gridBounceLnFactor;
}

- (id)initWithFrame:(struct CGRect)fp8;
- (void)dealloc;
- (void)setFrame:(struct CGRect)fp8;
- (void)setContentSize:(struct CGSize)fp8;
- (struct CGSize)contentSize;
- (void)setAdjustForContentSizeChange:(BOOL)fp8;
- (void)setOffset:(struct CGPoint)fp8;
- (struct CGPoint)offset;
- (void)setBottomBufferHeight:(float)fp8;
- (float)bottomBufferHeight;
- (void)scrollByDelta:(struct CGSize)fp8;
- (void)scrollByDelta:(struct CGSize)fp8 animated:(BOOL)fp16;
- (void)removeFromSuperview;
- (void)_didMoveFromWindow:(id)fp8 toWindow:(id)fp12;
- (struct CGPoint)_pinnedScrollPointForPoint:(struct CGPoint)fp8;
- (void)scrollPointVisibleAtTopLeft:(struct CGPoint)fp8;
- (void)_scrollAnimationEnded;
- (void)scrollPointVisibleAtTopLeft:(struct CGPoint)fp8 animated:(BOOL)fp16;
- (void)scrollRectToVisible:(struct CGRect)fp8 animated:(BOOL)fp24;
- (void)scrollRectToVisible:(struct CGRect)fp8;
- (void)setScrollToPointAnimationDuration:(double)fp8;
- (double)scrollToPointAnimationDuration;
- (void)setScrollHysteresis:(float)fp8;
- (void)setEventMode:(int)fp8;
- (void)setAllowsRubberBanding:(BOOL)fp8;
- (void)setAllowsFourWayRubberBanding:(BOOL)fp8;
- (void)setDirectionalScrolling:(BOOL)fp8;
- (void)setDirectionalScrollingAngle:(float)fp8;
- (void)setScrollingEnabled:(BOOL)fp8;
- (void)setScrollDecelerationFactor:(float)fp8;
- (void)setBounces:(BOOL)fp8;
- (void)setGridSize:(struct CGSize)fp8;
- (void)setThumbDetectionEnabled:(BOOL)fp8;
- (void)setShowScrollerIndicators:(BOOL)fp8;
- (void)setScrollerIndicatorSubrect:(struct CGRect)fp8;
- (void)setScrollerIndicatorsPinToContent:(BOOL)fp8;
- (void)setScrollerIndicatorStyle:(int)fp8;
- (void)_hideScrollIndicators;
- (void)displayScrollerIndicators;
- (void)setRubberBand:(float)fp8 forEdges:(int)fp12;
- (BOOL)releaseRubberBandIfNecessary;
- (void)setDelegate:(id)fp8;
- (id)delegate;
- (void)setShowBackgroundShadow:(BOOL)fp8;
- (id)hitTest:(struct CGPoint)fp8 forEvent:(struct __GSEvent *)fp16;
- (void)mouseDown:(struct __GSEvent *)fp8;
- (void)setOffsetForDragOffset:(struct CGPoint)fp8 withEvent:(struct __GSEvent *)fp16 duration:(float)fp20;
- (struct CGPoint)dragStartOffset;
- (void)mouseDragged:(struct __GSEvent *)fp8;
- (void)gestureStarted:(struct __GSEvent *)fp8;
- (void)gestureChanged:(struct __GSEvent *)fp8;
- (void)gestureEnded:(struct __GSEvent *)fp8;
- (void)_popTrackingRunLoopMode;
- (void)mouseUp:(struct __GSEvent *)fp8;
- (BOOL)canHandleSwipes;
- (int)swipe:(int)fp8 withEvent:(struct __GSEvent *)fp12;
- (BOOL)cancelMouseTracking;
- (void)cancelNextContentMouseUp;
- (void)contentMouseUpInView:(id)fp8 withEvent:(struct __GSEvent *)fp12;
- (void)highlightView:(id)fp8 state:(BOOL)fp12;
- (void)setHighlightContentImmediately:(BOOL)fp8;
- (CDAnonymousStruct1)velocity;
- (BOOL)isScrolling;
- (BOOL)isDecelerating;
- (BOOL)adjustSmoothScrollEnd:(CDAnonymousStruct1)fp8;

@end

@interface UIScrollerIndicator : UIView
{
    int _style;
}

- (id)initInScroller:(id)fp8 style:(int)fp12;
- (void)drawRect:(struct CGRect)fp8;

@end

@interface UIScrollerScrollAnimation : UIAnimation
{
    struct CGPoint _originalOffset;
    struct CGPoint _targetOffset;
}

- (struct CGPoint)targetOffset;
- (void)setTargetOffset:(struct CGPoint)fp8;
- (void)setOriginalOffset:(struct CGPoint)fp8;
- (void)setProgress:(float)fp8;

@end

@interface UIScroller (Static)
- (void)_notifyDidScroll;
- (BOOL)_passControlEvents;
- (void)_controlMouseDown:(struct __GSEvent *)fp8;
- (void)_controlMouseUp:(struct __GSEvent *)fp8;
- (void)_controlMouseDragged:(struct __GSEvent *)fp8;
- (void)_smoothScroll:(double)fp8;
- (BOOL)_continueScrollingAtOffset:(struct CGPoint)fp8;
- (void)_runLoopModePopped:(id)fp8;
- (void)_startTimer:(BOOL)fp8;
- (void)_adjustEndOffset;
- (BOOL)_dragging;
- (void)_doContentHighlight;
- (void)_adjustScrollerIndicators:(BOOL)fp8 alwaysShowingThem:(BOOL)fp12;
- (void)_disableScrollingIfEntirelyVisible;
@end

@interface UIScroller (Internal)
+ (void)_registerForNotifications;
+ (void)_unregisterForNotifications;
- (void)_adjustBackgroundShadowsForContentSize:(struct CGSize)fp8;
- (void)_resetScrollingWithEvent:(struct __GSEvent *)fp8;
- (void)_stopScrollingNotify:(BOOL)fp8 dealloc:(BOOL)fp12 pin:(BOOL)fp16;
- (BOOL)_alwaysHandleInteractionEvents;
- (BOOL)_isUserScrolling;
- (id)_topSpecialView;
- (id)_bottomSpecialView;
- (id)_bottomShadowView;
- (void)_adjustSpecialViews;
- (void)_addScrollNotificationView:(id)fp8;
- (void)_removeScrollNotificationView:(id)fp8;
- (void)_cancelContentHighlight;
@end

@interface UINavigationBarBackground : UIView
{
    int _barStyle;
}

- (id)initWithFrame:(struct CGRect)fp8;
- (void)setBarStyle:(int)fp8;
- (int)barStyle;
- (void)drawRect:(struct CGRect)fp8;

@end

@interface UINavBarPrompt : UIView
{
    NSString *_prompt;
    UINavigationBar *_navBar;
}

- (id)initWithPrompt:(id)fp8 navBar:(id)fp12;
- (void)dealloc;
- (void)setPrompt:(id)fp8;
- (id)prompt;
- (struct CGRect)promptBounds;
- (void)drawRect:(struct CGRect)fp8;
- (void)setFrame:(struct CGRect)fp8;

@end

@interface UINavigationItemButtonView : UINavigationItemView
{
    int _style;
    BOOL _pressed;
    UINavigationBar *_navBar;
}

- (id)initWithNavigationItem:(id)fp8 navBar:(id)fp12;
- (void)drawRect:(struct CGRect)fp8;
- (id)title;
- (void)setStyle:(int)fp8;
- (void)setPressed:(BOOL)fp8;
- (BOOL)pressed;
- (id)_automationID;
- (struct __GSFont *)_defaultFont;

@end

@interface UINavigationItemView : UIView
{
    struct __GSFont *_font;
    UINavigationItem *_item;
    float _titleWidth;
    BOOL _titleAutosizesToFit;
}

- (id)initWithNavigationItem:(id)fp8;
- (id)navigationItem;
- (struct __GSFont *)_defaultFont;
- (void)drawText:(id)fp8 inRect:(struct CGRect)fp12;
- (void)setFrame:(struct CGRect)fp8;
- (void)drawRect:(struct CGRect)fp8;
- (void)_resetTitleWidth;
- (float)_titleWidth;
- (id)title;
- (void)setTitleAutoresizesToFit:(BOOL)fp8;
- (BOOL)titleAutoresizesToFit;
- (void)setFont:(struct __GSFont *)fp8;
- (struct __GSFont *)font;

@end

@interface UINavBarButton : UIThreePartButton
{
    int _style;
    int _barStyle;
    float _padding;
    BOOL _multiple;
}

- (BOOL)contentsEqualTo:(id)fp8 withStyle:(int)fp12;
- (void)setNavBarButtonStyle:(int)fp8;
- (void)drawImageAtPoint:(struct CGPoint)fp8 fraction:(float)fp16;
- (void)drawButtonPart:(int)fp8 inRect:(struct CGRect)fp12;
- (BOOL)_canHandleStatusBarMouseEvents;

@end

@interface UINavigationBar : UIView
{
    NSMutableArray *_itemStack;
    float _rightMargin;
    int _state;
    id _delegate;
    UINavBarButton *_rightButton;
    UINavBarButton *_leftButton;
    UINavBarPrompt *_prompt;
    UIView *_accessoryView;
    struct {
        unsigned int animate:1;
        unsigned int animationDisabledCount:10;
        unsigned int barStyle:3;
        unsigned int disableLayout:1;
        unsigned int backPressed:1;
        unsigned int animatePromptChange:1;
        unsigned int hideBackButton:1;
        unsigned int removeAccessoryOnPop:1;
        unsigned int titleAutosizesToFit:1;
        unsigned int reserved:12;
    } _navbarFlags;
}

+ (struct CGSize)defaultSize;
+ (struct CGSize)defaultSizeWithPrompt;
+ (struct __GSFont *)defaultPromptFont;
- (id)initWithFrame:(struct CGRect)fp8;
- (void)dealloc;
- (void)drawRect:(struct CGRect)fp8;
- (void)setAccessoryView:(id)fp8;
- (void)setAccessoryView:(id)fp8 animate:(BOOL)fp12 removeOnPop:(BOOL)fp16;
- (void)pushNavigationItem:(id)fp8;
- (void)popNavigationItem;
- (id)topItem;
- (void)setNavigationItems:(id)fp8;
- (id)navigationItems;
- (id)navigationItemAtPoint:(struct CGPoint)fp8;
- (void)_navigationAnimationDidFinish;
- (BOOL)_canHandleStatusBarMouseEvents;
- (id)hitTest:(struct CGPoint)fp8 forEvent:(struct __GSEvent *)fp16;
- (void)mouseDown:(struct __GSEvent *)fp8;
- (void)mouseUp:(struct __GSEvent *)fp8;
- (void)setDelegate:(id)fp8;
- (id)delegate;
- (void)setBarStyle:(int)fp8;
- (void)setRightMargin:(float)fp8;
- (void)setTitleAutoresizesToFit:(BOOL)fp8;
- (BOOL)titleAutoresizesToFit;
- (void)setPrompt:(id)fp8;
- (id)prompt;
- (id)promptView;
- (struct CGRect)promptBounds;
- (void)disableAnimation;
- (void)enableAnimation;
- (BOOL)isAnimationEnabled;
- (unsigned int)animationDisabledCount;
- (void)drawBackgroundInRect:(struct CGRect)fp8 withStyle:(int)fp24;
- (void)drawBackButtonBackgroundInRect:(struct CGRect)fp8 withStyle:(int)fp24 pressed:(BOOL)fp28;
- (void)showButtonsWithLeftTitle:(id)fp8 rightTitle:(id)fp12;
- (void)showButtonsWithLeftTitle:(id)fp8 rightTitle:(id)fp12 leftBack:(BOOL)fp16;
- (void)showButtonsWithLeft:(id)fp8 right:(id)fp12 leftBack:(BOOL)fp16;
- (void)showLeftButton:(id)fp8 withStyle:(int)fp12 rightButton:(id)fp16 withStyle:(int)fp20;
- (void)_showLeftRightButtonsAnimationDidStop:(id)fp8 finished:(id)fp12;
- (void)setButton:(int)fp8 enabled:(BOOL)fp12;
- (id)createButtonWithContents:(id)fp8 width:(float)fp12 barStyle:(int)fp16 buttonStyle:(int)fp20 isRight:(BOOL)fp24;
- (void)hideButtons;
- (void)_hideButtonsAnimationDidStop:(id)fp8 finished:(id)fp12 context:(void *)fp16;
- (void)showBackButton:(BOOL)fp8 animated:(BOOL)fp12;
- (void)setFrame:(struct CGRect)fp8;
- (struct CGRect)availableTitleArea;

@end

@interface UINavigationItem : NSObject
{
    NSString *_title;
    NSString *_backButtonTitle;
    int _tag;
    id _context;
    UINavigationItemView *_buttonView;
    UINavigationItemView *_titleView;
}

+ (struct __GSFont *)defaultFont;
- (id)initWithTitle:(id)fp8;
- (void)dealloc;
- (void)setTitle:(id)fp8;
- (void)setBackButtonTitle:(id)fp8;
- (id)title;
- (id)backButtonTitle;
- (float)width;
- (void)setWidth:(float)fp8;
- (void)setFont:(struct __GSFont *)fp8;
- (struct __GSFont *)font;
- (void)setTag:(int)fp8;
- (int)tag;
- (void)setContext:(id)fp8;
- (id)context;
- (void)willBecomeTopInNavigationBar:(id)fp8 navigationBarState:(int)fp12;
- (void)willResignTopInNavigationBar:(id)fp8 navigationBarState:(int)fp12;
- (void)didBecomeTopInNavigationBar:(id)fp8 navigationBarState:(int)fp12;
- (void)didResignTopInNavigationBar:(id)fp8 navigationBarState:(int)fp12;
- (id)_automationID;

@end

@interface UINavigationItem (Static)
- (id)_titleView;
- (id)_buttonViewWithNavBar:(id)fp8;
- (void)_removeTitleAndButtonViews;
@end

@interface UINavigationBar (Deprecated)
- (void)navigationItemChanged:(id)fp8;
@end

@interface UINavigationBar (Static)
- (void)_removeAccessoryView;
- (struct CGRect)_boundsForPrompt:(id)fp8 inRect:(struct CGRect)fp12 withFont:(struct __GSFont *)fp28 barStyle:(int)fp32;
- (void)_drawPrompt:(id)fp8 inRect:(struct CGRect)fp12 withFont:(struct __GSFont *)fp28 barStyle:(int)fp32;
- (void)_startBarStyleAnimation:(int)fp8;
- (void)_backgroundFadeDidFinish:(id)fp8 finished:(id)fp12 context:(void *)fp16;
- (void)_startPushAnimation;
- (void)_startPopAnimation;
- (void)_removeItemsFromSuperview:(id)fp8;
- (void)_fadeViewOut:(id)fp8;
- (void)_fadeViewsOut:(id)fp8;
- (void)_fadeViewsIn:(id)fp8;
- (BOOL)_hasBackButton;
- (id)_currentBackButton;
- (void)_adjustVisibleItemsByDelta:(float)fp8;
- (void)_broadcastNewTopToItems:(int)fp8 complete:(BOOL)fp12;
- (float)_barWidth;
- (void)_getBackButtonRect:(struct CGRect *)fp8 titleRect:(struct CGRect *)fp12;
- (void)layoutSubviews;
- (int)_barStyle:(BOOL)fp8;
- (void)_navBarButtonPressed:(id)fp8;
@end

@interface UIContinuation : NSObject <UIContinuation>
{
    NSMutableDictionary *_properties;
    id _continuationContext;
    id _continuationTarget;
    SEL _continuationSelector;
}

- (id)initWithTarget:(id)fp8 context:(id)fp12 continuationSelector:(SEL)fp16;
- (id)context;
- (void)dealloc;
- (void)setValue:(id)fp8 forProperty:(id)fp12;
- (id)valueForProperty:(id)fp8;
- (void)doContinuation;

@end

@interface UITable : UIScroller
{
    id _dataSource;
    NSMutableArray *_tableColumns;
    SEL _doubleAction;
    UIFloatArray *_rowHeights;
    struct _NSRange _visibleRows;
    struct _NSRange _visibleCols;
    NSMutableArray *_visibleCells;
    _UITableDeleteAnimationSupport *_deleteAnimationSupport;
    unsigned int _selectedRow;
    unsigned int _lastHighlightedRow;
    int _rowCount;
    int _tableReloadingSuspendedCount;
    float _padding;
    UIView *_accessoryView;
    UITableCountView *_countLabel;
    NSMutableArray *_reusableTableCells;
    int _reusableCapacity;
    NSMutableArray *_extraSeparators;
    int _swipeToDeleteRow;
    struct {
        unsigned int separatorStyle:3;
        unsigned int rowDeletionEnabled:1;
        unsigned int allowSelectionDuringRowDeletion:1;
        unsigned int dataSourceHeightForRow:1;
        unsigned int dataSourceSetObjectValue:1;
        unsigned int dataShowDisclosureForRow:1;
        unsigned int dataDisclosureClickableForRow:1;
        unsigned int dataSourceWantsHints:1;
        unsigned int dataSourceCanDeleteRow:1;
        unsigned int dataSourceConfirmDeleteRow:1;
        unsigned int delegateTableSelectionDidChange:1;
        unsigned int scrollsToSelection:1;
        unsigned int reloadSkippedDuringSuspension:1;
        unsigned int reuseTableCells:1;
        unsigned int controlTint:3;
        unsigned int delegateUpdateVisibleCellsNote:1;
        unsigned int delegateTableRowSelected:1;
        unsigned int rowAlreadyHighlighted:1;
        unsigned int needsReload:1;
        unsigned int delegateCanSwipe:1;
        unsigned int updatingVisibleCellsManually:1;
        unsigned int scheduledUpdateVisibleCells:1;
        unsigned int warnForForcedCellUpdateDisabled:1;
        unsigned int delaySendingSelectionChanged:1;
        unsigned int dataSourceCanInsertAtRow:1;
        unsigned int shouldDisplayTopSeparator:1;
        unsigned int displayTopSeparator:1;
        unsigned int needToAdjustExtraSeparators:1;
        unsigned int ignoreDragSwipe:1;
        unsigned int lastHighlightedRowActive:1;
        unsigned int reloading:1;
        unsigned int countStringInsignificantRowCount:4;
        unsigned int dataSourceCanReuseCell:1;
        unsigned int reserved:20;
    } _tableFlags;
    _UITableReorderingSupport *_reorderingSupport;
}

- (id)initWithFrame:(struct CGRect)fp8;
- (void)dealloc;
- (BOOL)validateDataSource;
- (void)setDataSource:(id)fp8;
- (id)dataSource;
- (void)setDelegate:(id)fp8;
- (id)tableColumns;
- (int)numberOfColumns;
- (int)dataSourceGetRowCount;
- (BOOL)dataSourceSupportsVariableRowHeights;
- (int)numberOfRows;
- (void)addTableColumn:(id)fp8;
- (void)removeTableColumn:(id)fp8;
- (int)columnWithIdentifier:(id)fp8;
- (id)tableColumnWithIdentifier:(id)fp8;
- (void)setRowHeight:(float)fp8;
- (float)rowHeight;
- (void)scrollRowToVisible:(int)fp8;
- (void)clearAllData;
- (void)_updateOriginOfCells:(struct _NSRange)fp8;
- (void)reloadDataForInsertionOfRows:(struct _NSRange)fp8;
- (void)reloadCellAtRow:(int)fp8 column:(int)fp12 animated:(BOOL)fp16;
- (float)animationDuration;
- (void)reloadDataForInsertionOfRows:(struct _NSRange)fp8 animated:(BOOL)fp16;
- (void)reloadData;
- (void)noteNumberOfRowsChanged;
- (void)setNeedsDisplayInRowRange:(struct _NSRange)fp8;
- (void)setDoubleAction:(SEL)fp8;
- (SEL)doubleAction;
- (void)setCountStringInsignificantRowCount:(unsigned int)fp8;
- (void)setCountString:(id)fp8;
- (void)animateDeletionOfCellAtRow:(int)fp8 column:(int)fp12 viaEdge:(int)fp16;
- (void)animateDeletionOfRowWithCell:(id)fp8 viaEdge:(int)fp12 animatingOthersUp:(BOOL)fp16;
- (void)animateDeletionOfRowWithCell:(id)fp8 viaEdge:(int)fp12;
- (void)animateDeletionOfRowWithCell:(id)fp8;
- (void)completeRowDeletionAnimation;
- (BOOL)canDeleteRow:(int)fp8;
- (BOOL)canInsertAtRow:(int)fp8;
- (void)enableRowDeletion:(BOOL)fp8;
- (BOOL)_userCanDeleteRows;
- (void)_enableRowDeletion:(BOOL)fp8 forCell:(id)fp12 atRow:(int)fp16 allowInsert:(BOOL)fp20 allowReorder:(BOOL)fp24 animated:(BOOL)fp28;
- (int)deleteConfirmationRow;
- (void)setDeleteConfirmationRow:(int)fp8;
- (void)removeControlWillHideRemoveConfirmation:(id)fp8;
- (void)enableRowDeletion:(BOOL)fp8 animated:(BOOL)fp12;
- (void)_removeContextFromSuperview:(id)fp8 finished:(id)fp12 context:(id)fp16;
- (void)_disableInteraction;
- (void)_enableInteraction;
- (BOOL)isRowDeletionEnabled;
- (void)setAllowSelectionDuringRowDeletion:(BOOL)fp8;
- (void)updateDisclosures;
- (int)controlTint;
- (void)setControlTint:(int)fp8;
- (struct CGRect)frameOfCellAtRow:(int)fp8 column:(int)fp12;
- (struct CGRect)frameOfCellAtColumn:(int)fp8 row:(int)fp12;
- (struct CGRect)rectOfViewAtColumn:(int)fp8 row:(int)fp12;
- (id)viewAtColumn:(int)fp8 row:(int)fp12;
- (id)cellAtRow:(int)fp8 column:(int)fp12;
- (void)setAllowsReordering:(BOOL)fp8;
- (id)dataSourceCreateCellForRow:(int)fp8 column:(int)fp12 reusing:(id)fp16;
- (BOOL)shouldIndentRow:(int)fp8;
- (id)createPreparedCellForRow:(int)fp8 column:(int)fp12;
- (struct CGRect)rectOfColumn:(int)fp8;
- (struct CGRect)_rectOfRow:(int)fp8 usingRowHeights:(id)fp12;
- (struct CGRect)rectOfRow:(int)fp8;
- (struct _NSRange)columnsInRect:(struct CGRect)fp8;
- (struct _NSRange)rowsInRect:(struct CGRect)fp8;
- (int)columnAtPoint:(struct CGPoint)fp8;
- (int)rowAtPoint:(struct CGPoint)fp8;
- (id)visibleCellsWithoutUpdatingLayout;
- (id)visibleCells;
- (id)visibleCellForRow:(int)fp8 column:(int)fp12;
- (BOOL)getRow:(int *)fp8 column:(int *)fp12 ofTableCell:(id)fp16;
- (struct _NSRange)visibleRowsInRect:(struct CGRect)fp8;
- (void)setOffset:(struct CGPoint)fp8;
- (void)setFrame:(struct CGRect)fp8;
- (void)_userSelectRow:(int)fp8;
- (void)selectRow:(int)fp8 byExtendingSelection:(BOOL)fp12;
- (void)_sendSelectionDidChange;
- (void)_delaySendSelectionDidChange;
- (void)removeFromSuperview;
- (BOOL)cancelMouseTracking;
- (void)selectCell:(id)fp8 inRow:(int)fp12 column:(int)fp16 withFade:(BOOL)fp20;
- (void)_selectRow:(int)fp8 byExtendingSelection:(BOOL)fp12 withFade:(BOOL)fp16 scrollingToVisible:(BOOL)fp20 withSelectionNotifications:(BOOL)fp24;
- (void)selectRow:(int)fp8 byExtendingSelection:(BOOL)fp12 withFade:(BOOL)fp16 scrollingToVisible:(BOOL)fp20;
- (void)selectRow:(int)fp8 byExtendingSelection:(BOOL)fp12 withFade:(BOOL)fp16;
- (BOOL)shouldDelaySendingSelectionChanged;
- (int)selectedRow;
- (int)lastHighlightedRow;
- (BOOL)highlightRow:(int)fp8;
- (BOOL)highlightNextRowByDelta:(int)fp8;
- (BOOL)selectHighlightedRow;
- (void)setScrollsToSelection:(BOOL)fp8;
- (void)setSeparatorStyle:(int)fp8;
- (int)separatorStyle;
- (void)setPadding:(float)fp8;
- (struct _UIRectInsets)adornmentMargins;
- (struct _UIRectInsets)pressedAdornmentMargins;
- (id)hitTest:(struct CGPoint)fp8 forEvent:(struct __GSEvent *)fp16;
- (BOOL)canSelectRow:(int)fp8;
- (void)contentMouseUpInView:(id)fp8 withEvent:(struct __GSEvent *)fp12;
- (void)highlightView:(id)fp8 state:(BOOL)fp12;
- (void)setAccessoryView:(id)fp8;
- (id)accessoryView;
- (void)drawExtraSeparator:(struct CGRect)fp8;
- (void)setResusesTableCells:(BOOL)fp8;
- (void)setReusesTableCells:(BOOL)fp8;
- (void)scrollAndCenterTableCell:(id)fp8 animated:(BOOL)fp12;
- (void)_updateContentSize;
- (BOOL)floatArray:(id)fp8 loadValues:(float *)fp12 count:(int)fp16;
- (void)floatArray:(id)fp8 getValueCount:(int *)fp12 gapIndexCount:(int *)fp16;
- (void)_reloadRowHeights;
- (void)_addSubview:(id)fp8 atTop:(BOOL)fp12;
- (void)layoutSubviews;
- (void)_stopAutoscrollTimer;
- (void)_beginReorderingForCell:(id)fp8;
- (void)_autoscroll:(id)fp8;
- (void)_reorderPositionChangedForCell:(id)fp8;
- (void)_finishedAnimatingCellReorder:(id)fp8 finished:(id)fp12 context:(id)fp16;
- (void)_endCellReorderAnimation;
- (void)_tableCellAnimationDidStop:(id)fp8 finished:(id)fp12;
- (void)_endReorderingForCell:(id)fp8;
- (void)_setNeedsVisibleCellsUpdate:(BOOL)fp8;
- (BOOL)canHandleSwipes;
- (int)swipe:(int)fp8 withEvent:(struct __GSEvent *)fp12;
- (void)_updateVisibleCellsNow;
- (void)_updateVisibleCellsImmediatelyIfNecessary;
- (void)_suspendReloads;
- (void)_resumeReloads;
- (int)_rowForTableCell:(id)fp8;
- (void)_deleteRowAlertDidEndWithResult:(BOOL)fp8 contextInfo:(id)fp12;
- (void)_deleteRowAlertDidEndContinuation:(id)fp8;
- (BOOL)_shouldDeleteRowForTableCell:(id)fp8;
- (void)_animateRowsForDeletionOfRow:(int)fp8 withSep:(id)fp12;
- (void)_saveTableStateBeforeAnimationForRow:(int)fp8;
- (void)_restoreTableStateAfterAnimation;
- (int)_removeFromVisibleRows:(id)fp8;
- (void)_getRowCount:(int *)fp8 andHeight:(float *)fp12 beforeVisibleCellsForRows:(id)fp16;
- (void)_animateRemovalOfCell:(id)fp8 atRow:(int)fp12 col:(int)fp16 viaEdge:(int)fp20 withAmountToSlideUp:(float *)fp24;
- (void)_animateRemovalOfVisibleRows:(id)fp8 viaEdge:(int)fp12 withAmountToSlideUp:(float *)fp16;
- (void)_animateNewCells:(id)fp8 bySlidingUpAmount:(float)fp12;
- (float)_partOfRow:(int)fp8 thatIsHidden:(BOOL)fp12;
- (void)deleteRows:(id)fp8 viaEdge:(int)fp12 animated:(BOOL)fp16;
- (void)deleteRows:(id)fp8 viaEdge:(int)fp12;
- (void)_fadeCellOutAnimationDidStop:(id)fp8 finished:(id)fp12 context:(id)fp16;
- (void)insertRows:(id)fp8 deleteRows:(id)fp12 reloadRows:(id)fp16;
- (void)_willDeleteRow:(int)fp8 forTableCell:(id)fp12 viaEdge:(int)fp16 animateOthers:(BOOL)fp20;
- (void)_enableAndRestoreTableStateAfterAnimation;
- (void)_finishedRemovingRemovalButtonForTableCell:(id)fp8;
- (void)_didDeleteRowForTableCell:(id)fp8;
- (void)_didInsertRowForTableCell:(id)fp8;
- (void)mouseDown:(struct __GSEvent *)fp8;
- (void)mouseDragged:(struct __GSEvent *)fp8;
- (BOOL)_shouldTryPromoteDescendantToFirstResponder;
- (void)_scheduleAdjustExtraSeparators;
- (void)_adjustExtraSeparators;
- (unsigned int)_countStringRowCount;
- (void)_setRowCount:(int)fp8;
- (void)_adjustCountLabel;
- (void)_adjustReusableTableCells;

@end

@interface UITableCountView : UITextLabel
{
    NSString *_countString;
}

- (id)initWithFrame:(struct CGRect)fp8 withCountString:(id)fp24 withCount:(int)fp28;
- (void)dealloc;
- (void)setCountString:(id)fp8 withCount:(int)fp12;
- (void)setCount:(int)fp8;

@end

@interface UITableSeparatorView : UIView
{
    UITableCell *_tableCell;
    UITable *_table;
}

- (id)initWithTableCell:(id)fp8;
- (id)initWithFrame:(struct CGRect)fp8 withTable:(id)fp24;
- (void)drawRect:(struct CGRect)fp8;

@end

@interface _UITableDeleteAnimationSupport : NSObject
{
    NSMutableArray *_cellsToDeleteAfterAnimation;
    int _deleteCount;
    unsigned int _enabledStateBeforeDeleteAnimation:1;
    unsigned int _reserved:30;
}

@end

@interface _UITableReorderingSupport : NSObject
{
    NSArray *_reorderedCells;
    unsigned int _reorderedRow;
    unsigned int _emptySpaceRow;
    unsigned int _lastVisibleRowLocation;
    unsigned int _oldShowScrollerIndicators:1;
    unsigned int _delegateImplementsCanMoveRow:1;
    unsigned int _delegateImplementsMoveDestinationRow:1;
    unsigned int _bottomShadowNeedsToMove:1;
    unsigned int _reserved:28;
    NSTimer *_autoscrollTimer;
    UIShadowView *_topShadowView;
    UIShadowView *_bottomShadowView;
}

@end

@interface UITableColumn : NSObject
{
    NSString *_identifier;
    NSString *_title;
    float _width;
}

- (id)initWithTitle:(id)fp8 identifier:(id)fp12 width:(float)fp16;
- (void)dealloc;
- (id)title;
- (void)setTitle:(id)fp8;
- (void)setIdentifier:(id)fp8;
- (id)identifier;
- (float)width;
- (void)setWidth:(float)fp8;

@end

@interface UIHardware : NSObject
{
}

+ (float)statusBarHeight;
+ (void)_setStatusBarHeight:(float)fp8;
+ (struct CGSize)mainScreenSize;
+ (struct CGRect)fullScreenApplicationContentRect;
+ (int)ringerState;
+ (int)deviceOrientation:(BOOL)fp8;
+ (BOOL)setSpeakerPhoneEnabled:(BOOL)fp8;
+ (BOOL)isTTYEnabled;
+ (struct CGSize)TVScreenSize;
+ (float)TVHorizontalPixelScale;
+ (BOOL)_TVOutStatus:(BOOL)fp8;
+ (BOOL)TVOutCapableAndPreferred;
+ (BOOL)TVOutCapable;
+ (void)alertSheet:(id)fp8 buttonClicked:(int)fp12;
+ (void)accessoryAvailabilityChanged;
+ (id)deviceName;
+ (id)localizedDeviceName;

@end

@interface UIImageAndTextTableCell : UITableCell
{
    UITextLabel *_titleTextLabel;
    UIImageView *_iconImageView;
}

+ (struct __GSFont *)defaultTitleFont;
- (void)dealloc;
- (id)titleTextLabel;
- (void)setTitle:(id)fp8;
- (id)title;
- (void)setImage:(id)fp8;
- (id)image;
- (struct CGColor *)_getTitleColor;
- (void)updateHighlightColors;
- (void)setEnabled:(BOOL)fp8;
- (id)iconImageView;
- (struct CGPoint)textInset;
- (struct CGPoint)iconInset;
- (void)setAlignment:(int)fp8;
- (int)alignment;
- (void)layoutSubviews;

@end

@interface _UITableCellGrabber : UIControl
{
    UITableCell *_cell;
    struct CGPoint _downPoint;
}

- (id)initWithCell:(id)fp8;
- (void)drawRect:(struct CGRect)fp8;
- (BOOL)shouldTrack;
- (BOOL)beginTrackingAt:(struct CGPoint)fp8 withEvent:(struct __GSEvent *)fp16;
- (BOOL)continueTrackingAt:(struct CGPoint)fp8 previous:(struct CGPoint)fp16 withEvent:(struct __GSEvent *)fp24;
- (void)endTrackingAt:(struct CGPoint)fp8 previous:(struct CGPoint)fp16 withEvent:(struct __GSEvent *)fp24;
- (void)_controlMouseDown:(struct __GSEvent *)fp8;
- (void)_controlMouseUp:(struct __GSEvent *)fp8;
- (void)_controlMouseDragged:(struct __GSEvent *)fp8;
- (BOOL)cancelMouseTracking;

@end

@interface UITableCellFlashDeselectAnimation : UIAnimation
{
    int _flashCount;
}

- (void)setProgress:(float)fp8;

@end

@interface UITableCellFadeAnimation : UIAnimation
{
    BOOL _select;
}

- (id)initWithTarget:(id)fp8 select:(BOOL)fp12;
- (void)dealloc;
- (void)_appSuspended:(id)fp8;
- (void)setProgress:(float)fp8;

@end

@interface UITableCellRemoveControl : UIRemoveControl
{
    float _verticalOffset;
}

- (id)initWithTarget:(id)fp8;
- (float)_verticalOffsetFromTarget;

@end

@interface UISimpleTableCell : UITableCell
{
    struct __GSFont *_font;
    UIImageView *_iconImageView;
    unsigned int _indentationLevel;
    NSString *_title;
    int _titleColor;
}

+ (struct __GSFont *)defaultFont;
- (id)initWithFrame:(struct CGRect)fp8;
- (void)setFont:(struct __GSFont *)fp8;
- (struct __GSFont *)font;
- (void)dealloc;
- (void)drawTitleInRect:(struct CGRect)fp8 selected:(BOOL)fp24;
- (void)drawContentInRect:(struct CGRect)fp8 selected:(BOOL)fp24;
- (void)setEnabled:(BOOL)fp8;
- (void)setTitle:(id)fp8;
- (id)title;
- (void)setTitleColor:(int)fp8;
- (id)iconImageView;
- (void)layoutSubviews;
- (void)setIcon:(id)fp8;
- (id)icon;
- (void)setIndentationLevel:(unsigned int)fp8;
- (unsigned int)indentationLevel;
- (int)ellipsisStyle;
- (id)_automationID;

@end

@interface UITableCell : UIView
{
    _UITableCellTransientData *_transientData;
    float _rightMargin;
    struct {
        unsigned int dontShowSelection:1;
        unsigned int showDisclosure:1;
        unsigned int showTopSeparator:1;
        unsigned int separatorStyle:3;
        unsigned int selectionStyle:3;
        unsigned int hideDisclosure:1;
        unsigned int isBeingDeleted:1;
        unsigned int disclosureClickable:1;
        unsigned int selectionFadeFraction:11;
        unsigned int disclosureStyle:1;
        unsigned int showingRemoveControl:1;
        unsigned int alignment:3;
        unsigned int showDisclosureWhenReordering:1;
        unsigned int fadeDisclosure:1;
        unsigned int reserved:2;
    } _tableCellFlags;
    UIView *_disclosureView;
}

- (id)disclosureImage;
- (id)disclosurePressedImage;
- (void)dealloc;
- (id)removeControl;
- (void)setSelected:(BOOL)fp8 withFade:(BOOL)fp12;
- (void)updateHighlightColors;
- (BOOL)isAtLeastHalfSelected;
- (float)selectionPercent;
- (void)_deselectWithFlashCount:(int)fp8 duration:(double)fp12;
- (void)setSelected:(BOOL)fp8;
- (BOOL)isSelected;
- (void)setShowSelection:(BOOL)fp8;
- (void)setSeparatorStyle:(int)fp8;
- (void)setShowDisclosure:(BOOL)fp8;
- (void)setSelectionStyle:(int)fp8;
- (void)setDisclosureStyle:(int)fp8;
- (int)separatorStyle;
- (BOOL)showSelection;
- (BOOL)showDisclosure;
- (void)setAlpha:(float)fp8;
- (id)hitTest:(struct CGPoint)fp8 forEvent:(struct __GSEvent *)fp16;
- (BOOL)cancelMouseTracking;
- (BOOL)_isReordering;
- (id)_grabberView;
- (void)drawRect:(struct CGRect)fp8;
- (void)_releaseGrabber;
- (void)_finishedFadingGrabber:(id)fp8 finished:(BOOL)fp12;
- (float)disclosureRightMargin;
- (BOOL)isReorderingEnabled;
- (void)setShowDisclosureWhenReordering:(BOOL)fp8;
- (BOOL)showDisclosureWhenReordering;
- (void)setEnableReordering:(BOOL)fp8 animated:(BOOL)fp12;
- (void)_grabberBeganReorder:(id)fp8;
- (void)_grabberDragged:(id)fp8 yDelta:(float)fp12;
- (void)_grabberReleased:(id)fp8;
- (void)drawBackgroundInRect:(struct CGRect)fp8 withFade:(float)fp24;
- (void)drawSeparatorInRect:(struct CGRect)fp8;
- (void)drawContentInRect:(struct CGRect)fp8 selected:(BOOL)fp24;
- (void)_releaseRemoveControl;
- (void)removeFromSuperview;
- (void)setDisclosureClickable:(BOOL)fp8;
- (id)createRemoveControl;
- (id)createInsertControl;
- (void)_setGrabberHidden:(BOOL)fp8;
- (void)removeControlWillShowRemoveConfirmation:(id)fp8;
- (void)removeControlWillHideRemoveConfirmation:(id)fp8;
- (void)_setRightMargin:(float)fp8;
- (id)_disclosureView;
- (float)removeButtonAnimationDuration;
- (void)_layoutSubviewsAnimated:(BOOL)fp8;
- (void)_setShowIndentSpacer:(BOOL)fp8 animated:(BOOL)fp12;
- (BOOL)isRemoveControlVisible;
- (void)_showDeleteOrInsertion:(BOOL)fp8 withDisclosure:(BOOL)fp12 animated:(BOOL)fp16 isDelete:(BOOL)fp20 andRemoveConfirmation:(BOOL)fp24;
- (void)_uiRemoveControlMinusButtonHideAnimationDone:(id)fp8;
- (void)_willBeDeleted;
- (BOOL)removeControl:(id)fp8 shouldRemoveTarget:(id)fp12;
- (void)removeControl:(id)fp8 willRemoveTarget:(id)fp12;
- (void)removeControl:(id)fp8 didRemoveTarget:(id)fp12;
- (void)insertControl:(id)fp8 shouldInsertWithTarget:(id)fp12;
- (id)_createDisclosureView;
- (struct CGRect)contentBounds;
- (void)setShowDisclosure:(BOOL)fp8 animated:(BOOL)fp12;
- (void)_setRemoveCharge:(float)fp8;
- (void)_setDrawsTopSeparator:(BOOL)fp8;
- (void)layoutSubviews;
- (BOOL)_shouldTryPromoteDescendantToFirstResponder;
- (void)_setSelectionFadeFraction:(float)fp8;

@end

@interface UITableCellDisclosureView : UIPushButton
{
}

- (BOOL)_alwaysHandleScrollerMouseEvent;

@end

@interface _UITableCellTransientData : NSObject
{
    UIRemoveControl *_removeControl;
    UIControl *_grabber;
    UIView *_separator;
    unsigned int _reorderingEnabled:1;
    unsigned int _reserved:31;
}

- (BOOL)dataRequired;

@end

@interface UITransitionView : UIView
{
    UIView *_fromView;
    UIView *_toView;
    UIView *_firstResponderToRemember;
    id _delegate;
    struct {
        unsigned int animationInProgress:1;
        unsigned int ignoresInteractionEvents:1;
        unsigned int reserved:30;
    } _transitionViewFlags;
}

+ (double)defaultDurationForTransition:(int)fp8;
- (id)initWithFrame:(struct CGRect)fp8;
- (void)dealloc;
- (double)durationForTransition:(int)fp8;
- (void)_markRememberedFirstResponderFromView:(id)fp8;
- (void)_didStartTransition;
- (void)_didCompleteTransition:(BOOL)fp8;
- (BOOL)transition:(int)fp8 toView:(id)fp12;
- (void)notifyDidCompleteTransition:(id)fp8;
- (BOOL)transition:(int)fp8 fromView:(id)fp12 toView:(id)fp16;
- (id)fromView;
- (id)toView;
- (BOOL)isTransitioning;
- (void)setDelegate:(id)fp8;
- (id)delegate;
- (BOOL)ignoresInteractionEvents;
- (void)setIgnoresInteractionEvents:(BOOL)fp8;
- (void)_startTransition:(int)fp8 withDuration:(float)fp12;
- (void)_transitionDidStop:(id)fp8 finished:(id)fp12;

@end

@interface UIBox : UIView
{
    int _corners;
    UIView *_contentView;
    struct CGColor *_backgroundColor;
}

- (void)dealloc;
- (void)setBackgroundColor:(struct CGColor *)fp8;
- (void)setRoundedCorners:(int)fp8;
- (void)drawRect:(struct CGRect)fp8;
- (void)placeContentLayer;
- (void)setContentView:(id)fp8;
- (id)contentView;

@end

@interface UIControl : UIView
{
    NSMutableArray *_targetActions;
    struct CGPoint _previousPoint;
    double _downTime;
    struct {
        unsigned int tracking:1;
        unsigned int mouseInside:1;
        unsigned int mouseDragged:1;
        unsigned int needsDisplay:1;
        unsigned int highlighted:1;
        unsigned int dontHighlightOnMouseDown:1;
        unsigned int delayActions:1;
        unsigned int allowActionsToQueue:1;
        unsigned int pendingUnhighlight:1;
        unsigned int reserved:23;
    } _controlFlags;
}

- (void)dealloc;
- (BOOL)isTracking;
- (BOOL)beginTrackingAt:(struct CGPoint)fp8 withEvent:(struct __GSEvent *)fp16;
- (BOOL)continueTrackingAt:(struct CGPoint)fp8 previous:(struct CGPoint)fp16 withEvent:(struct __GSEvent *)fp24;
- (void)endTrackingAt:(struct CGPoint)fp8 previous:(struct CGPoint)fp16 withEvent:(struct __GSEvent *)fp24;
- (BOOL)cancelMouseTracking;
- (BOOL)mouseInside;
- (void)setRequiresDisplayOnTracking:(BOOL)fp8;
- (void)setHighlighted:(BOOL)fp8;
- (BOOL)isHighlighted;
- (BOOL)shouldTrack;
- (void)mouseDown:(struct __GSEvent *)fp8;
- (void)mouseDragged:(struct __GSEvent *)fp8;
- (void)mouseUp:(struct __GSEvent *)fp8;
- (void)_didMoveFromWindow:(id)fp8 toWindow:(id)fp12;
- (BOOL)hasOneOrMoreTargets;
- (void)addTarget:(id)fp8 action:(SEL)fp12 forEvents:(int)fp16;
- (void)removeTarget:(id)fp8 forEvents:(int)fp12;
- (void)sendAction:(SEL)fp8 toTarget:(id)fp12 forEvent:(struct __GSEvent *)fp16;
- (void)sendActionsForEvents:(int)fp8;

@end

@interface UIDelayedControlTargetAction : UIControlTargetAction
{
    struct __GSEvent *_event;
}

- (void)dealloc;

@end

@interface UIControlTargetAction : NSObject
{
    id _target;
    SEL _action;
    int _eventMask;
}

@end

@interface UIControl (Static)
- (void)_unhighlight;
- (void)_sendDelayedActions:(BOOL)fp8;
@end

@interface UIControl (Internal)
- (BOOL)_hasActionForEventMask:(int)fp8;
- (void)_sendActionsForEventMask:(int)fp8 withEvent:(struct __GSEvent *)fp12;
- (void)_setHighlightOnMouseDown:(BOOL)fp8;
- (void)_delayActions;
- (void)_sendDelayedActions;
- (void)_cancelDelayedActions;
- (BOOL)pointMostlyInside:(struct CGPoint)fp8 forEvent:(struct __GSEvent *)fp16;
@end

@interface UIGradient : NSObject
{
    CDAnonymousStruct11 *_values;
    float _height;
    struct CGShading *_shader;
}

- (id)initVerticalWithValues:(CDAnonymousStruct11 *)fp8;
- (void)fillRect:(struct CGRect)fp8 inContext:(struct CGContext *)fp24;
- (void)fillRect:(struct CGRect)fp8;
- (void)dealloc;

@end

@interface UIPushButton : UIControl
{
    NSString *_title;
    struct __GSFont *_font;
    struct CGSize _shadowOffset;
    struct CGSize _titlePadding;
    struct __CFDictionary *_info;
    struct {
        unsigned int selected:1;
        unsigned int drawShadow:1;
        unsigned int disableAutosizeToFit:1;
        unsigned int drawContentsCentered:1;
        unsigned int reverseShadowDirectionWhenHighlighted:1;
        unsigned int stretchBackground:1;
        unsigned int showPressFeedback:1;
        unsigned int disabledDimsImage:1;
        unsigned int reserved:24;
    } _pushButtonFlags;
}

+ (struct __GSFont *)defaultFont;
- (id)initWithFrame:(struct CGRect)fp8;
- (id)initWithTitle:(id)fp8;
- (id)initWithTitle:(id)fp8 autosizesToFit:(BOOL)fp12;
- (id)initWithImage:(id)fp8;
- (void)dealloc;
- (unsigned int)state;
- (void)setEnabled:(BOOL)fp8;
- (BOOL)isPressed;
- (void)setSelected:(BOOL)fp8;
- (BOOL)isSelected;
- (void)setTitle:(id)fp8;
- (id)title;
- (void)setTitleFont:(struct __GSFont *)fp8;
- (struct __GSFont *)titleFont;
- (void)setAutosizesToFit:(BOOL)fp8;
- (BOOL)autosizesToFit;
- (void)sizeToFit;
- (struct CGPoint)pressFeedbackPosition;
- (void)setHighlighted:(BOOL)fp8;
- (void)setTitlePadding:(struct CGSize)fp8;
- (void)setDrawsShadow:(BOOL)fp8;
- (void)setShadowOffset:(float)fp8;
- (void)setReverseShadowDirectionWhenHighlighted:(BOOL)fp8;
- (void)setStretchBackground:(BOOL)fp8;
- (void)setDrawContentsCentered:(BOOL)fp8;
- (void)setShowPressFeedback:(BOOL)fp8;
- (void)setImage:(id)fp8 forState:(unsigned int)fp12;
- (void)setTitleColor:(struct CGColor *)fp8 forState:(unsigned int)fp12;
- (void)setShadowColor:(struct CGColor *)fp8 forState:(unsigned int)fp12;
- (void)setBackground:(id)fp8 forState:(unsigned int)fp12;
- (void)setDisabledDimsImage:(BOOL)fp8;
- (id)imageForState:(unsigned int)fp8;
- (struct CGColor *)titleColorForState:(unsigned int)fp8;
- (struct CGColor *)shadowColorForState:(unsigned int)fp8;
- (id)backgroundForState:(unsigned int)fp8;
- (id)currentImage;
- (struct CGColor *)currentTitleColor;
- (struct CGColor *)currentShadowColor;
- (id)currentBackground;
- (void)setFrame:(struct CGRect)fp8;
- (CDAnonymousStruct10)_backgroundSlices:(struct CGSize)fp8;
- (void)_drawBezelPartInRect:(struct CGRect)fp8;
- (void)drawImageAtPoint:(struct CGPoint)fp8 fraction:(float)fp16;
- (void)drawTitleAtPoint:(struct CGPoint)fp8 width:(float)fp16;
- (void)_drawImageAndTextPartInRect:(struct CGRect)fp8;
- (void)drawButtonPart:(int)fp8 inRect:(struct CGRect)fp12;
- (void)drawRect:(struct CGRect)fp8;
- (void)setNeedsDisplay;

@end

@interface UIPushButton (SyntheticEvents)
- (id)_automationID;
@end

@interface UIPushButton (Original)
- (void)setImage:(id)fp8;
- (void)setPressedImage:(id)fp8;
- (id)image;
- (void)setTitleColor:(struct CGColor *)fp8;
- (void)setHighlightedTitleColor:(struct CGColor *)fp8;
- (struct CGColor *)titleColor;
- (void)setShadowColor:(struct CGColor *)fp8;
@end

@interface UIPushButton (Static)
- (void)_removePressFeedback:(id)fp8 finished:(id)fp12;
- (CDAnonymousStruct3)_currentButtonStateInfo;
- (void)_setNeedsDisplay:(CDAnonymousStruct3)fp8;
@end

@interface UITextField : UIControl <UITextTraitsClient>
{
    struct __GSFont *_font;
    float _fullFontSize;
    float _paddingLeft;
    float _paddingTop;
    float _paddingRight;
    float _paddingBottom;
    float _marginTop;
    NSString *_text;
    NSString *_textFont;
    struct CGColor *_textColor;
    struct CGColor *_caretColor;
    struct _NSRange _selectionRange;
    int _scrollXOffset;
    int _scrollYOffset;
    NSString *_placeholder;
    float _progress;
    UITextTraits *_traits;
    struct {
        unsigned int borderStyle:2;
        unsigned int isEditing:1;
        unsigned int secureTextChanged:1;
        unsigned int guard:1;
        unsigned int delegateRespondsToHandleKeyDown:1;
        unsigned int autosizeTextToFit:1;
        unsigned int verticallyCenterText:1;
        unsigned int horizontallyCenterText:1;
        unsigned int isAnimating:4;
        unsigned int inactiveHasDimAppearance:1;
        unsigned int becomesFirstResponderOnClearButtonTap:1;
    } _textFieldFlags;
    NSString *_style;
    NSString *_placeholderStyle;
    id _delegate;
    int _selectionBehavior;
    int _clearButtonStyle;
    UIPushButton *_clearButton;
    struct CGSize _clearButtonOffset;
    int _rightButtonStyle;
    UIPushButton *_rightButton;
    struct CGSize _rightButtonOffset;
    double _mouseDownTime;
    UITextFieldLabel *_textLabel;
    UIImageView *_iconView;
    UITextFieldBackground *_backgroundView;
    UITextLabel *_label;
    float _labelOffset;
    UITextFieldAtomBackgroundView *_atomBackgroundView;
}

- (void)dealloc;
- (void)_initializeTraits;
- (id)initWithFrame:(struct CGRect)fp8;
- (id)text;
- (struct __GSFont *)_copyFont:(struct __GSFont *)fp8 newSize:(float)fp12 maxSize:(float)fp16;
- (void)_updateStyleBasedOnTextSizeWithFieldEditor:(id)fp8 forPlaceholder:(BOOL)fp12;
- (void)_updateAutosizeStyleIfNeeded;
- (void)_updateForStyleChange;
- (struct CGRect)_atomBackgroundViewFrame;
- (BOOL)_showsAtomBackground;
- (void)_updateAtomBackground;
- (void)setText:(id)fp8;
- (void)setFont:(struct __GSFont *)fp8;
- (void)setFont:(struct __GSFont *)fp8 fullFontSize:(float)fp12;
- (void)setPaddingTop:(float)fp8 paddingLeft:(float)fp12;
- (void)setPaddingLeft:(float)fp8;
- (float)paddingLeft;
- (void)setPaddingTop:(float)fp8;
- (float)paddingTop;
- (void)setPaddingBottom:(float)fp8;
- (float)paddingBottom;
- (void)setPaddingRight:(float)fp8;
- (float)paddingRight;
- (void)setTextFont:(id)fp8;
- (void)setTextColor:(struct CGColor *)fp8;
- (struct CGColor *)textColor;
- (void)_updateBackgroundViewFrame;
- (void)setInactiveHasDimAppearance:(BOOL)fp8;
- (void)_useBackgroundView;
- (void)setBorderStyle:(int)fp8;
- (id)placeholder;
- (void)setPlaceholder:(id)fp8;
- (void)setEnabled:(BOOL)fp8;
- (void)selectAll:(id)fp8;
- (struct _NSRange)selectionRange;
- (void)setSelectionRange:(struct _NSRange)fp8;
- (void)setSelectionBehavior:(int)fp8;
- (int)selectionBehavior;
- (unsigned int)characterOffsetAtPoint:(struct CGPoint)fp8;
- (void)setIcon:(id)fp8;
- (BOOL)_showsClearButton:(BOOL)fp8;
- (BOOL)_showsRightButton;
- (struct CGRect)clearButtonRect;
- (struct CGRect)_rightButtonRect;
- (struct CGRect)_textRectForEditing:(BOOL)fp8;
- (struct CGRect)iconRect;
- (struct CGRect)textRect;
- (struct CGSize)clearButtonOffset;
- (void)setBecomesFirstResponderOnClearButtonTap:(BOOL)fp8;
- (struct CGRect)editRect;
- (void)drawRect:(struct CGRect)fp8;
- (void)drawText:(struct CGRect)fp8;
- (void)drawBorder:(struct CGRect)fp8;
- (void)setDelegate:(id)fp8;
- (id)delegate;
- (void)setSecure:(BOOL)fp8;
- (BOOL)isSecure;
- (void)setProgress:(float)fp8;
- (BOOL)canBecomeFirstResponder;
- (BOOL)_shouldEndEditing;
- (BOOL)fieldEditorShouldEndEditing:(id)fp8;
- (BOOL)canResignFirstResponder;
- (unsigned int)becomeFirstResponder;
- (BOOL)resignFirstResponder;
- (BOOL)_sendInitialMouseEvents;
- (void)mouseDown:(struct __GSEvent *)fp8;
- (void)mouseDragged:(struct __GSEvent *)fp8;
- (void)mouseUp:(struct __GSEvent *)fp8;
- (id)hitTest:(struct CGPoint)fp8 forEvent:(struct __GSEvent *)fp16;
- (BOOL)isEditing;
- (BOOL)isActivelyEditing;
- (BOOL)hasMarkedText;
- (id)_style;
- (void)willAttachFieldEditor:(id)fp8;
- (void)setLabelOffset:(float)fp8;
- (id)textLabel;
- (void)setLabel:(id)fp8;
- (void)layoutSubviews;
- (void)attachFieldEditor:(id)fp8;
- (void)willDetachFieldEditor:(id)fp8;
- (void)fieldEditorDidBecomeFirstResponder:(id)fp8;
- (void)fieldEditorDidResignFirstResponder:(id)fp8;
- (void)fieldEditorDidChange:(id)fp8;
- (void)fieldEditorDidBeginEditing:(id)fp8;
- (void)fieldEditorDidEndEditing:(id)fp8;
- (void)selectAllFromFieldEditor:(id)fp8;
- (struct _NSRange)fieldEditor:(id)fp8 willChangeSelectionFromCharacterRange:(struct _NSRange)fp12 toCharacterRange:(struct _NSRange)fp20;
- (void)fieldEditorDidChangeSelection:(id)fp8;
- (BOOL)fieldEditor:(id)fp8 shouldInsertText:(id)fp12 replacingRange:(struct _NSRange)fp16;
- (BOOL)fieldEditor:(id)fp8 shouldReplaceWithText:(id)fp12;
- (BOOL)webView:(id)fp8 shouldInsertText:(id)fp12 replacingDOMRange:(id)fp16 givenAction:(int)fp20;
- (void)setAutoresizesTextToFit:(BOOL)fp8;
- (void)_releaseStyles;
- (void)setTextAutorresizesToFit:(BOOL)fp8;
- (void)setHorizontallyCenterText:(BOOL)fp8;
- (void)setVerticallyCenterText:(BOOL)fp8;
- (void)setTextCentersHorizontally:(BOOL)fp8;
- (void)setTextCentersVertically:(BOOL)fp8;
- (void)_clearButtonClicked:(id)fp8;
- (void)_updateButtons;
- (void)setClearButtonOffset:(struct CGSize)fp8;
- (void)setClearButtonStyle:(int)fp8;
- (void)_rightButtonClicked:(id)fp8;
- (id)_rightButton;
- (void)setRightButtonStyle:(int)fp8;
- (void)setRightButtonOffset:(struct CGSize)fp8;
- (void)setRightButtonImage:(id)fp8;
- (void)setRightPressedButtonImage:(id)fp8;
- (void)_computeStyleForPlaceholder:(BOOL)fp8;
- (id)placeholderTextForFieldEditor:(id)fp8;
- (id)placeholderStyleForFieldEditor:(id)fp8;
- (id)_placeholderText;
- (void)_invalidateTextLabel;
- (void)_updateTextLabelFrame;
- (void)setAnimating:(BOOL)fp8;
- (void)setDrawsAsAtom:(BOOL)fp8;
- (BOOL)drawsAsAtom;
- (void)setAtomStyle:(int)fp8;
- (int)atomStyle;
- (void)setFrame:(struct CGRect)fp8;
- (void)_endedEditing;
- (id)textTraits;
- (void)takeTraitsFrom:(id)fp8;
- (void)forwardInvocation:(id)fp8;
- (id)methodSignatureForSelector:(SEL)fp8;

@end

@interface UITextFieldAtomBackgroundView : UIView
{
    int _atomStyle;
}

+ (id)_blueAtomBackgroundImage;
+ (id)_purpleAtomBackgroundImage;
- (id)initWithFrame:(struct CGRect)fp8;
- (void)drawRect:(struct CGRect)fp8;
- (int)atomStyle;
- (void)setAtomStyle:(int)fp8;

@end

@interface UITextFieldLabel : UIView
{
}

- (void)drawRect:(struct CGRect)fp8;
- (id)hitTest:(struct CGPoint)fp8 forEvent:(struct __GSEvent *)fp16;

@end

@interface UIView (UITextField)
- (BOOL)endEditing:(BOOL)fp8;
@end

@interface UITextField (SyntheticEvents)
- (id)_automationID;
- (id)_automationValue;
@end

@interface UITextField (Internal)
- (struct CGRect)_textRectExcludingButtons;
- (id)_backgroundView;
- (id)keyboardInputOverlayContainer:(id)fp8;
@end

@interface UICheckbox : UIControl
{
    NSString *_title;
    BOOL _checked;
}

- (id)initWithTitle:(id)fp8;
- (void)setTitle:(id)fp8;
- (BOOL)isChecked;
- (void)setChecked:(BOOL)fp8;
- (BOOL)beginTrackingAt:(struct CGPoint)fp8 withEvent:(struct __GSEvent *)fp16;
- (BOOL)continueTrackingAt:(struct CGPoint)fp8 previous:(struct CGPoint)fp16 withEvent:(struct __GSEvent *)fp24;
- (void)endTrackingAt:(struct CGPoint)fp8 previous:(struct CGPoint)fp16 withEvent:(struct __GSEvent *)fp24;
- (void)drawRect:(struct CGRect)fp8;

@end

@interface UICheckboxImage : UIView
{
    BOOL _pressed;
    BOOL _checked;
}

- (void)setPressed:(BOOL)fp8;
- (void)setChecked:(BOOL)fp8;
- (void)drawRect:(struct CGRect)fp8;

@end

@interface UICheckbox (Static)
+ (struct __GSFont *)_defaultFont;
- (void)_sizeToFit;
@end

@interface UIFloatArray : NSObject
{
    int _count;
    int _gapCount;
    int *_gaps;
    float _gapValue;
    float _minValue;
    union {
        float singleton;
        float *array;
    } _values;
    struct {
        unsigned int valueIsSingleton:1;
        unsigned int hideGaps:1;
        unsigned int unused:30;
    } _floatArrayFlags;
}

- (BOOL)_setupValuesWithCount:(int)fp8 singleValue:(float)fp12 isRefresh:(BOOL)fp16;
- (BOOL)_setupValuesWithCount:(int)fp8 dataProvider:(id)fp12 isRefresh:(BOOL)fp16;
- (BOOL)_setupGapIndexesWithCount:(int)fp8 dataProvider:(id)fp12 isRefresh:(BOOL)fp16;
- (BOOL)_setupWithDataProvider:(id)fp8 valueIsSingleton:(BOOL)fp12 singletonValue:(float)fp16 isRefresh:(BOOL)fp20;
- (id)init;
- (id)copyWithZone:(struct _NSZone *)fp8;
- (void)dealloc;
- (BOOL)refreshWithDataProvider:(id)fp8 singleValue:(float)fp12;
- (BOOL)refreshWithDataProvider:(id)fp8;
- (float)singleValue;
- (float)minValue;
- (int)valueCount;
- (float)sum;
- (CDAnonymousStruct6)offsetsForIndex:(int)fp8;
- (CDAnonymousStruct6)offsetsForGapIndex:(int)fp8;
- (CDAnonymousStruct5)_indexesViaSingletonFromOffset:(float)fp8 toOffset:(float)fp12;
- (CDAnonymousStruct5)_indexesViaArrayFromOffset:(float)fp8 toOffset:(float)fp12;
- (CDAnonymousStruct5)indexesFromOffset:(float)fp8 toOffset:(float)fp12;
- (int)indexForGapIndex:(int)fp8;
- (void)hideGaps:(BOOL)fp8;

@end

@interface UISectionTable : UITable
{
    UISectionList *_sectionList;
    struct _NSRange _visibleHeaders;
    NSMutableArray *_visibleHeaderViews;
    float _rightMargin;
    NSMutableArray *_reusableHeaderCells;
    NSMutableArray *_reusableTransparentHeaderCells;
    int _reusableHeaderCapacity;
    struct {
        unsigned int style:1;
        unsigned int delegateHeaderForSection:1;
        unsigned int disableHideHeadersInShortLists:1;
        unsigned int disallowsScrollIndicators:1;
        unsigned int reserved:28;
    } _sectionTableFlags;
}

- (id)initWithFrame:(struct CGRect)fp8 sectionList:(id)fp24;
- (id)initWithSize:(struct CGSize)fp8 sectionList:(id)fp16;
- (void)dealloc;
- (void)setFrame:(struct CGRect)fp8;
- (void)setDelegate:(id)fp8;
- (void)reloadData;
- (BOOL)floatArray:(id)fp8 loadGapIndexes:(int *)fp12 gapHeight:(float *)fp16 count:(int)fp20;
- (void)floatArray:(id)fp8 getValueCount:(int *)fp12 gapIndexCount:(int *)fp16;
- (id)createPreparedCellForRow:(int)fp8 column:(int)fp12;
- (id)_createHeaderCellForHeaderAtIndex:(int)fp8 width:(float)fp12 opaque:(BOOL)fp16 adjustOrigin:(BOOL)fp20;
- (void)_removeHeaderCellsForRange:(struct _NSRange)fp8;
- (void)_replaceCellWithTransparentOneGapIndex:(int)fp8 viewIndex:(int)fp12 width:(float)fp16;
- (void)_replaceCellWithOpaqueOneGapIndex:(int)fp8 viewIndex:(int)fp12 width:(float)fp16;
- (BOOL)_shouldHideHeaders;
- (void)_updateShowScrollIndicatorsFlag;
- (void)_updateVisibleCellsNow;
- (BOOL)showsSectionHeaders;
- (void)scrollToSection:(int)fp8;
- (void)scrollToSectionWithTitle:(id)fp8;
- (void)scrollRowToVisible:(int)fp8;
- (BOOL)sectionHeaderCellWasClicked:(id)fp8;
- (void)setRightMargin:(float)fp8;
- (void)setAllowsScrollIndicators:(BOOL)fp8;
- (void)setShouldHideHeaderInShortLists:(BOOL)fp8;
- (void)setSectionListStyle:(int)fp8;
- (id)indexTitles;
- (void)_reloadRowHeights;

@end

@interface UISectionList : UIView
{
    UISectionTable *_table;
    UISectionIndex *_index;
    NSMutableArray *_titles;
    NSSet *_indexTitlesAsSet;
    int _sectionCount;
    float _listWidth;
    struct {
        unsigned int nonIndexedTitlesShownFirst:1;
    } _sectionListFlags;
}

+ (float)defaultIndexWidth;
- (id)initWithFrame:(struct CGRect)fp8 showSectionIndex:(BOOL)fp24;
- (id)initWithFrame:(struct CGRect)fp8;
- (void)dealloc;
- (void)setDataSource:(id)fp8;
- (float)marginForIndexControl:(BOOL)fp8;
- (id)allTitles;
- (id)indexTitles;
- (void)setAllowsScrollIndicators:(BOOL)fp8;
- (void)setShouldHideHeaderInShortLists:(BOOL)fp8;
- (BOOL)showsSectionHeaders;
- (BOOL)showsSectionIndex;
- (void)setNonIndexedTitlesShownLast:(BOOL)fp8;
- (void)setSectionListStyle:(int)fp8;
- (void)noteIndexTitlesDidChange;
- (void)reloadData;
- (int)numberOfSections;
- (id)titleForSection:(int)fp8;
- (int)closestSectionForTitle:(id)fp8;
- (id)_indexTitlesAsSet;
- (void)_setIndexVisible:(BOOL)fp8;
- (id)table;

@end

@interface UISectionHeaderCell : UIView
{
    NSString *_title;
    struct {
        unsigned int style:1;
        unsigned int reserved:31;
    } _sectionHeaderCellFlags;
}

+ (struct __GSFont *)defaultTitleFont;
- (id)initWithFrame:(struct CGRect)fp8;
- (void)dealloc;
- (void)setStyle:(int)fp8;
- (struct CGRect)_rectForTitle:(id)fp8;
- (void)setTitle:(id)fp8;
- (void)drawTitle:(id)fp8 withColor:(struct CGColor *)fp12 withShadowColor:(struct CGColor *)fp16 inRect:(struct CGRect)fp20;
- (void)drawTitle:(id)fp8 inRect:(struct CGRect)fp12;
- (void)drawRect:(struct CGRect)fp8;
- (id)title;
- (BOOL)isEqualToView:(id)fp8;
- (BOOL)_shouldTryPromoteDescendantToFirstResponder;
- (void)mouseUp:(struct __GSEvent *)fp8;

@end

@interface UIRotationAnimation : UIAnimation
{
    float _startAngle;
    float _endAngle;
}

- (void)setStartRotationAngle:(float)fp8;
- (void)setEndRotationAngle:(float)fp8;
- (void)setProgress:(float)fp8;

@end

@interface UIScrollAnimation : UIAnimation
{
    struct CGPoint _startPoint;
    struct CGPoint _endPoint;
}

- (void)setStartPoint:(struct CGPoint)fp8;
- (void)setEndPoint:(struct CGPoint)fp8;
- (void)setProgress:(float)fp8;

@end

@interface UIAlphaAnimation : UIAnimation
{
    float _startAlpha;
    float _endAlpha;
}

- (void)setStartAlpha:(float)fp8;
- (void)setEndAlpha:(float)fp8;
- (float)_alphaForMultiplier:(float)fp8;
- (void)setProgress:(float)fp8;
- (float)alphaForFraction:(float)fp8;

@end

@interface UIFrameAnimation : UIAnimation
{
    struct CGRect _startFrame;
    struct CGRect _endFrame;
    int _fieldsToChange;
}

- (id)initWithTarget:(id)fp8;
- (void)setStartFrame:(struct CGRect)fp8;
- (void)setEndFrame:(struct CGRect)fp8;
- (struct CGRect)endFrame;
- (void)setSignificantRectFields:(int)fp8;
- (void)setProgress:(float)fp8;

@end

@interface UITransformAnimation : UIAnimation
{
    struct CGAffineTransform _startTransform;
    struct CGAffineTransform _endTransform;
}

- (void)setStartTransform:(struct CGAffineTransform)fp8;
- (void)setEndTransform:(struct CGAffineTransform)fp8;
- (struct CGAffineTransform)_transformWithMultiplier:(float)fp8;
- (void)setProgress:(float)fp8;
- (struct CGAffineTransform)transformForFraction:(float)fp8;

@end

@interface UIAnimation : NSObject
{
    id _target;
    SEL _action;
    id _delegate;
    struct {
        unsigned int curve:4;
        unsigned int tvOutput:1;
        unsigned int reserved:27;
    } _animationFlags;
    double _startTime;
    double _duration;
    int _state;
}

- (id)initWithTarget:(id)fp8;
- (void)stopAnimation;
- (id)target;
- (void)setDelegate:(id)fp8;
- (id)delegate;
- (void)setAction:(SEL)fp8;
- (SEL)action;
- (void)setAnimationCurve:(int)fp8;
- (void)setProgress:(float)fp8;
- (float)progressForFraction:(float)fp8;
- (void)dealloc;

@end

@interface UIAnimator : NSObject
{
    NSMutableArray *_animations;
    double _lastUpdateTime;
    struct __GSHeartbeat *_lcdHeartbeat;
    struct __GSHeartbeat *_tvHeartbeat;
    int _lcdCount;
    int _tvCount;
}

+ (id)sharedAnimator;
+ (void)disableAnimation;
+ (void)enableAnimation;
- (void)dealloc;
- (void)addAnimation:(id)fp8 withDuration:(double)fp12 start:(BOOL)fp20;
- (void)addAnimations:(id)fp8 withDuration:(double)fp12 start:(BOOL)fp20;
- (void)removeAnimationsForTarget:(id)fp8;
- (void)removeAnimationsForTarget:(id)fp8 ofKind:(Class)fp12;
- (void)startAnimation:(id)fp8;
- (void)stopAnimation:(id)fp8;
- (float)fractionForAnimation:(id)fp8;

@end

@interface UIAnimation (Internal)
- (int)state;
- (BOOL)tvOutput;
- (void)setDuration:(double)fp8;
- (float)fractionForTime:(double)fp8;
- (void)markStart:(double)fp8;
- (void)markStop;
@end

@interface UIAnimator (Static)
- (void)_addAnimation:(id)fp8 withDuration:(double)fp12 start:(BOOL)fp20 startTime:(double)fp24;
- (void)_startAnimation:(id)fp8 withStartTime:(double)fp12;
- (void)_advance:(BOOL)fp8;
@end

@interface UIFieldEditor : UIWebView
{
    WebFrameBridge *_bridge;
    DOMDocument *_document;
    DOMHTMLElement *_textElement;
    DOMHTMLElement *_sizeElement;
    NSString *_initialText;
    NSString *_initialStyle;
    UIView *_proxiedView;
    int _selectionBehavior;
    unsigned int _changingView:1;
    unsigned int _mouseWasDragged:1;
    unsigned int _isShowingPlaceholder:1;
    unsigned int _shouldMaintainFirstResponderWhenEndEditing:1;
    unsigned int _isResigningFirstResponder:1;
    unsigned int _delegateRespondsToFieldEditorDidChange:1;
    unsigned int _delegateRespondsToShouldInsertText:1;
    unsigned int _delegateRespondsToShouldReplaceWithText:1;
    unsigned int _fieldEditorReentrancyGuard:1;
    unsigned int _reserved:23;
}

+ (id)activeFieldEditor;
+ (id)sharedFieldEditor;
+ (void)releaseSharedInstance;
- (id)initWithFrame:(struct CGRect)fp8;
- (void)dealloc;
- (void)selectAll;
- (BOOL)canResignFirstResponder;
- (unsigned int)becomeFirstResponder;
- (BOOL)resignFirstResponder;
- (id)_responderForBecomeFirstResponder;
- (BOOL)shouldChangeSelectionForEvent:(struct __GSEvent *)fp8;
- (struct _NSRange)selectionRange;
- (void)setSelection:(struct _NSRange)fp8;
- (void)setSelectionBehavior:(int)fp8;
- (int)selectionBehavior;
- (unsigned int)characterOffsetAtPoint:(struct CGPoint)fp8;
- (BOOL)_proxySupportsPlaceholderText;
- (id)_proxyPlaceholderText;
- (id)_proxyPlaceholderStyle;
- (BOOL)_setupPlaceholderText;
- (id)textTraits;
- (id)keyboardInputOverlayContainer:(id)fp8;
- (void)becomeFieldEditorForView:(id)fp8 inRect:(struct CGRect)fp12;
- (void)maintainFieldEditorWhenEndEditingForView:(id)fp8;
- (void)_setTextElementStyle:(id)fp8;
- (void)setStyle:(id)fp8;
- (BOOL)isShowingPlaceholder;
- (id)style;
- (struct CGColor *)textColorForCaretSelection;
- (void)_setTextElementString:(id)fp8;
- (void)setText:(id)fp8;
- (id)text;
- (void)setCaretColor:(struct CGColor *)fp8;
- (int)scrollXOffset;
- (int)scrollYOffset;
- (void)setScrollXOffset:(int)fp8 scrollYOffset:(int)fp12;
- (void)setScrollXOffset:(int)fp8 scrollYOffset:(int)fp12 adjustForPurpleCaret:(BOOL)fp16;
- (void)webView:(id)fp8 didFinishLoadForFrame:(id)fp12;
- (struct CGSize)contentSize;
- (void)scrollToMakeCaretVisible:(BOOL)fp8;
- (void)webViewDidChange:(id)fp8;
- (void)webViewDidChangeSelection:(id)fp8;
- (void)webViewDidBeginEditing:(id)fp8;
- (void)webViewDidEndEditing:(id)fp8;
- (BOOL)webView:(id)fp8 shouldChangeSelectedDOMRange:(id)fp12 toDOMRange:(id)fp16 affinity:(int)fp20 stillSelecting:(BOOL)fp24;
- (void)clearPlaceholder;
- (BOOL)webView:(id)fp8 shouldInsertText:(id)fp12 replacingDOMRange:(id)fp16 givenAction:(int)fp20;
- (BOOL)webView:(id)fp8 shouldDeleteDOMRange:(id)fp12;
- (void)setupPlaceholderTextIfNeeded;
- (BOOL)hasMarkedText;
- (id)proxiedView;
- (void)setFrame:(struct CGRect)fp8;
- (void)mouseDown:(struct __GSEvent *)fp8;
- (void)mouseDragged:(struct __GSEvent *)fp8;
- (void)mouseUp:(struct __GSEvent *)fp8;
- (BOOL)isProxyFor:(id)fp8;
- (void)autoscrollTimerFired:(id)fp8;
- (void)resumeWithNotification:(id)fp8;

@end

@interface UIPopup : UIControl
{
    int _selectedIndex;
    struct CGRect _saveFrame;
    struct CGRect _highlightRect;
    int _highlightIndex;
    struct {
        unsigned int stillTracking:1;
        unsigned int reserved:31;
    } _popupFlags;
}

- (id)initWithFrame:(struct CGRect)fp8;
- (void)selectItemAtIndex:(int)fp8;
- (int)indexOfSelectedItem;
- (void)drawRect:(struct CGRect)fp8;
- (id)hitTest:(struct CGPoint)fp8 forEvent:(struct __GSEvent *)fp16;
- (BOOL)beginTrackingAt:(struct CGPoint)fp8 withEvent:(struct __GSEvent *)fp16;
- (BOOL)continueTrackingAt:(struct CGPoint)fp8 previous:(struct CGPoint)fp16 withEvent:(struct __GSEvent *)fp24;
- (void)endTrackingAt:(struct CGPoint)fp8 previous:(struct CGPoint)fp16 withEvent:(struct __GSEvent *)fp24;

@end

@interface UIPopup (Static)
- (void)_mouseDownInOtherView:(id)fp8;
- (void)_sendActionsForEventMask:(int)fp8 withEvent:(struct __GSEvent *)fp12;
- (void)_displaySelectedItem;
- (void)_highlightItemAtPoint:(struct CGPoint)fp8 withEvent:(struct __GSEvent *)fp16;
- (void)_finishTracking;
@end

@interface UIDefaultWebViewFormEditingDelegate : NSObject
{
}

- (void)webViewDidEndEditingFormElements:(id)fp8;
- (void)webViewWillEndEditingFormElements:(id)fp8;
- (void)webViewDidBeginEditingFormElements:(id)fp8;
- (void)webViewWillBeginEditingFormElements:(id)fp8;
- (void)webView:(id)fp8 didEndEditingFormElement:(id)fp12;
- (void)webView:(id)fp8 willEndEditingFormElement:(id)fp12;
- (void)webView:(id)fp8 didBeginEditingFormElement:(id)fp12;
- (void)webView:(id)fp8 willBeginEditingFormElement:(id)fp12;
- (int)orientationForWebView:(id)fp8;
- (id)calloutSuperviewForWebView:(id)fp8;

@end

@interface UIWebView : UITiledView <UIKeyboardInput>
{
    struct WKWindow *_window;
    WebView *_webView;
    UITextView *m_parentTextView;
    id _delegate;
    id _textSuggestionDelegate;
    id _editingDelegate;
    float _doubleTapDelay;
    struct CGRect _doubleTapRect;
    struct CGRect _mainDocumentDoubleTapRect;
    struct CGPoint _scrollPoint;
    struct CGPoint _doubleTapStartPosition;
    double _doubleTapStartTime;
    struct CGSize _pendingSize;
    int _orientation;
    int _textDomain;
    int _suggestionBarTextSize;
    UITextLoupe *_textLoupe;
    DOMHTMLElement *_standaloneEditingElement;
    struct CGPoint _mouseDownPoint;
    double _mouseDownTime;
    UIAutoscrollTimer *_autoscrollTimer;
    struct __CFDictionary *_plugInViews;
    UITextTraits *_textTraits;
    struct {
        NSMutableArray *all;
        NSMutableArray *html;
        NSMutableArray *javascript;
        NSMutableArray *css;
        NSMutableArray *error;
        NSMutableArray *warning;
        NSMutableArray *tip;
        NSMutableArray *log;
    } _messages;
    struct {
        char isEdited;
        char isTransitioning;
        char allowsUnapprovedFocus;
        char zoomsFocusedFormControl;
        struct CGRect cachedBoundingBox;
        DOMNode<UIFormControl> *element;
        UIInformalDelegate *delegate;
    } _forms;
    struct {
        NSTimer *timer;
        struct CGPoint location;
        char isBlocked;
        char isCancelled;
        char isOnWebThread;
        char isDisplayingHighlight;
        char attemptedClick;
        char isGestureScrolling;
        struct CGPoint gestureScrollPoint;
        struct CGPoint gestureCurrentPoint;
        char hasAttemptedGestureScrolling;
        UIView *candidate;
        char forwardingGuard;
        SEL mouseUpForwarder;
        SEL mouseDraggedForwarder;
        DOMNode *element;
        UIInformalDelegate *delegate;
    } _interaction;
    struct {
        WebPDFView *view;
        NSTimer *timer;
    } _pdf;
    struct {
        struct CGSize size;
        float initialScale;
        float minimumScale;
        float maximumScale;
        char allowsUserScaling;
    } _viewportConfigurations[6];
    struct CGSize _minimumSize;
    int _documentType;
    float _documentScale;
    struct CGRect _documentBounds;
    int _enabledGestures;
    unsigned int _customConfigurations;
    unsigned int _webCoreNeedsSetNeedsDisplay:1;
    unsigned int _webCoreNeedsDraw:1;
    unsigned int _mouseDownCount;
    unsigned int _ignoresFocusingMouse:1;
    unsigned int _ignoresKeyEvents:1;
    unsigned int _autoresizes:1;
    unsigned int _scalesToFit:1;
    unsigned int _hasCustomScale:1;
    unsigned int _userScrolled:1;
    unsigned int _pageNeedsReset:1;
    unsigned int _hasScrollPoint:1;
    unsigned int _setNeedsDisplayWasForced:1;
    unsigned int _gesturesDisabled:1;
    unsigned int _doubleTapRectIsReplaced:1;
    unsigned int _standaloneEditableView:1;
    unsigned int _isFieldEditor:1;
    unsigned int _widgetEditingView:1;
    unsigned int _mouseDragged:1;
    unsigned int _textLoupeActive:1;
    unsigned int _mouseReentrancyGuard:1;
    unsigned int _smoothsFonts:1;
    unsigned int _isShowingFullScreenPlugIn:1;
    unsigned int _isSettingRedrawFrame:1;
    unsigned int _needsScrollNotifications:1;
}

+ (Class)layerClass;
- (id)_doubleTapSpeedFromDefaults;
- (id)initWithFrame:(struct CGRect)fp8;
- (void)dealloc;
- (void)release;
- (void)stopLoading:(id)fp8;
- (void)setDelegate:(id)fp8;
- (void)loadHTMLString:(id)fp8 baseURL:(id)fp12;
- (void)loadRequest:(id)fp8;
- (id)webView;
- (void)setUserStyleSheetLocation:(id)fp8;
- (void)setFrame:(struct CGRect)fp8;
- (float)integralScaleForScale:(float)fp8;
- (void)_setDocumentScale:(float)fp8;
- (float)viewportWidth;
- (float)viewportHeight;
- (float)minimumScaleForMinimumSize:(struct CGSize)fp8;
- (float)initialScale;
- (float)minimumScale;
- (void)viewportConfigurationsDidChange:(unsigned int)fp8;
- (void)_setDocumentType:(int)fp8 overrideCustomConfigurations:(BOOL)fp12;
- (void)_setDocumentType:(int)fp8;
- (void)_updateSize;
- (void)_clearDoubleTapRect;
- (void)webView:(id)fp8 didReceiveViewportArguments:(id)fp12 forFrame:(id)fp16;
- (void)webView:(id)fp8 needsScrollNotifications:(id)fp12 forFrame:(id)fp16;
- (BOOL)needsScrollNotifications;
- (void)enclosingScrollerDidScroll;
- (void)webView:(id)fp8 didCommitLoadForFrame:(id)fp12;
- (void)webView:(id)fp8 didReceiveDocTypeForFrame:(id)fp12;
- (void)_WAKViewSizeDidChange:(id)fp8;
- (void)setEnabledGestures:(int)fp8;
- (int)enabledGestures;
- (struct CGRect)documentBounds;
- (void)setAutoresizes:(BOOL)fp8;
- (void)setMinimumSize:(struct CGSize)fp8;
- (void)setViewportSize:(struct CGSize)fp8 forDocumentTypes:(int)fp16;
- (void)setInitialScale:(float)fp8 forDocumentTypes:(int)fp12;
- (void)setMinimumScale:(float)fp8 forDocumentTypes:(int)fp12;
- (void)setMaximumScale:(float)fp8 forDocumentTypes:(int)fp12;
- (void)setAllowsUserScaling:(BOOL)fp8 forDocumentTypes:(int)fp12;
- (BOOL)_updatesScroller;
- (void)_setScrollerOffset:(struct CGPoint)fp8;
- (void)_restoreScrollPointForce:(BOOL)fp8;
- (void)_resetForNewPage;
- (void)webView:(id)fp8 saveStateToHistoryItem:(id)fp12 forFrame:(id)fp16;
- (void)webView:(id)fp8 restoreStateFromHistoryItem:(id)fp12 forFrame:(id)fp16 force:(BOOL)fp20;
- (BOOL)webView:(id)fp8 shouldScrollToPoint:(struct CGPoint)fp12 forFrame:(id)fp20;
- (struct CGPoint)contentsPointForWebView:(id)fp8;
- (struct CGRect)documentVisibleRectForWebView:(id)fp8;
- (void)_didMoveFromWindow:(id)fp8 toWindow:(id)fp12;
- (BOOL)tileDrawingEnabled;
- (void)_webCoreNeedsDisplay;
- (void)flushDirtyRects;
- (void)layoutSubviews;
- (void)setNeedsDisplayInRect:(struct CGRect)fp8;
- (void)setNeedsDisplay;
- (void)layoutBeforeDraw;
- (void)drawRect:(struct CGRect)fp8;
- (void)setSmoothsFonts:(BOOL)fp8;
- (void)setDrawsBackground:(BOOL)fp8;
- (BOOL)cancelMouseTracking;
- (void)setIgnoresFocusingMouse:(BOOL)fp8;
- (void)setIgnoresKeyEvents:(BOOL)fp8;
- (void)_didScroll;
- (void)_sendInternalEvent:(struct __GSEvent *)fp8;
- (struct CGPoint)_viewportLocationForEvent:(struct __GSEvent *)fp8;
- (BOOL)_isSubviewOfPlugInView:(id)fp8;
- (id)hitTest:(struct CGPoint)fp8 forEvent:(struct __GSEvent *)fp16;
- (void)clickAfterDelay:(float)fp8;
- (void)mouseDown:(struct __GSEvent *)fp8;
- (void)defaultMouseDragged:(struct __GSEvent *)fp8;
- (void)defaultMouseUp:(struct __GSEvent *)fp8;
- (void)setDoubleTapDelay:(float)fp8;
- (float)doubleTapDelay;
- (void)keyUp:(struct __GSEvent *)fp8;
- (void)keyDown:(struct __GSEvent *)fp8;
- (void)gestureStarted:(struct __GSEvent *)fp8;
- (void)gestureChanged:(struct __GSEvent *)fp8;
- (void)gestureEnded:(struct __GSEvent *)fp8;
- (void)_notifyPlugInViewsOfScaleChange;
- (void)zoomToScale:(float)fp8;
- (void)_reshapePlugInViews;
- (void)redrawScaledDocument;
- (void)setOrientation:(int)fp8;
- (struct CGPoint)_centeredScrollPointForPoint:(struct CGPoint)fp8 scale:(float)fp16;
- (struct CGPoint)_doubleTapScrollPointForRect:(struct CGRect)fp8 scale:(float)fp24 event:(struct __GSEvent *)fp28;
- (float)_doubleTapScaleForSize:(float)fp8 isWidth:(BOOL)fp12;
- (BOOL)_doubleTapZoomToRect:(struct CGRect)fp8 scale:(float)fp24 fromEvent:(struct __GSEvent *)fp28;
- (void)doubleTap:(struct __GSEvent *)fp8;
- (struct CGRect)doubleTapRect;
- (BOOL)doubleTapRectIsReplaced;
- (void)setIsStandaloneEditableView:(BOOL)fp8;
- (BOOL)isStandaloneEditableView;
- (void)setStandaloneEditingElement:(id)fp8;
- (id)standaloneEditingElement;
- (void)setIsWidgetEditingView:(BOOL)fp8;
- (BOOL)isWidgetEditingView;
- (BOOL)updateKeyboardStateOnResponderChanges;
- (BOOL)canBecomeFirstResponder;
- (BOOL)canResignFirstResponder;
- (unsigned int)becomeFirstResponder;
- (BOOL)resignFirstResponder;
- (id)_responderForBecomeFirstResponder;
- (BOOL)makeWKFirstResponder;
- (void)ensureSelection;
- (id)_parentTextView;
- (void)_setParentTextView:(id)fp8;
- (BOOL)isFieldEditor;
- (void)deleteBackward;
- (void)insertText:(id)fp8;
- (void)replaceCurrentWordWithText:(id)fp8;
- (void)clearPlaceholder;
- (void)setupPlaceholderTextIfNeeded;
- (void)setMarkedText:(id)fp8;
- (id)markedText;
- (unsigned short)characterInRelationToCaretSelection:(int)fp8;
- (unsigned short)characterBeforeCaretSelection;
- (unsigned short)characterAfterCaretSelection;
- (struct __GSFont *)fontForCaretSelection;
- (struct CGColor *)textColorForCaretSelection;
- (struct CGRect)rectContainingCaretSelection;
- (id)wordRangeContainingCaretSelection;
- (id)wordContainingCaretSelection;
- (id)wordInRange:(id)fp8;
- (void)expandSelectionToStartOfWordContainingCaretSelection;
- (int)wordOffsetInRange:(id)fp8;
- (BOOL)spaceFollowsWordInRange:(id)fp8;
- (id)previousNGrams:(unsigned int)fp8;
- (struct _NSRange)selectionRange;
- (BOOL)hasSelection;
- (BOOL)selectionAtDocumentStart;
- (BOOL)selectionAtSentenceStart;
- (BOOL)selectionAtWordStart;
- (BOOL)rangeAtSentenceStart:(id)fp8;
- (void)markCurrentWordForAutoCorrection:(id)fp8 correction:(id)fp12;
- (void)moveBackward:(unsigned int)fp8;
- (void)moveForward:(unsigned int)fp8;
- (void)selectAll;
- (void)setText:(id)fp8;
- (id)text;
- (void)updateSelectionWithPoint:(struct CGPoint)fp8;
- (void)setCaretChangeListener:(id)fp8;
- (struct CGRect)caretRect;
- (struct CGRect)convertCaretRect:(struct CGRect)fp8;
- (id)keyboardInputView;
- (BOOL)isShowingPlaceholder;
- (id)implementationWebView;
- (id)keyboardInputOverlayContainer:(id)fp8;
- (BOOL)isProxyFor:(id)fp8;
- (BOOL)interceptKeyEvent:(struct __GSEvent *)fp8;
- (void)setWKWindowIsSuspendedWindow:(BOOL)fp8;
- (id)webView:(id)fp8 plugInViewWithArguments:(id)fp12 fromPlugInPackage:(id)fp16;
- (id)webView:(id)fp8 fallbackPlugInViewWithArguments:(id)fp12;
- (void)webView:(id)fp8 willShowFullScreenForPlugInView:(id)fp12;
- (void)webView:(id)fp8 didHideFullScreenForPlugInView:(id)fp12;
- (void)didRemovePlugInView:(id)fp8;
- (BOOL)isShowingFullScreenPlugInUI;
- (id)textTraits;
- (void)takeTraitsFrom:(id)fp8;
- (void)forwardInvocation:(id)fp8;
- (id)methodSignatureForSelector:(SEL)fp8;

@end

@interface WebLayer : LKLayer
{
    BOOL _layoutsSuspended;
}

- (void)setNeedsLayout;
- (void)setLayoutsSuspended:(BOOL)fp8;

@end

@interface UISectionIndex : UIControl
{
    UISectionTable *_sectionTable;
    struct CGPoint _lastMousePoint;
}

+ (float)visibleWidth;
+ (float)opaqueVisibleWidth;
- (id)_sectionTitles;
- (id)initWithSectionTable:(id)fp8;
- (void)drawRect:(struct CGRect)fp8;
- (id)_titleForPoint:(struct CGPoint)fp8 pastTop:(char *)fp16 pastBottom:(char *)fp20;
- (void)_scrollToClosestSectionAtPoint:(struct CGPoint)fp8;
- (void)noteIndexTitlesDidChangeInSectionList:(id)fp8;
- (BOOL)beginTrackingAt:(struct CGPoint)fp8 withEvent:(struct __GSEvent *)fp16;
- (BOOL)continueTrackingAt:(struct CGPoint)fp8 previous:(struct CGPoint)fp16 withEvent:(struct __GSEvent *)fp24;
- (void)endTrackingAt:(struct CGPoint)fp8 previous:(struct CGPoint)fp16 withEvent:(struct __GSEvent *)fp24;

@end

@interface UIApplication (UIApplicationTesting)
- (BOOL)launchedToTest;
- (BOOL)runTest:(id)fp8 options:(id)fp12;
- (BOOL)shouldExitAfterQuitTest;
- (void *)_getSymbol:(id)fp8 forFramework:(id)fp12;
- (BOOL)isRunningTest;
- (void)startedTest:(id)fp8;
- (void)_reportResults:(id)fp8;
- (void)finishedTest:(id)fp8 extraResults:(id)fp12;
- (void)finishedTest:(id)fp8;
- (void)failedTest:(id)fp8;
- (BOOL)handleTestURL:(id)fp8;
- (void)startCHUDRecording:(id)fp8;
- (void)stopCHUDRecording;
- (void)enableFramebufferStatisticsGathering;
- (void)_leak;
- (void)startLeaking;
- (void)stopLeaking;
@end

@interface UITiledView : UIView
{
    NSMutableArray *_rows;
    NSMutableArray *_unusedTiles;
    NSString *_minificationFilter;
    struct CGRect _visibleRect;
    struct CGRect _requiredDrawRect;
    struct CGRect _dirtyRect;
    struct CGSize _tileSize;
    struct CGSize _firstTileSize;
    struct CGPoint _tileOrigin;
    unsigned int _maxTileCount;
    BOOL _drawsGrid;
    BOOL _isTilingEnabled;
    BOOL _logsTilingChanges;
    BOOL _tileDrawingEnabled;
    BOOL _inLayout;
    BOOL _allNewTilesNeeded;
    BOOL _positionsTilesFromOrigin;
    BOOL _sizesTilesToFit;
    BOOL _tilesOpaque;
}

+ (Class)tileClass;
- (unsigned int)_usedTileCount;
- (unsigned int)_tileCount;
- (id)_createTileWithFrame:(struct CGRect)fp8;
- (struct CGRect)gridRect;
- (void)_removeTile:(id)fp8 cache:(BOOL)fp12;
- (void)_removeRowAtIndex:(unsigned int)fp8 cache:(BOOL)fp12;
- (void)_removeColumnAtIndex:(unsigned int)fp8 cache:(BOOL)fp12;
- (unsigned int)_removeLeastVisibleRowOrColumn:(BOOL)fp8;
- (void)_removeTilesIfNecessaryForRow:(BOOL)fp8;
- (void)removeAllNonVisibleTiles;
- (void)removeAllTiles;
- (void)_updateTileCache;
- (void)_removeTilesIfNecessary;
- (void)_createRow:(BOOL)fp8;
- (void)_createColumn:(BOOL)fp8;
- (void)_addNeededTiles;
- (void)_invalidateTiles;
- (id)initWithFrame:(struct CGRect)fp8;
- (void)dealloc;
- (BOOL)tilesNeedDisplay;
- (void)flushDirtyRects;
- (void)layoutBeforeDraw;
- (void)_layoutTiles;
- (struct CGRect)_visibleRect;
- (struct CGRect)visibleRect;
- (void)layoutSubviews;
- (void)setNeedsLayout;
- (void)_didScroll;
- (void)setNeedsDisplayInRect:(struct CGRect)fp8;
- (void)setNeedsDisplay;
- (void)setTransform:(struct CGAffineTransform)fp8;
- (void)setTileSize:(struct CGSize)fp8;
- (void)setSizesTilesToFit:(BOOL)fp8;
- (void)setPositionsTilesFromOrigin:(BOOL)fp8;
- (void)setTileOrigin:(struct CGPoint)fp8;
- (struct CGPoint)tileOrigin;
- (struct CGSize)tileSize;
- (void)setDrawsGrid:(BOOL)fp8;
- (BOOL)drawsGrid;
- (void)setMaxTileCount:(unsigned int)fp8;
- (unsigned int)maxTileCount;
- (BOOL)_canDrawContent;
- (void)setTilingEnabled:(BOOL)fp8;
- (BOOL)isTilingEnabled;
- (void)setLogsTilingChanges:(BOOL)fp8;
- (BOOL)logsTilingChanges;
- (void)ensureDrawnRect:(struct CGRect)fp8;
- (void)setFirstTileSize:(struct CGSize)fp8;
- (void)setTileDrawingEnabled:(BOOL)fp8;
- (BOOL)tileDrawingEnabled;
- (void)setTileMinificationFilter:(id)fp8;
- (void)setTilesOpaque:(BOOL)fp8;

@end

@interface UIImageView : UIControl
{
}

- (id)initWithImage:(id)fp8;
- (id)image;
- (void)setImage:(id)fp8;
- (BOOL)shouldTrack;
- (void)setCGImageRef:(struct CGImage *)fp8;
- (struct CGImage *)imageRef;

@end

@interface UIView (UIImageViewImplementation)
- (id)initWithImage:(id)fp8;
- (id)image;
- (void)setImage:(id)fp8;
@end

@interface UIProgressIndicator : UIView
{
    float _duration;
    struct {
        unsigned int style:3;
        unsigned int animating:1;
        unsigned int reserved:28;
    } _progressIndicatorFlags;
}

+ (void)_loadResourcesForStyle:(int)fp8;
+ (struct CGSize)defaultSizeForStyle:(int)fp8;
+ (struct CGSize)size;
- (void)setStyle:(int)fp8;
- (void)dealloc;
- (void)startAnimation;
- (void)stopAnimation;
- (void)setAnimationDuration:(float)fp8;
- (void)_didMoveFromWindow:(id)fp8 toWindow:(id)fp12;

@end

@interface UIResponder : NSObject
{
}

- (void)mouseDown:(struct __GSEvent *)fp8;
- (void)mouseUp:(struct __GSEvent *)fp8;
- (void)mouseDragged:(struct __GSEvent *)fp8;
- (void)mouseEntered:(struct __GSEvent *)fp8;
- (void)mouseExited:(struct __GSEvent *)fp8;
- (void)mouseMoved:(struct __GSEvent *)fp8;
- (void)scrollWheel:(struct __GSEvent *)fp8;
- (void)keyDown:(struct __GSEvent *)fp8;
- (void)keyUp:(struct __GSEvent *)fp8;
- (void)gestureStarted:(struct __GSEvent *)fp8;
- (void)gestureEnded:(struct __GSEvent *)fp8;
- (void)gestureChanged:(struct __GSEvent *)fp8;
- (id)nextResponder;
- (BOOL)_containedInAbsoluteResponderChain;
- (unsigned int)becomeFirstResponder;
- (BOOL)canBecomeFirstResponder;
- (BOOL)resignFirstResponder;
- (BOOL)canResignFirstResponder;
- (BOOL)isFirstResponder;
- (id)firstResponder;

@end

@interface UIResponder (Static)
- (void)_setFirstResponder:(id)fp8;
- (id)_firstResponder;
- (id)_responderForBecomeFirstResponder;
- (unsigned int)_becomeFirstResponderWhenPossible;
@end

@interface UIResponder (Internal)
- (void)_controlMouseDown:(struct __GSEvent *)fp8;
- (void)_controlMouseUp:(struct __GSEvent *)fp8;
- (void)_controlMouseDragged:(struct __GSEvent *)fp8;
@end

@interface UIProgressBar : UIView
{
    double _delayedProgress;
    double _progress;
    unsigned int _delaysProgressUpdates:1;
    int _style;
}

+ (struct CGSize)defaultSize;
+ (void)_loadResourcesForStyle:(int)fp8;
- (id)initWithFrame:(struct CGRect)fp8;
- (void)setStyle:(int)fp8;
- (void)drawRect:(struct CGRect)fp8;
- (void)setProgress:(double)fp8;
- (void)updateIfNecessary;
- (void)setDelaysProgressUpdates:(BOOL)fp8;

@end

@interface UISegmentedHighlightIndicator : UIImageView
{
}

- (id)initWithStyle:(int)fp8;
- (void)setPosition:(int)fp8 withStyle:(int)fp12 selected:(BOOL)fp16;

@end

@interface UISegmentedSelectionIndicator : UIImageView
{
}

- (id)initWithStyle:(int)fp8;
- (void)setPosition:(int)fp8 withStyle:(int)fp12;

@end

@interface UISegmentedControl : UIView
{
    NSMutableArray *_segments;
    int _selectedSegment;
    int _highlightedSegment;
    UISegmentedSelectionIndicator *_selectionIndicator;
    UISegmentedHighlightIndicator *_highlightIndicator;
    id _delegate;
    struct {
        unsigned int style:2;
        unsigned int showsDisclosure:1;
        unsigned int delegateSelectedSegmentChanged:1;
        unsigned int delegateDisclosureButtonClicked:1;
        unsigned int delegateAlwaysNotifiesDelegateOfSegmentClicks:1;
        unsigned int momentaryClick:1;
        unsigned int dontAlwaysToggleForTwoSegments:1;
        unsigned int tracking:1;
        unsigned int mouseInside:1;
        unsigned int reserved:23;
    } _segmentedControlFlags;
}

+ (float)defaultHeightForStyle:(int)fp8;
+ (float)defaultHeight;
- (id)initWithFrame:(struct CGRect)fp8;
- (id)initWithFrame:(struct CGRect)fp8 withStyle:(int)fp24 withItems:(id)fp28;
- (void)dealloc;
- (void)setDelegate:(id)fp8;
- (void)setShowsDisclosure:(BOOL)fp8;
- (void)setMomentaryClick:(BOOL)fp8;
- (void)setAlwaysToggleForTwoSegments:(BOOL)fp8;
- (void)setAlwaysNotifiesDelegateOfSegmentClicks:(BOOL)fp8;
- (void)insertSegment:(int)fp8 withTitle:(id)fp12 animated:(BOOL)fp16;
- (void)insertSegment:(int)fp8 withImage:(id)fp12 animated:(BOOL)fp16;
- (void)removeSegment:(int)fp8 animated:(BOOL)fp12;
- (void)removeAllSegments;
- (void)setTitle:(id)fp8 forSegment:(int)fp12;
- (void)setImage:(id)fp8 forSegment:(int)fp12;
- (void)setImagePadding:(struct CGSize)fp8 forSegment:(int)fp16;
- (void)setWidth:(float)fp8 forSegment:(int)fp12;
- (void)setEnabled:(BOOL)fp8 forSegment:(int)fp12;
- (int)numberOfSegments;
- (int)selectedSegment;
- (void)selectSegment:(int)fp8;
- (void)setFrame:(struct CGRect)fp8;
- (void)drawRect:(struct CGRect)fp8;
- (void)layoutSubviews;
- (BOOL)shouldTrack;
- (void)updateHighlight;
- (void)highlightSegment:(int)fp8;
- (void)mouseDown:(struct __GSEvent *)fp8;
- (BOOL)pointMostlyInside:(struct CGPoint)fp8 forEvent:(struct __GSEvent *)fp16;
- (void)mouseDragged:(struct __GSEvent *)fp8;
- (void)mouseUp:(struct __GSEvent *)fp8;
- (void)addSegmentWithTitle:(id)fp8;
- (void)setSelectedSegment:(int)fp8;

@end

@interface UISegment : UIView
{
    UIView *_info;
    float _width;
    struct CGSize _imagePadding;
    struct {
        unsigned int style:2;
        unsigned int selected:1;
        unsigned int showDivider:1;
        unsigned int hasImage:1;
        unsigned int isDisclosure:1;
        unsigned int position:3;
        unsigned int reserved:23;
    } _segmentFlags;
}

- (id)initWithInfo:(id)fp8 style:(int)fp12 position:(unsigned int)fp16 isDisclosure:(BOOL)fp20;
- (void)dealloc;
- (void)setEnabled:(BOOL)fp8;
- (void)setSelected:(BOOL)fp8;
- (void)setShowDivider:(BOOL)fp8;
- (void)animateAdd:(BOOL)fp8;
- (void)animateRemove;
- (struct CGRect)contentRect;
- (void)_positionInfo;
- (void)setPosition:(unsigned int)fp8;
- (void)setImagePadding:(struct CGSize)fp8;
- (void)setInfo:(id)fp8;
- (id)infoName;

@end

@interface UISegmentedControl (SynthEvents)
- (id)plistWithChildren:(struct CGPoint)fp8;
@end

@interface UISegmentedControl (Static)
- (void)_createSegmentAtIndex:(int)fp8 position:(unsigned int)fp12 withInfo:(id)fp16;
- (void)_insertSegment:(int)fp8 withInfo:(id)fp12 animated:(BOOL)fp16;
- (void)_clearSelectedSegment;
- (void)_removeSegmentAnimationFinished:(id)fp8 finished:(id)fp12 context:(void *)fp16;
@end

@interface _UIAlertSheetTable : UITable
{
}

- (void)drawExtraSeparator:(struct CGRect)fp8;

@end

@interface UIAlertSheetTableCell : UIImageAndTextTableCell
{
}

- (id)initWithFrame:(struct CGRect)fp8;
- (void)setBackgroundColor:(struct CGColor *)fp8;
- (void)updateHighlightColors;
- (void)drawSeparatorInRect:(struct CGRect)fp8;

@end

@interface _UIAlertStackWatcher : NSObject
{
}

- (id)init;
- (void)_appSuspended:(id)fp8;
- (void)dealloc;
- (void)_resumeWithNotification:(id)fp8;

@end

@interface _UILabeledPushButton : UIThreePartButton
{
    UITextLabel *_textLabel;
}

- (void)dealloc;
- (void)setLabel:(id)fp8;
- (void)setLabelFontSize:(float)fp8;
- (float)labelFontSize;
- (void)layoutSubviews;
- (void)setHighlighted:(BOOL)fp8;
- (void)drawTitleAtPoint:(struct CGPoint)fp8 width:(float)fp16;

@end

@interface _UIAlertOvelayWindow : UIWindow
{
}

+ (struct CGRect)constrainFrameToScreen:(struct CGRect)fp8;
- (void)_handleMouseUp:(struct __GSEvent *)fp8;
- (BOOL)_canExistBeyondSuspension;

@end

@interface UIAlertSheet : UIView
{
    id _delegate;
    UITextLabel *_titleLabel;
    UITextLabel *_bodyTextLabel;
    UITextLabel *_taglineTextLabel;
    float _startY;
    id _context;
    UIPushButton *_defaultButton;
    UIPushButton *_destructiveButton;
    UIButtonBar *_buttonBar;
    UIWindow *_dimWindow;
    int _suspendTag;
    float _bodyTextHeight;
    NSMutableArray *_buttons;
    NSMutableArray *_textFields;
    UIKeyboard *_keyboard;
    UITable *_table;
    int _orientation;
    struct {
        unsigned int numberOfRows:7;
        unsigned int delegateAlertSheetButtonClicked:1;
        unsigned int delegateDidPresentAlertSheet:1;
        unsigned int delegateDidDismissAlertSheet:1;
        unsigned int hideButtonBar:1;
        unsigned int alertStyle:3;
        unsigned int dontDimBackground:1;
        unsigned int dismissSuspended:1;
        unsigned int dontBlockInteraction:1;
        unsigned int sheetWasPoppedUp:1;
        unsigned int animating:1;
        unsigned int hideWhenDoneAnimating:1;
        unsigned int titleMaxLineCount:2;
        unsigned int bodyTextMaxLineCount:3;
        unsigned int runsModal:1;
        unsigned int runningModal:1;
        unsigned int addedTextView:1;
        unsigned int addedTableShadows:1;
        unsigned int showOverSBAlerts:1;
        unsigned int showMinTableContent:1;
        unsigned int bodyTextTruncated:1;
        unsigned int delegateBodyTextAlignment:1;
        unsigned int extra:31;
    } _asFlags;
}

+ (struct CGSize)minimumSize;
+ (id)topMostAlert;
+ (id)visibleAlert;
+ (BOOL)atLeastOneAlertVisible;
+ (void)_reorientAlertWindowTo:(int)fp8 animated:(BOOL)fp12;
+ (void)noteOrientationChangingTo:(int)fp8;
+ (void)hideTopmostMiniAlert:(int)fp8;
+ (void)hideAlertsForTermination;
+ (void)showTopmostMiniAlert:(char *)fp8;
+ (void)wantsToShowMiniAlerts:(char *)fp8;
+ (BOOL)_hideTopMostAlertAnimated:(BOOL)fp8;
+ (id)_popupAlertBackground;
- (id)initWithTitle:(id)fp8 buttons:(id)fp12 defaultButtonIndex:(int)fp16 delegate:(id)fp20 context:(id)fp24;
- (id)initWithFrame:(struct CGRect)fp8;
- (void)dealloc;
- (BOOL)requiresPortraitOrientation;
- (int)_currentOrientation;
- (void)_setAlertSheetStyleFromButtonBar:(id)fp8;
- (id)buttons;
- (void)_createTitleLabelIfNeeded;
- (void)_createBodyTextLabelIfNeeded;
- (void)_createTaglineTextLabelIfNeeded;
- (void)_setupTitleStyle;
- (void)setTitle:(id)fp8;
- (void)setBodyText:(id)fp8;
- (void)setTaglineText:(id)fp8;
- (void)setTitleMaxLineCount:(int)fp8;
- (void)setBodyTextMaxLineCount:(int)fp8;
- (id)addTextFieldWithValue:(id)fp8 label:(id)fp12;
- (id)textFieldAtIndex:(int)fp8;
- (int)textFieldCount;
- (id)textField;
- (id)keyboard;
- (void)setDefaultButton:(id)fp8;
- (void)setDestructiveButton:(id)fp8;
- (id)_addButtonWithTitle:(id)fp8 label:(id)fp12 buttonClass:(Class)fp16;
- (id)addButtonWithTitle:(id)fp8 label:(id)fp12;
- (id)addButtonWithTitle:(id)fp8;
- (id)addButtonWithTitle:(id)fp8 buttonClass:(Class)fp12;
- (int)buttonCount;
- (void)setDelegate:(id)fp8;
- (id)delegate;
- (void)setContext:(id)fp8;
- (id)context;
- (void)_buttonClicked:(id)fp8;
- (void)_cleanupAfterPopupAnimation;
- (void)setTableShouldShowMinimumContent:(BOOL)fp8;
- (id)table;
- (BOOL)_needsKeyboard;
- (void)setShowsOverSpringBoardAlerts:(BOOL)fp8;
- (void)_performPopup:(BOOL)fp8;
- (void)_growAnimationDidStop:(id)fp8 finished:(id)fp12;
- (void)_bubbleAnimationShrinkDidStop:(id)fp8 finished:(id)fp12;
- (void)_bubbleAnimationNormalDidStop:(id)fp8 finished:(id)fp12;
- (BOOL)_isAnimating;
- (void)_addToStack;
- (void)_removeFromStack;
- (void)_popoutAnimationDidStop:(id)fp8 finished:(id)fp12;
- (void)_performPopoutAnimationAnimated:(BOOL)fp8;
- (void)_repopup;
- (void)_tellSpringboardShowingSheet:(BOOL)fp8;
- (void)_tellSpringboardHidingSheet:(BOOL)fp8;
- (void)_createAlertWindowIfNeeded:(BOOL)fp8;
- (BOOL)_canShowAlerts;
- (void)_removeAlertWindowOrShowAnOldAlert;
- (void)_temporarilyHideAnimated:(BOOL)fp8;
- (void)_setupInitialFrame;
- (void)_rotatingAnimationDidStop:(id)fp8;
- (void)layoutAnimated:(BOOL)fp8;
- (void)_layoutPopupAlertWithOrientation:(int)fp8 animated:(BOOL)fp12;
- (void)_layoutIfNeeded;
- (void)_adjustLabelFontSizes;
- (BOOL)isBodyTextTruncated;
- (void)popupAlertAnimated:(BOOL)fp8 atOffset:(float)fp12;
- (void)popupAlertAnimated:(BOOL)fp8;
- (void)_presentSheetFromView:(id)fp8 above:(BOOL)fp12;
- (void)presentSheetFromBehindView:(id)fp8;
- (void)presentSheetFromAboveView:(id)fp8;
- (void)presentSheetInView:(id)fp8;
- (void)presentSheetToAboveView:(id)fp8;
- (void)_presentSheetStartingFromYCoordinate:(double)fp8;
- (void)_slideSheetOut:(BOOL)fp8;
- (void)dismiss;
- (void)dismissAnimated:(BOOL)fp8;
- (struct CGSize)backgroundSize;
- (float)_titleVerticalTopInset;
- (float)_titleVerticalBottomInset;
- (float)_titleHorizontalInset;
- (float)_bottomVerticalInset;
- (void)drawRect:(struct CGRect)fp8;
- (void)_appSuspended:(id)fp8;
- (void)_alertSheetAnimationDidStop:(id)fp8 finished:(id)fp12;
- (void)setNumberOfRows:(int)fp8;
- (int)alertSheetStyle;
- (void)setAlertSheetStyle:(int)fp8;
- (void)setDimsBackground:(BOOL)fp8;
- (void)setSuspendTag:(int)fp8;
- (void)setBlocksInteraction:(BOOL)fp8;
- (void)setRunsModal:(BOOL)fp8;
- (struct CGRect)titleRect;
- (float)_maxHeight;
- (float)_buttonHeight;
- (void)layout;
- (void)presentSheetFromButtonBar:(id)fp8;

@end

@interface UIAlertSheetTextField : UITextField
{
    UIThreePartImageView *_sheetBackgroundView;
}

- (void)dealloc;
- (void)setBackgroundView:(id)fp8;
- (id)backgroundView;

@end

@interface UIOnePartImageView : UIView
{
    struct CGRect _fromRect;
    UIImage *_image;
}

- (void)dealloc;
- (void)setImage:(id)fp8;
- (void)setFromRect:(struct CGRect)fp8;
- (void)drawRect:(struct CGRect)fp8;

@end

@interface UIThreePartImageView : UIView
{
    CDAnonymousStruct10 _slices;
    UIImage *_image;
}

- (void)dealloc;
- (void)setImage:(id)fp8;
- (void)setSlices:(CDAnonymousStruct10)fp8;
- (void)drawRect:(struct CGRect)fp8;

@end

@interface UIAlertSheet (UIDeprecated)
- (void)sizeToFit;
- (int)addButtonWithTitle:(id)fp8 isRed:(BOOL)fp12;
@end

@interface UIApplication (UIAlertSheetAppAdditions)
- (void)_alertSheetStackChanged;
@end

@interface UIThreePartButton : UIPushButton
{
    CDAnonymousStruct10 _bkgndSlices;
}

+ (struct __GSFont *)defaultFont;
- (id)initWithFrame:(struct CGRect)fp8;
- (void)setBackgroundSlices:(CDAnonymousStruct10)fp8;
- (void)setBackgroundImage:(id)fp8;
- (void)setPressedBackgroundImage:(id)fp8;
- (id)background;
- (CDAnonymousStruct10)_backgroundSlices:(struct CGSize)fp8;
- (float)minTitleMargin;
- (void)drawTitleAtPoint:(struct CGPoint)fp8 width:(float)fp16;

@end

@interface UIRemoveControl : UIView
{
    UIView *_target;
    id _delegate;
    UIView *_removeConfirmationButton;
    UIRemoveControlMinusButton *_minusButton;
    NSString *_label;
    struct {
        unsigned int removeButtonVisible:1;
        unsigned int removeConfirmationVisible:1;
        unsigned int removedFromTargetWhenHidden:1;
        unsigned int disableToggleRotate:1;
        unsigned int tableCellTarget:1;
        unsigned int alwaysHideRemoveButton:1;
        unsigned int showAsPlus:1;
        unsigned int reserved:25;
    } _removeControlFlags;
}

+ (float)removeButtonWidth;
+ (BOOL)removeConfirmationsVisibleInView:(id)fp8;
+ (void)hideAllRemoveConfirmationsInView:(id)fp8;
- (id)initWithTarget:(id)fp8;
- (void)dealloc;
- (void)setTarget:(id)fp8;
- (void)setDelegate:(id)fp8;
- (id)delegate;
- (void)setRemovedFromTargetWhenHidden:(BOOL)fp8;
- (void)setAlwaysHideRemoveButton:(BOOL)fp8;
- (BOOL)removedFromTargetWhenHidden;
- (void)_setInterceptMouseEvent:(BOOL)fp8;
- (void)minusButtonDidHide:(id)fp8;
- (void)_minusButtonFadeAnimationStopped;
- (struct CGRect)removeButtonEndingFrame;
- (struct CGRect)removeButtonStartingFrame;
- (float)removeButtonAnimationDuration;
- (void)showRemoveButton:(BOOL)fp8 animated:(BOOL)fp12;
- (BOOL)isRemoveButtonVisible;
- (void)_confirmationAnimationDidEnd;
- (struct CGRect)targetContentBounds;
- (void)_setRemoveConfirmationShowing:(BOOL)fp8 animated:(BOOL)fp12;
- (BOOL)isRemoveConfirmationVisible;
- (void)setRemoveConfirmationVisible:(BOOL)fp8;
- (void)setRemoveConfirmationVisible:(BOOL)fp8 animated:(BOOL)fp12;
- (id)removeConfirmationView;
- (id)_interceptMouseEvent:(struct __GSEvent *)fp8;
- (void)setAlpha:(float)fp8;
- (void)hideControlsUsingRemoveAnimation;
- (void)setLabel:(id)fp8;
- (void)setRemoveConfirmationLabel:(id)fp8;
- (id)removeConfirmationButton;
- (id)_automationID;
- (float)_verticalOffsetFromTarget;
- (BOOL)_isInsertControl;
- (void)_setInsertControl:(BOOL)fp8;
- (void)addConfirmationButtonSubview:(id)fp8 withWidth:(float)fp12 target:(id)fp16;
- (void)_hideRemoveConfirmation;
- (void)_showDeleteConfirmation:(id)fp8;
- (void)_doInsert:(id)fp8;
- (void)_doRemove:(id)fp8;
- (void)_shouldRemoveTarget;
- (void)animator:(id)fp8 stopAnimation:(id)fp12;
- (void)_hideRemoveAnimationDone;

@end

@interface UIRemoveControlTextButton : UIControl
{
    UITableCell *_tableCell;
    NSString *_label;
}

- (id)initWithRemoveControl:(id)fp8 withTarget:(id)fp12 withLabel:(id)fp16;
- (void)_controlMouseDragged:(struct __GSEvent *)fp8;
- (void)dealloc;
- (void)_controlMouseDown:(struct __GSEvent *)fp8;
- (void)_controlMouseUp:(struct __GSEvent *)fp8;
- (void)sizeToFit;
- (float)buttonWidth;
- (BOOL)_alwaysHandleScrollerMouseEvent;
- (void)drawRect:(struct CGRect)fp8;
- (id)_automationID;

@end

@interface UIRemoveControlMinusButton : UIControl
{
    unsigned int _rotated:1;
    unsigned int _rotating:1;
    unsigned int _hiding:1;
    unsigned int _showAsPlus:1;
    unsigned int _reserved:28;
    float _verticalOffset;
}

+ (float)defaultWidth;
+ (id)minusImage;
+ (id)plusImage;
+ (id)minusCenterImage;
- (id)initWithRemoveControl:(id)fp8;
- (void)dealloc;
- (void)setHiding:(BOOL)fp8;
- (BOOL)isHiding;
- (void)drawRect:(struct CGRect)fp8;
- (void)animator:(id)fp8 stopAnimation:(id)fp12;
- (void)toggleRotate:(BOOL)fp8;
- (BOOL)isRotated;
- (BOOL)isRotating;
- (void)_toggleRotateAnimationDidStop:(id)fp8 finished:(BOOL)fp12;

@end

@interface UIRemoveControlTextFrameAnimation : UIFrameAnimation
{
}

- (void)setProgress:(float)fp8;

@end

@interface UIFontChooser : UIView
{
    UITable *_nameTable;
    UITable *_sizeTable;
    UITextField *_sizeField;
    struct __CFArray *_familyNames;
    id _delegate;
    unsigned int _sizes[15];
    unsigned int _sizeBeforeEditing;
}

+ (id)sharedFontChooser;
- (id)_tableWithFrame:(struct CGRect)fp8;
- (struct CGRect)_nameTableFrame;
- (struct CGRect)_separatorFrame;
- (struct CGRect)_fieldBackgroundFrame;
- (struct CGRect)_sizeFieldFrame;
- (struct CGRect)_sizeTableFrame;
- (void)_updateSublayerFrames;
- (id)initWithFrame:(struct CGRect)fp8;
- (void)setFrame:(struct CGRect)fp8;
- (void)drawRect:(struct CGRect)fp8;
- (int)numberOfRowsInTable:(id)fp8;
- (id)table:(id)fp8 cellForRow:(int)fp12 column:(id)fp16;
- (void)selectFamilyName:(id)fp8;
- (void)selectSize:(float)fp8;
- (void)selectFont:(struct __GSFont *)fp8;
- (void)acceptSizeFromSizeField;
- (void)_finishedEditing:(id)fp8;
- (void)tableSelectionDidChange:(id)fp8;
- (void)textFieldDidBecomeFirstResponder:(id)fp8;
- (void)textFieldDidResignFirstResponder:(id)fp8;
- (id)selectedFamilyName;
- (float)selectedSize;
- (void)setDelegate:(id)fp8;
- (id)delegate;

@end

@interface UIButtonBar : UIView
{
    struct __CFDictionary *_groups;
    NSArray *_buttonItems;
    int _currentButtonGroup;
    struct __CFArray *_hiddenItems;
    int _selectedTag;
    int _trackingTag;
    UIView *_customizeView;
    id _delegate;
    struct {
        unsigned int barStyle:3;
        unsigned int roundsCorners:1;
        unsigned int alertShown:1;
        unsigned int wasEnabled:1;
        unsigned int trackingMode:2;
        unsigned int customized:1;
        unsigned int downButtonSentAction:1;
        unsigned int reserved:22;
    } _buttonBarFlags;
}

+ (Class)defaultButtonClass;
+ (Class)defaultTextButtonClass;
+ (struct __GSFont *)defaultButtonFont;
+ (float)defaultHeight;
+ (float)defaultSelectionModeHeight;
+ (float)defaultHeightForBarSize:(int)fp8;
- (id)initInView:(id)fp8 withFrame:(struct CGRect)fp12 withItemList:(id)fp28;
- (id)initInView:(id)fp8 withItemList:(id)fp12;
- (void)dealloc;
- (void)setBarStyle:(int)fp8;
- (int)barStyle;
- (id)createButtonWithDescription:(id)fp8;
- (void)positionButtons:(id)fp8 tags:(int *)fp12 count:(int)fp16 group:(int)fp20;
- (void)_buttonBarFinishedAnimating;
- (void)showButtons:(int *)fp8 withCount:(int)fp12 withDuration:(double)fp16;
- (void)registerButtonGroup:(int)fp8 withButtons:(int *)fp12 withCount:(int)fp16;
- (void)showButtonGroup:(int)fp8 withDuration:(double)fp12;
- (int)currentButtonGroup;
- (void)getVisibleButtonTags:(int *)fp8 count:(unsigned int *)fp12 maxItems:(unsigned int)fp16;
- (void)setButtonBarTrackingMode:(int)fp8;
- (void)setDelegate:(id)fp8;
- (void)customize:(const int *)fp8 withCount:(int)fp12;
- (void)_finishCustomizeAnimation:(id)fp8;
- (void)_dismissCustomizeSheet:(BOOL)fp8;
- (void)_customizeDone:(id)fp8;
- (void)dismissCustomizeSheet:(BOOL)fp8;
- (id)hitTest:(struct CGPoint)fp8 forEvent:(struct __GSEvent *)fp16;
- (void)mouseDown:(struct __GSEvent *)fp8;
- (void)mouseDragged:(struct __GSEvent *)fp8;
- (void)mouseUp:(struct __GSEvent *)fp8;
- (int)selectedButton;
- (void)showSelectionForButton:(int)fp8;
- (void)setBadgeValue:(id)fp8 forButton:(int)fp12;
- (void)setBadgeGlyph:(id)fp8 forButton:(int)fp12;
- (void)setBadgeAnimated:(BOOL)fp8 forButton:(int)fp12;
- (BOOL)onStateForButton:(int)fp8;
- (void)setOnStateForButton:(BOOL)fp8 forButton:(int)fp12;
- (void)animateWithDuration:(float)fp8 forButton:(int)fp12;
- (void)setFrame:(struct CGRect)fp8;
- (void)drawRect:(struct CGRect)fp8;

@end

@interface UIButtonBarCustomizeHeader : UIControl
{
    UIPushButton *_doneButton;
}

- (id)initWithFrame:(struct CGRect)fp8 target:(id)fp24;
- (void)dealloc;
- (id)hitTest:(struct CGPoint)fp8 forEvent:(struct __GSEvent *)fp16;
- (BOOL)beginTrackingAt:(struct CGPoint)fp8 withEvent:(struct __GSEvent *)fp16;
- (void)setHighlighted:(BOOL)fp8;
- (void)drawRect:(struct CGRect)fp8;

@end

@interface UIButtonBarCustomizeView : UIView
{
    UIButtonBar *_buttonBar;
    NSArray *_availableButtons;
    NSArray *_currentButtons;
    NSMutableArray *_fixedButtons;
    UIView *_draggingView;
    UIImageView *_ghostView;
    UIImageView *_replacementGlow;
    UIView *_replaceButton;
    struct CGPoint _startPoint;
}

- (void)dealloc;
- (void)setButtonBar:(id)fp8 currentButtons:(id)fp12 availableButtons:(id)fp16;
- (void)layoutSubviews;
- (void)adjustDragImage:(struct __GSEvent *)fp8;
- (void)mouseDown:(struct __GSEvent *)fp8;
- (id)buttonAtEvent:(struct __GSEvent *)fp8;
- (void)mouseDragged:(struct __GSEvent *)fp8;
- (void)mouseUp:(struct __GSEvent *)fp8;
- (BOOL)canHandleSwipes;
- (void)buttonBarMouseDown:(struct __GSEvent *)fp8;
- (void)buttonBarMouseDragged:(struct __GSEvent *)fp8;
- (void)buttonBarMouseUp:(struct __GSEvent *)fp8;
- (void)_finishCustomizeMouseUpChangeAnimation:(id)fp8 finished:(id)fp12 context:(id)fp16;

@end

@interface UIButtonBarTextButton : UIButtonBarButton
{
    NSString *_title;
    NSString *_selectedTitle;
}

- (id)initWithTitle:(id)fp8 selectedTitle:(id)fp12 withFont:(struct __GSFont *)fp16 withBarStyle:(int)fp20 withStyle:(int)fp24 withTitleWidth:(float)fp28;
- (void)dealloc;
- (void)_setSelected:(BOOL)fp8;
- (id)_automationID;

@end

@interface UIButtonBarButton : UIControl
{
    struct CGRect _hitRect;
    UIView *_info;
    UITextLabel *_label;
    UIButtonBarButtonBadge *_badge;
    UISelectionIndicatorView *_selectedIndicator;
    int _barStyle;
    int _style;
    BOOL _onState;
    BOOL _barHeight;
    BOOL _badgeAnimated;
    float _width;
    float _labelHeight;
    struct CGSize _infoOffset;
}

+ (struct __GSFont *)_defaultLabelFont;
+ (struct CGColor *)_defaultLabelColor;
+ (id)_pushButtonWithBarStyle:(int)fp8 withStyle:(int)fp12;
- (id)initWithImage:(id)fp8 selectedImage:(id)fp12 label:(id)fp16 labelHeight:(float)fp20 withBarStyle:(int)fp24 withStyle:(int)fp28 withOffset:(struct _NSSize)fp32;
- (void)dealloc;
- (void)setImage:(id)fp8;
- (void)_setButtonBarHitRect:(struct CGRect)fp8;
- (struct CGRect)_buttonBarHitRect;
- (void)_showSelectedIndicator:(BOOL)fp8 changeSelection:(BOOL)fp12;
- (void)_setSelected:(BOOL)fp8;
- (void)_positionBadge;
- (void)setFrame:(struct CGRect)fp8;
- (void)_setBadgeValue:(id)fp8;
- (void)_badgeAnimationDidStop:(id)fp8 finished:(id)fp12;
- (void)_setBadgeAnimated:(BOOL)fp8;
- (void)_setInfoWidth:(float)fp8;
- (void)setEnabled:(BOOL)fp8;
- (BOOL)pointInside:(struct CGPoint)fp8 forEvent:(struct __GSEvent *)fp16;
- (id)hitTest:(struct CGPoint)fp8 forEvent:(struct __GSEvent *)fp16;
- (void)setHighlighted:(BOOL)fp8;
- (void)_adjustPushButton:(BOOL)fp8;
- (void)layoutSubviews;
- (BOOL)_isBordered;
- (void)_setOn:(BOOL)fp8;
- (BOOL)_isOn;
- (void)_animateImage:(float)fp8 withButtonBar:(id)fp12;
- (void)_setBarHeight:(float)fp8;
- (BOOL)_useBarHeight;

@end

@interface UIButtonBarButtonBadge : UIView
{
    UIView *_value;
    UIView *_background;
    UIView *_alternate;
}

- (id)initWithValue:(id)fp8 blinks:(BOOL)fp12;
- (void)dealloc;
- (void)sizeToFit;
- (void)setValue:(id)fp8;
- (void)layoutSubviews;
- (void)setBlinks:(BOOL)fp8;

@end

@interface UIButtonBarBadgeBackground : UIView
{
    UIImage *_image;
}

- (id)initWithImage:(id)fp8;
- (void)dealloc;
- (void)drawRect:(struct CGRect)fp8;

@end

@interface UISwappableImageView : UIView
{
    id _value;
    id _alternate;
    BOOL _showAlternate;
    BOOL _flipped;
    int _currentAnimation;
    UIButtonBar *_buttonBar;
    int _buttonTag;
}

- (id)initWithImage:(id)fp8 alternateImage:(id)fp12;
- (void)dealloc;
- (void)setCurrentImage;
- (void)showAlternateImage:(BOOL)fp8;
- (void)setFlipped:(BOOL)fp8;
- (void)animateImage:(float)fp8 withButtonBar:(id)fp12 withTag:(int)fp16;
- (void)animationDidStop:(id)fp8 finished:(BOOL)fp12;

@end

@interface UISelectionIndicatorView : UIView
{
    UIImage *_image;
    CDAnonymousStruct12 _slices;
}

- (id)initWithFrame:(struct CGRect)fp8 withImageName:(id)fp24;
- (void)dealloc;
- (void)setFrame:(struct CGRect)fp8;
- (void)drawRect:(struct CGRect)fp8;

@end

@interface UIButtonBar (SynthEvents)
- (BOOL)_isHidden:(id)fp8;
- (id)_buttonName:(id)fp8 withType:(int)fp12;
- (id)plistWithChildren:(struct CGPoint)fp8;
@end

@interface UIButtonBar (Static)
- (id)_descriptionForTag:(int)fp8;
- (void)_buttonDown:(id)fp8;
- (void)_buttonDownDelayed:(id)fp8;
- (void)_buttonUp:(id)fp8;
- (void)_buttonCancel:(id)fp8;
- (void)_adjustButtonSelection:(id)fp8;
- (id)_buttonWithDescription:(id)fp8;
- (void)_didMoveFromWindow:(id)fp8 toWindow:(id)fp12;
- (void)_showButtons:(int *)fp8 withCount:(int)fp12 group:(int)fp16 withDuration:(double)fp20 adjustPositions:(BOOL)fp28 skipTag:(int)fp32;
- (id)_copyCurrentButtons;
- (id)_configureFromOldButton:(id)fp8 toNewButtonWithTag:(int)fp12 skipTag:(int)fp16;
- (void)_finishButtonAnimation:(int)fp8 forButton:(int)fp12;
@end

@interface UIButtonBar (Internal)
+ (float)_buttonGap;
- (void)_alertWillShow:(BOOL)fp8 duration:(float)fp12;
- (void)_alertDidHide;
@end

@interface UIButtonBar (UIButtonBarButtonItem)
- (id)initInView:(id)fp8 withFrame:(struct CGRect)fp12 withItems:(CDAnonymousStruct2 *)fp28 withCount:(int)fp32;
- (id)initInView:(id)fp8 withItems:(CDAnonymousStruct2 *)fp12 withCount:(int)fp16;
@end

@interface UITouchDiagnosticsLayer : UIView
{
    struct __CFArray *_eventQueue;
    UIBezierPath *_hitRectsPath;
    UIBezierPath *_customHitRectsPath;
    UIBezierPath *_chargesPath;
    BOOL _trackTouchEvents;
    BOOL _displayTouchEvents;
    BOOL _displayHitRects;
    BOOL _displayChargeMap;
}

- (id)initWithFrame:(struct CGRect)fp8;
- (void)dealloc;
- (BOOL)layerRespondsToEvents:(id)fp8;
- (void)_addLayerHitRects:(id)fp8 toPath:(id)fp12 customPath:(id)fp16;
- (void)drawChargeMap;
- (void)drawRect:(struct CGRect)fp8;
- (void)diagnoseEvent:(struct __GSEvent *)fp8;
- (BOOL)pointInside:(struct CGPoint)fp8 forEvent:(struct __GSEvent *)fp16;
- (void)refreshHitRects;
- (void)setTrackTouchEvents:(BOOL)fp8;
- (void)setDisplayHitRects:(BOOL)fp8;
- (void)setDisplayTouchEvents:(BOOL)fp8;
- (void)setDisplayChargeMap:(BOOL)fp8;
- (void)tearDown;

@end

@interface UIValueButton : UIThreePartButton
{
    int _displayStyle;
    NSString *_labelString;
    NSString *_valueString;
    NSString *_valueStyle;
    NSString *_valueHighlightStyle;
    UIImage *_labelBadgeImage;
    float _disclosureAlpha;
    struct CGColor *_valueColor;
    struct {
        unsigned int disclosureShown:1;
        unsigned int unused:31;
    } _valueButtonFlags;
}

+ (float)defaultHeight;
+ (struct CGRect)frameRectForOpaqueContentRect:(struct CGRect)fp8;
+ (struct CGRect)opaqueContentRectForFrameRect:(struct CGRect)fp8;
- (void)_commonInitValueButton;
- (id)initWithFrame:(struct CGRect)fp8;
- (id)initWithTitle:(id)fp8;
- (void)dealloc;
- (id)_titleByCombiningLabelAndValue;
- (void)setValue:(id)fp8;
- (id)value;
- (void)setValueStyle:(id)fp8;
- (void)setValueHighlightStyle:(id)fp8;
- (void)setLabel:(id)fp8;
- (id)label;
- (void)setLabelBadgeImage:(id)fp8;
- (id)labelBadgeImage;
- (void)setTitle:(id)fp8;
- (void)setDisplayStyle:(int)fp8;
- (int)displayStyle;
- (void)setShowsDisclosure:(BOOL)fp8;
- (BOOL)showsDisclosure;
- (float)rightEndPadding;
- (void)setDisclosureAlpha:(float)fp8;
- (float)disclosureAlpha;
- (float)buttonEdge;
- (void)_drawValueStyleInteriorInRect:(struct CGRect)fp8 withValueColor:(struct CGColor *)fp24 valueFont:(struct __GSFont *)fp28 isPressed:(BOOL)fp32;
- (void)_drawLabelAndValueStyleInteriorInRect:(struct CGRect)fp8;
- (void)drawButtonPart:(int)fp8 inRect:(struct CGRect)fp12;
- (void)setValueColor:(struct CGColor *)fp8;
- (void)sizeToFit;

@end

@interface UITextView : UIScroller <UITextTraitsClient>
{
    UIWebView *m_webView;
    WebFrame *m_frame;
    WebCoreFrameBridge *m_bridge;
    DOMHTMLElement *m_body;
    NSString *m_textFont;
    float m_textSize;
    int m_marginTop;
    struct CGColor *m_textColor;
    UIDelayedAction *m_selectionTimer;
    UIView *m_topAccessoryView;
    id m_delegate;
    UIDelayedAction *m_longPressAction;
    struct CGPoint m_mouseDownPoint;
    struct CGPoint m_mouseDownOffset;
    struct __GSEvent *m_mouseDownEvent;
    BOOL m_selecting;
    BOOL m_sentMouseDown;
    BOOL m_handlingMouse;
    BOOL m_passMouseDownToOther;
    BOOL m_editable;
    BOOL m_scrollOnMouseUp;
}

- (id)initWithFrame:(struct CGRect)fp8;
- (id)initWithFrame:(struct CGRect)fp8 webView:(id)fp24;
- (void)commonInit;
- (void)dealloc;
- (BOOL)bodyAlwaysFillsFrame;
- (void)registerForEditingDelegateNotification:(id)fp8 selector:(SEL)fp12;
- (struct CGSize)tileSizeForSize:(struct CGSize)fp8;
- (void)suggestionBarWillShow:(id)fp8;
- (id)styleString;
- (void)recalculateStyle;
- (id)delegate;
- (void)setDelegate:(id)fp8;
- (id)hitTest:(struct CGPoint)fp8 forEvent:(struct __GSEvent *)fp16;
- (void)setFrame:(struct CGRect)fp8;
- (struct CGRect)visibleRect;
- (struct CGRect)visibleTextRect;
- (void)updateWebViewObjects;
- (void)setText:(id)fp8;
- (id)body;
- (id)text;
- (void)setHTML:(id)fp8;
- (id)HTML;
- (int)marginTop;
- (void)setMarginTop:(int)fp8;
- (void)setTextFont:(id)fp8;
- (float)textSize;
- (void)setTextSize:(float)fp8;
- (void)setTextColor:(struct CGColor *)fp8;
- (struct CGColor *)textColor;
- (BOOL)isEditable;
- (void)setEditable:(BOOL)fp8;
- (void)performBecomeEditableTasks;
- (struct _NSRange)selectionRange;
- (void)setSelectionRange:(struct _NSRange)fp8;
- (void)setSelectionWithPoint:(struct CGPoint)fp8;
- (void)setSelectionToStart;
- (void)setSelectionToEnd;
- (void)selectAll;
- (struct CGRect)rectForSelection:(struct _NSRange)fp8;
- (id)topAccessoryView;
- (void)setTopAccessoryView:(id)fp8;
- (id)_webView;
- (BOOL)becomeFirstResponder;
- (BOOL)resignFirstResponder;
- (BOOL)canBecomeFirstResponder;
- (BOOL)canResignFirstResponder;
- (void)ensureSelection;
- (struct CGPoint)constrainedPoint:(struct CGPoint)fp8;
- (BOOL)pointInTopAccessoryView:(struct CGPoint)fp8;
- (void)textLoupeTimerAction;
- (void)mouseDown:(struct __GSEvent *)fp8;
- (void)mouseDragged:(struct __GSEvent *)fp8;
- (void)mouseUp:(struct __GSEvent *)fp8;
- (void)repositionCaretToVisibleRect;
- (void)scrollToMakeCaretVisible:(BOOL)fp8;
- (BOOL)webView:(id)fp8 shouldDeleteDOMRange:(id)fp12;
- (BOOL)webView:(id)fp8 shouldInsertText:(id)fp12 replacingDOMRange:(id)fp16 givenAction:(int)fp20;
- (void)movedToSuperview:(id)fp8;
- (void)webViewDidChange:(id)fp8;
- (id)textTraits;
- (void)takeTraitsFrom:(id)fp8;
- (void)forwardInvocation:(id)fp8;
- (id)methodSignatureForSelector:(SEL)fp8;

@end

@interface UITextView (SyntheticEvents)
- (id)_automationID;
- (id)_automationValue;
@end

@interface UIDelayedAction : NSObject
{
    id m_target;
    SEL m_action;
    id m_userInfo;
    double m_delay;
    NSTimer *m_timer;
    BOOL m_canceled;
}

- (id)initWithTarget:(id)fp8 action:(SEL)fp12 userInfo:(id)fp16 delay:(double)fp20;
- (void)dealloc;
- (void)touch;
- (void)touchWithDelay:(double)fp8;
- (void)cancel;
- (id)userInfo;
- (BOOL)scheduled;
- (void)setTarget:(id)fp8;
- (id)target;
- (void)timerFired:(id)fp8;

@end

@interface UIGestureInfo : NSObject
{
    id delegate;
    int enabledGestures;
    int rotationState;
    int zoomState;
    int panState;
    struct CGPoint startGestureInner;
    struct CGPoint startGestureOuter;
    struct CGPoint startScrollPoint;
    struct CGPoint endScrollPoint;
    struct CGSize visibleSize;
    struct CGRect centerRect;
    UIGestureAnimation *rotationAnimation;
    float rotationDegrees;
    float recentRotationDegrees;
    float minDegrees;
    float maxDegrees;
    float startDegrees;
    float endDegrees;
    UIGestureAnimation *zoomAnimation;
    int zoomRubberBandHysteresisCount;
    float zoomScale;
    float startScale;
    float endScale;
    float unadjustedScale;
    float zoomMultiplier;
    float minScale;
    float maxScale;
    float temporaryMaxScale;
    struct CGPoint zoomFailureWindowPoint;
    float zoomFailureDuration;
    float zoomFailureStartScale;
    float zoomAnimationProgress;
    UIScrollAnimation *scrollAnimation;
    struct {
        unsigned int pushedRunLoop:1;
        unsigned int isRotatingRight:1;
        unsigned int isZoomRubberBandEnabled:1;
        unsigned int zoomsFromCurrentToMinOrMax:1;
        unsigned int updatesScroller:1;
        unsigned int isAnimatingZoomFailure:1;
    } flags;
}

- (id)init;
- (void)dealloc;
- (float)maxScale;

@end

@interface UIGestureAnimation : UIAnimation
{
    SEL _progressSelector;
    int _gestureType;
}

- (id)initWithTarget:(id)fp8 progressSelector:(SEL)fp12 gestureType:(int)fp16;
- (void)setProgress:(float)fp8;
- (int)gestureType;

@end

@interface UIView (Gestures_Internal)
- (id)_gestureInfo;
- (void)_gestureEnded:(struct __GSEvent *)fp8;
- (struct CGSize)_scrollerContentSize;
- (struct CGPoint)_constrainedScrollPoint:(struct CGPoint)fp8 contentSize:(struct CGSize)fp16;
- (void)_zoomToScrollPoint:(struct CGPoint)fp8 scale:(float)fp16 duration:(float)fp20 event:(struct __GSEvent *)fp24;
- (float)_zoomAnimationDurationForScale:(float)fp8;
- (void)_zoomToWindowPoint:(struct CGPoint)fp8 scale:(float)fp16 duration:(float)fp20 constrainScrollPoint:(BOOL)fp24 event:(struct __GSEvent *)fp28;
- (void)_animateToScrollPoint:(struct CGPoint)fp8;
- (void)_animateZoomFailureToWindowPoint:(struct CGPoint)fp8 scale:(float)fp16 duration:(float)fp20;
- (float)_zoomAnimationProgress;
@end

@interface UIView (Gestures)
- (void)_startGesture:(int)fp8 event:(struct __GSEvent *)fp12;
- (void)_stopGesture:(int)fp8 event:(struct __GSEvent *)fp12;
- (void)_gestureChanged:(int)fp8 event:(struct __GSEvent *)fp12;
- (void)animator:(id)fp8 startAnimation:(id)fp12;
- (void)animator:(id)fp8 stopAnimation:(id)fp12;
- (struct CGPoint)_scrollPointForPoint:(struct CGPoint)fp8 scale:(float)fp16 constrain:(BOOL)fp20 snapToEdge:(BOOL)fp24;
- (void)zoomToScale:(float)fp8;
- (void)_zoomToScale:(float)fp8 event:(struct __GSEvent *)fp12;
- (void)_zoomToEvent:(struct __GSEvent *)fp8 scale:(float)fp12 animate:(BOOL)fp16 constrainScrollPoint:(BOOL)fp20;
- (void)_rubberbandZoomToEvent:(struct __GSEvent *)fp8 scale:(float)fp12;
- (BOOL)_isRubberBanding;
- (void)_setZoomAnimationProgress:(id)fp8;
- (float)_rubberBandScaleForScale:(float)fp8;
- (void)_zoomWithEvent:(struct __GSEvent *)fp8;
- (BOOL)_canStartZoomFromEvent:(struct __GSEvent *)fp8;
- (BOOL)_startZoomFromEvent:(struct __GSEvent *)fp8;
- (void)_stopZoomFromEvent:(struct __GSEvent *)fp8;
- (void)rotateToDegrees:(float)fp8;
- (void)_rotateToDegrees:(float)fp8 duration:(float)fp12 event:(struct __GSEvent *)fp16;
- (void)_setRotationAnimationProgress:(id)fp8;
- (BOOL)_canStartRotationFromEvent:(struct __GSEvent *)fp8;
- (BOOL)_startRotationFromEvent:(struct __GSEvent *)fp8;
- (void)_rotateFromEvent:(struct __GSEvent *)fp8;
- (void)_stopRotationFromEvent:(struct __GSEvent *)fp8;
- (BOOL)canHandleGestures;
- (void)setGestureDelegate:(id)fp8;
- (id)gestureDelegate;
- (void)setEnabledGestures:(int)fp8;
- (int)enabledGestures;
- (void)setValue:(id)fp8 forGestureAttribute:(int)fp12;
- (id)valueForGestureAttribute:(int)fp8;
- (void)setRotationDegrees:(float)fp8 duration:(double)fp12;
- (float)rotationDegrees;
- (void)setZoomScale:(float)fp8 duration:(double)fp12;
- (float)zoomScale;
- (int)stateForGestureType:(int)fp8;
- (void)_resetZoomingWithEvent:(struct __GSEvent *)fp8;
- (void)gestureStarted:(struct __GSEvent *)fp8;
- (void)gestureChanged:(struct __GSEvent *)fp8;
- (void)gestureEnded:(struct __GSEvent *)fp8;
@end

@interface UIDragger : NSObject
{
    void *_interpolator;
    UIView *_target;
    id _delegate;
    SEL _action;
    struct CGPoint _startLocation;
    struct CGPoint _stopLocation;
    double _duration;
    BOOL _showFinger;
    unsigned int _port;
    NSArray *_modes;
    unsigned long long _startTimestamp;
    unsigned long long _stopTimestamp;
    unsigned long long _lastTimestamp;
    BOOL _waitingForSmoothScrolling;
    UIImageView *_fingerView;
}

- (id)init;
- (void)dealloc;
- (void)setInterpolation:(void *)fp8;
- (void)setTarget:(id)fp8;
- (void)setDelegate:(id)fp8;
- (void)setAction:(SEL)fp8;
- (void)setStartLocation:(struct CGPoint)fp8;
- (void)setStopLocation:(struct CGPoint)fp8;
- (void)setDuration:(double)fp8;
- (void)showFinger;
- (void)_postMouseEvent:(int)fp8 timestamp:(unsigned long long)fp12 location:(struct CGPoint)fp20;
- (double)_delayUntilNextEvent;
- (void)dragDidEnd;
- (void)_smoothScrollingWillStart:(id)fp8;
- (void)_smoothScrollingDidEnd:(id)fp8;
- (void)_stopDrag:(id)fp8;
- (void)_continueDrag:(id)fp8;
- (void)run;

@end

@interface UIFlicker : NSObject
{
    UIView *_target;
    struct CGPoint _startLocation;
    int _throwIterations;
    id _delegate;
    int _mouseUpCount;
    int _mouseDraggedCount;
    float _delay;
    struct CGPoint _offset;
}

- (void)_mouseDraggedMemberListTest;
- (void)_mouseUpMemberListTest;
- (void)_throwMemberListTest;
- (id)init;
- (struct CGPoint)offset;
- (void)setOffset:(struct CGPoint)fp8;
- (void)setTarget:(id)fp8;
- (void)setStartLocation:(struct CGPoint)fp8;
- (void)setIterations:(int)fp8;
- (void)setDelay:(float)fp8;
- (void)setDelegate:(id)fp8;
- (void)run;

@end

@interface UI9PartImageView : UIView
{
    UIView *_topLeft;
    UIView *_topMiddle;
    UIView *_topRight;
    UIView *_middleLeft;
    UIView *_middleMiddle;
    UIView *_middleRight;
    UIView *_bottomLeft;
    UIView *_bottomMiddle;
    UIView *_bottomRight;
    CDAnonymousStruct12 _slices;
    UIImage *_image;
    unsigned int _dontReflow:1;
}

- (id)initWithFrame:(struct CGRect)fp8 image:(id)fp24 slices:(CDAnonymousStruct12)fp28;
- (void)dealloc;
- (void)rebuildTiles;
- (void)reflowTiles;
- (void)setFrame:(struct CGRect)fp8;

@end

@interface UIInformalDelegate : NSObject
{
    id _target;
    id _default;
}

+ (id)informalDelegateWithDefaultTarget:(id)fp8;
- (id)initWithDefaultTarget:(id)fp8;
- (void)dealloc;
- (void)setTarget:(id)fp8;
- (id)target;
- (void)forwardInvocation:(id)fp8;
- (id)methodSignatureForSelector:(SEL)fp8;
- (BOOL)respondsToSelector:(SEL)fp8;

@end

@interface UIWebView (UIFormAssistantSessionDelegate)
- (void)formAssistant:(id)fp8 willStartAssistingFormControl:(id)fp12;
- (void)formAssistant:(id)fp8 didStartAssistingFormControl:(id)fp12;
- (void)formAssistant:(id)fp8 didStopAssistingFormControl:(id)fp12;
@end

@interface UIWebView (WebFormDelegate) <WebFormDelegate>
- (void)textFieldDidBeginEditing:(id)fp8 inFrame:(id)fp12;
- (void)textFieldDidEndEditing:(id)fp8 inFrame:(id)fp12;
- (void)formElementDidSetValue:(id)fp8;
- (void)textDidChangeInTextField:(id)fp8 inFrame:(id)fp12;
- (void)textDidChangeInTextArea:(id)fp8 inFrame:(id)fp12;
- (BOOL)textField:(id)fp8 doCommandBySelector:(SEL)fp12 inFrame:(id)fp16;
- (BOOL)textField:(id)fp8 shouldHandleEvent:(struct __GSEvent *)fp12 inFrame:(id)fp16;
- (void)formElementDidFocus:(id)fp8;
- (void)formElementDidBlur:(id)fp8;
- (void)frame:(id)fp8 sourceFrame:(id)fp12 willSubmitForm:(id)fp16 withValues:(id)fp20 submissionListener:(id)fp24;
- (void)didFinishLoading:(id)fp8;
@end

@interface UIWebView (Forms)
- (void)_updateFormElementBoundaries;
- (void)setAllowsUnapprovedFocus:(BOOL)fp8;
- (BOOL)allowsUnapprovedFocus;
- (void)setFormEditingDelegate:(id)fp8;
- (id)formEditingDelegate;
- (BOOL)zoomsFocusedFormControl;
- (void)setZoomsFocusedFormControl:(BOOL)fp8;
- (BOOL)isFormEdited;
- (BOOL)webView:(id)fp8 shouldChangeSelectedDOMRange:(id)fp12 toDOMRange:(id)fp16 affinity:(int)fp20 stillSelecting:(BOOL)fp24;
- (struct CGPoint)constrainScrollOffset:(struct CGPoint)fp8 toDeviceRect:(struct CGRect)fp16 factor:(float)fp32;
- (void)scrollCaretToVisible:(id)fp8;
@end

@interface UIThreadSafeNode : NSObject
{
    DOMNode *_node;
}

+ (id)threadSafeNodeWithNode:(id)fp8;
- (id)initWithNode:(id)fp8;
- (id)description;
- (void)dealloc;
- (id)FIXME_node;
- (BOOL)isKindOfClass:(Class)fp8;
- (BOOL)isEqual:(id)fp8;
- (BOOL)isEqualToNode:(id)fp8;
- (BOOL)respondsToSelector:(SEL)fp8;
- (void)forwardInvocation:(id)fp8;
- (id)methodSignatureForSelector:(SEL)fp8;
- (id)nextFormControl;
- (id)previousFormControl;
- (int)compareTabIndex:(id)fp8;

@end

@interface DOMHTMLSelectElement (ThreadingAdditions)
+ (BOOL)shouldLockOnSelector:(SEL)fp8;
@end

@interface DOMHTMLSelectElement (UIWebViewAdditions)
- (Class)formPeripheralClass;
- (int)itemCount;
- (id)itemAtIndex:(int)fp8;
- (void)selectItemAtIndex:(int)fp8;
- (int)indexOfSelectedItem;
- (BOOL)canBecomeFirstResponder;
- (id)calloutTitle;
- (id)calloutSubtitle;
@end

@interface DOMHTMLOptGroupElement (UIWebViewEditingExtensions)
- (Class)formPeripheralClass;
- (id)title;
@end

@interface DOMHTMLOptionElement (UIWebViewEditingExtensions)
- (Class)formPeripheralClass;
- (id)title;
@end

@interface DOMHTMLTextAreaElement (UIWebViewAdditions)
- (id)textTraits;
- (Class)formPeripheralClass;
- (BOOL)canBecomeFirstResponder;
- (id)calloutTitle;
- (id)calloutSubtitle;
- (BOOL)isTextControl;
@end

@interface DOMHTMLInputElement (UIWebViewAdditions)
- (id)textTraits;
- (id)text;
- (BOOL)isSecure;
- (BOOL)isTextControl;
- (Class)formPeripheralClass;
- (BOOL)canBecomeFirstResponder;
- (id)calloutTitle;
- (id)calloutSubtitle;
- (BOOL)isLikelyToBeginPageLoad;
@end

@interface DOMHTMLImageElement (UIWebViewScrubbingExtensions)
- (id)calloutTitle;
@end

@interface DOMHTMLObjectElement (UIWebViewScrubbingExtensions)
- (BOOL)showsTapHighlight;
@end

@interface DOMHTMLEmbedElement (UIWebViewScrubbingExtensions)
- (BOOL)showsTapHighlight;
@end

@interface DOMHTMLAppletElement (UIWebViewScrubbingExtensions)
- (BOOL)showsTapHighlight;
@end

@interface DOMHTMLAreaElement (UIWebViewScrubbingExtensions)
- (struct CGRect)boundingBoxAtPoint:(struct CGPoint)fp8;
- (id)boundingBoxesAtPoint:(struct CGPoint)fp8;
@end

@interface DOMHTMLAnchorElement (UIWebViewAdditions)
- (id)calloutTitle;
- (id)calloutSubtitle;
@end

@interface DOMElement (UIWebViewAdditions)
- (struct CGColor *)tapHighlightColor;
- (unsigned int)becomeFirstResponder;
- (BOOL)resignFirstResponder;
@end

@interface DOMNode (UIWebViewTextEditingAdditions)
- (id)textTraits;
- (void)takeTraitsFrom:(id)fp8;
- (BOOL)isSecure;
- (void)setSecure:(BOOL)fp8;
- (BOOL)isProxyFor:(id)fp8;
- (BOOL)interceptKeyEvent:(struct __GSEvent *)fp8;
- (int)textDomain;
- (void)setTextDomain:(int)fp8;
- (struct __CFCharacterSet *)textTrimmingSet;
- (void)setTextTrimmingSet:(struct __CFCharacterSet *)fp8;
- (void)deleteBackward;
- (void)insertText:(id)fp8;
- (unsigned short)characterInRelationToCaretSelection:(int)fp8;
- (unsigned short)characterBeforeCaretSelection;
- (void)setMarkedText:(id)fp8;
- (id)markedText;
- (void)replaceCurrentWordWithText:(id)fp8;
- (unsigned short)characterAfterCaretSelection;
- (void *)fontForCaretSelection;
- (void *)textColorForCaretSelection;
- (struct CGRect)rectContainingCaretSelection;
- (id)wordRangeContainingCaretSelection;
- (id)wordContainingCaretSelection;
- (id)wordInRange:(id)fp8;
- (void)expandSelectionToStartOfWordContainingCaretSelection;
- (int)wordOffsetInRange:(id)fp8;
- (BOOL)spaceFollowsWordInRange:(id)fp8;
- (id)previousNGrams:(unsigned int)fp8;
- (struct _NSRange)selectionRange;
- (BOOL)hasSelection;
- (BOOL)selectionAtDocumentStart;
- (BOOL)selectionAtSentenceStart;
- (BOOL)selectionAtWordStart;
- (BOOL)rangeAtSentenceStart:(id)fp8;
- (void)markCurrentWordForAutoCorrection:(id)fp8 correction:(id)fp12;
- (void)moveBackward:(unsigned int)fp8;
- (void)moveForward:(unsigned int)fp8;
- (void)selectAll;
- (void)setText:(id)fp8;
- (id)text;
- (void)updateSelectionWithPoint:(struct CGPoint)fp8;
- (void)setCaretChangeListener:(id)fp8;
- (struct CGRect)caretRect;
- (struct CGRect)convertCaretRect:(struct CGRect)fp8;
- (id)keyboardInputView;
- (BOOL)isShowingPlaceholder;
- (id)textSuggestionDelegate;
- (void)setTextSuggestionDelegate:(id)fp8;
- (BOOL)showsExtraSuggestions;
- (void)setShowsExtraSuggestions:(BOOL)fp8;
- (int)suggestionBarTextSize;
- (void)setSuggestionBarTextSize:(int)fp8;
- (int)textLoupeVisibility;
- (void)setTextLoupeVisibility:(int)fp8;
- (int)returnKeyType;
- (void)setReturnKeyType:(int)fp8;
- (int)initialSelectionBehavior;
- (void)setInitialSelectionBehavior:(int)fp8;
- (id)editingDelegate;
- (void)setEditingDelegate:(id)fp8;
- (id)keyboardInputOverlayContainer:(id)fp8;
- (void)autoscrollTimerFired:(id)fp8;
- (struct CGPoint)constrainedPoint:(struct CGPoint)fp8;
@end

@interface DOMNode (ThreadingAdditions)
+ (BOOL)shouldLockOnSelector:(SEL)fp8;
@end

@interface DOMNode (UIWebViewAdditions)
+ (id)approvedFocusNode;
- (id)calloutTitle;
- (id)calloutSubtitle;
- (void)setApprovedFocus:(BOOL)fp8;
- (BOOL)hasApprovedFocus;
- (BOOL)canBecomeFirstResponder;
- (struct CGRect)boundingBoxAtPoint:(struct CGPoint)fp8;
- (id)boundingBoxesAtPoint:(struct CGPoint)fp8;
- (BOOL)showsTapHighlight;
- (struct CGColor *)tapHighlightColor;
- (struct CGRect)convertRect:(struct CGRect)fp8 toView:(id)fp24;
- (BOOL)isLikelyToBeginPageLoad;
- (BOOL)isTextControl;
@end

@interface NSString (UIWebViewAdditions)
- (id)_uikit_stringByTrimmingWhitespaceAndNewlines;
@end

@interface UITile : UIView
{
    struct CGRect _dirtyRect;
    BOOL _hasDrawnContent;
}

- (id)hitTest:(struct CGPoint)fp8 forEvent:(struct __GSEvent *)fp16;
- (void)setNeedsDisplayInRect:(struct CGRect)fp8;
- (void)setNeedsDisplay;
- (BOOL)_canDrawContent;
- (BOOL)willDrawContent;
- (void)drawRect:(struct CGRect)fp8;
- (BOOL)hasDrawnContent;
- (void)setDirtyRect:(struct CGRect)fp8;
- (void)setNeedsDisplayInDirtyRect;
- (void)invalidateContents;

@end

@interface UIZoomAnimation : UIAnimation
{
    float _endScale;
    float _startScale;
    struct CGPoint _endScrollPoint;
    struct CGPoint _startScrollPoint;
}

+ (float)defaultDuration;
+ (id)zoomAnimationForTarget:(id)fp8 endScale:(float)fp12 endScrollPoint:(struct CGPoint)fp16;
+ (id)zoomAnimationForTarget:(id)fp8 focusRect:(struct CGRect)fp12 deviceBoundaryRect:(struct CGRect)fp28 scale:(float)fp44;
- (void)setEndScale:(float)fp8;
- (void)setStartScale:(float)fp8;
- (void)setEndScrollPoint:(struct CGPoint)fp8;
- (void)setStartScrollPoint:(struct CGPoint)fp8;
- (void)setProgress:(float)fp8;

@end

@interface UIView (Private)
- (struct CGPoint)_scrollPointForBoundedRect:(struct CGRect)fp8 withBoundary:(struct CGRect)fp24 scale:(float)fp40;
- (float)boundedScaleForFocusRect:(struct CGRect)fp8 deviceBoundaryRect:(struct CGRect)fp24;
@end

@interface UIWebView (Selecting)
+ (id)textLoupeWindow;
- (BOOL)mouseEventsChangeSelection;
- (BOOL)shouldChangeSelectionForEvent:(struct __GSEvent *)fp8;
- (struct CGRect)visibleRectForSelecting;
- (struct CGPoint)constrainedPoint:(struct CGPoint)fp8;
- (void)startAutoscroll:(struct CGPoint)fp8;
- (void)cancelAutoscroll;
- (void)textLoupeTimerAction;
- (void)selectionMouseDown:(struct __GSEvent *)fp8;
- (void)selectionMouseDragged:(struct __GSEvent *)fp8;
- (void)selectionMouseUp:(struct __GSEvent *)fp8;
- (BOOL)textLoupeActive;
- (void)setTextLoupeActive:(BOOL)fp8;
- (void)createTextLoupeIfNeeded;
- (id)textLoupe;
- (void)updateTextLoupe:(struct CGPoint)fp8;
- (void)removeTextLoupe;
- (void)fadeTextLoupe;
- (BOOL)autocorrectPromptCapturedMouseDown:(struct __GSEvent *)fp8;
@end

@interface UIWebPlugInView : WAKView
{
    UIWebView *_webView;
    UIView *_uiView;
    BOOL _isFullScreen;
}

- (id)initWithWebView:(id)fp8 plugInView:(id)fp12;
- (void)dealloc;
- (void)setFrame:(struct CGRect)fp8;
- (void)setFrameSize:(struct CGSize)fp8;
- (void)viewDidMoveToWindow;
- (id)plugInView;
- (void)reshape;
- (void)webPlugInInitialize;
- (void)webPlugInStart;
- (void)webPlugInStop;
- (void)webPlugInDestroy;
- (id)objectForWebScript;
- (void)mouseDown:(struct __GSEvent *)fp8;
- (void)mouseUp:(struct __GSEvent *)fp8;

@end

@interface UIWebPlugInView (Private)
- (void)_reshapeOnMainThread;
- (void)_viewDidMoveToWindowOnMainThread;
@end

@interface UIPreferencesTable : UITable
{
    UIPreferencesTableCell *_editingCell;
    int _editingCellRow;
    NSMutableArray *_groupItems;
    UIKeyboard *_keyboard;
    float _textOffset;
    struct __CFDictionary *_piecesForCell;
    unsigned int _datasourceCellForGroup:1;
    unsigned int _datasourceIsRadioGroup:1;
    unsigned int _datasourceIsLabelGroup:1;
    unsigned int _datasourceIsRowCheckedInRadioGroup:1;
    unsigned int _centersContent:1;
    unsigned int _reserved:27;
}

- (void)dealloc;
- (id)initWithFrame:(struct CGRect)fp8;
- (void)setFrame:(struct CGRect)fp8;
- (BOOL)canHandleSwipes;
- (BOOL)canDeleteRow:(int)fp8;
- (BOOL)canInsertAtRow:(int)fp8;
- (void)addTableColumn:(id)fp8;
- (BOOL)canSelectRow:(int)fp8;
- (id)_visibleCheckedCellInTableRowRange:(struct _NSRange)fp8;
- (void)_fadeCellSelection;
- (void)selectRow:(int)fp8 byExtendingSelection:(BOOL)fp12 withFade:(BOOL)fp16;
- (int)tableRowForRow:(int)fp8 inGroup:(int)fp12;
- (id)_groupItemForTableRow:(int)fp8 andGroupIndex:(int *)fp12 andRow:(int *)fp16 inGroups:(id)fp20;
- (id)_groupItemForTableRow:(int)fp8 andGroupIndex:(int *)fp12 andRow:(int *)fp16;
- (BOOL)getGroup:(int *)fp8 row:(int *)fp12 ofPreferencesTableCell:(id)fp16;
- (int)groupForTableRow:(int)fp8;
- (BOOL)getGroup:(int *)fp8 row:(int *)fp12 forTableRow:(int)fp16;
- (void)setDataSource:(id)fp8;
- (BOOL)validateDataSource;
- (int)dataSourceGetRowCount;
- (int)_cellOutlineForRow:(int)fp8 withChildCount:(int)fp12 isLabelGroup:(BOOL)fp16;
- (id)dataSourceCreateCellForRow:(int)fp8 column:(int)fp12 reusing:(id)fp16;
- (struct CGRect)frameOfPreferencesCellAtRow:(int)fp8 inGroup:(int)fp12;
- (BOOL)floatArray:(id)fp8 loadValues:(float *)fp12 count:(int)fp16;
- (int)_paddingForCenteringContent;
- (void)_updatePaddingForCenteringContent;
- (void)setCentersContent:(BOOL)fp8;
- (void)_updateContentSize;
- (BOOL)dataSourceSupportsVariableRowHeights;
- (id)visiblePreferencesCellForRow:(int)fp8 inGroup:(int)fp12;
- (void)animateDeletionOfRowWithCell:(id)fp8 viaEdge:(int)fp12;
- (BOOL)shouldIndentRow:(int)fp8;
- (void)deleteRows:(id)fp8 viaEdge:(int)fp12;
- (void)_setAlpha:(float)fp8 forSubviewsOf:(id)fp12;
- (id)_existingPieceForCell:(id)fp8;
- (id)_copyPieceOfCell:(id)fp8 withContentsPosition:(int)fp12;
- (float)animationDuration;
- (void)reloadData;
- (void)insertItems:(id)fp8;
- (void)deleteItems:(id)fp8;
- (void)_fadeCellOutAnimationDidStop:(id)fp8 finished:(id)fp12 context:(id)fp16;
- (void)_removeContextFromSuperview:(id)fp8 finished:(id)fp12 context:(id)fp16;
- (void)_removePiecesFromSuperview:(id)fp8;
- (void)_removePiecesFromSuperview:(id)fp8 finished:(id)fp12 context:(id)fp16;
- (void)_fadeCellOutAnimationDidStopAndFixOutlines:(id)fp8 finished:(id)fp12 context:(id)fp16;
- (void)enableRowDeletion:(BOOL)fp8 animated:(BOOL)fp12;
- (void)_animatePiecesOfCell:(id)fp8 isFirstItemInGroup:(BOOL)fp12 isDeletion:(BOOL)fp16 isDestinationRowFrame:(struct CGRect)fp20;
- (BOOL)_userCanDeleteRows;
- (void)insertItems:(id)fp8 deleteItems:(id)fp12 andReloadIndexes:(id)fp16;
- (BOOL)keyboardVisible;
- (id)keyboard;
- (void)_keyboardRemoveAnimationCompleted:(id)fp8;
- (void)setKeyboardVisible:(BOOL)fp8;
- (void)resumeWithNotification:(id)fp8;
- (void)setBottomBufferHeight:(float)fp8;
- (void)scrollAndCenterTableCell:(id)fp8 animated:(BOOL)fp12;
- (void)setKeyboardVisible:(BOOL)fp8 animated:(BOOL)fp12;
- (id)_editingCell;
- (void)_setEditingCell:(id)fp8;
- (int)editingRow;
- (BOOL)_beginEditingNextCell;

@end

@interface UIGroupDeletionItem : NSObject
{
    unsigned int _lastIndex;
    int _group;
    NSIndexSet *_indexes;
}

- (id)initWithGroup:(int)fp8;
- (id)initWithGroup:(int)fp8 andIndexes:(id)fp12;
- (id)initWithIndexes:(id)fp8 inGroup:(int)fp12;
- (void)dealloc;
- (int)group;
- (id)indexes;
- (unsigned int)lastIndex;
- (void)setLastIndex:(unsigned int)fp8;

@end

@interface UIGroupInsertionItem : NSObject
{
    int _index;
    struct _NSRange _range;
}

- (id)initWithExistingGroup:(int)fp8 andRowRange:(struct _NSRange)fp12;
- (id)initWithNewGroupBeforeGroup:(int)fp8 andRowCount:(int)fp12;
- (int)groupIndex;
- (struct _NSRange)range;

@end

@interface _UIGroupItem : NSObject
{
    NSString *_title;
    float offset;
    int _rowCountBeforeGroup;
    int _childCount;
    unsigned int _isRadioGroup:1;
    unsigned int _isLabelGroup:1;
    unsigned int _reserved:30;
}

- (id)initWithTitle:(id)fp8 childCount:(int)fp12 rowCountBeforeGroup:(int)fp16 isRadioGroup:(BOOL)fp20;
- (void)dealloc;
- (int)childCount;
- (id)title;
- (int)rowCountBeforeGroup;
- (int)tableRowForRow:(int)fp8;

@end

@interface _UIPrefTableCellPiece : UIImageView
{
    struct CGRect _originalFrame;
    UIView *_syncPiece;
}

- (id)initWithFrame:(struct CGRect)fp8;
- (void)dealloc;
- (struct CGRect)originalFrame;
- (void)setSyncPiece:(id)fp8;
- (id)syncPiece;

@end

@interface UIPreferencesTableCell : UIImageAndTextTableCell
{
    int _cellOutline;
    id _value;
    SEL _action;
    id _target;
    UIImageView *_checkedImageView;
    UIBezierPath *_fillPath;
    UIBezierPath *_strokePath;
    UITextLabel *_valueTextLabel;
    unsigned int _radioGroupItem:1;
    unsigned int _ignoreRemoveFromSuperView:1;
    unsigned int _drawAsLabel:1;
    unsigned int _drawAsGroupTitle:1;
    unsigned int _drawsBackground:1;
    unsigned int _blueDisclosureCircle:1;
    unsigned int _checkStyle:4;
    unsigned int _superViewIsPrefTable:1;
    unsigned int _dontHighlightOnMouseDown:1;
    unsigned int _tracking:1;
    unsigned int _valueChanged:1;
    unsigned int _removeControlVisible:1;
    unsigned int _dontIndentForRemoveControl:1;
    unsigned int _reserved:16;
}

+ (struct __GSFont *)defaultTitleFont;
+ (Class)valueTextLabelClass;
- (float)_cellInset;
- (struct CGRect)buttonBounds;
- (struct CGRect)contentBounds;
- (id)enclosingPreferencesTable;
- (void)_setSuperviewsIsPrefTable:(BOOL)fp8;
- (void)movedToSuperview:(id)fp8;
- (BOOL)pointMostlyInside:(struct CGPoint)fp8 forEvent:(struct __GSEvent *)fp16;
- (void)setHighlighted:(BOOL)fp8;
- (void)_setHighlightOnMouseDown:(BOOL)fp8;
- (void)mouseDragged:(struct __GSEvent *)fp8;
- (void)_unhighlight;
- (void)mouseUp:(struct __GSEvent *)fp8;
- (void)mouseDown:(struct __GSEvent *)fp8;
- (void)_createBezierPathWithCornerRadius:(float)fp8 bottomRadius:(float)fp12 animating:(BOOL)fp16;
- (void)setNeedsDisplay;
- (id)initWithFrame:(struct CGRect)fp8;
- (void)dealloc;
- (void)removeFromSuperview;
- (void)_invalidatePaths;
- (void)setDrawsBackground:(BOOL)fp8;
- (void)setFrame:(struct CGRect)fp8;
- (void)drawBackgroundInRect:(struct CGRect)fp8 withFade:(float)fp24;
- (struct CGContext *)_createContextForCaching;
- (struct CGImage *)_createCachedPrefImage;
- (struct CGImage *)_cachedBackgroundImage;
- (void)_layoutSubviewsAnimated:(BOOL)fp8;
- (void)setCellOutline:(int)fp8;
- (int)cellOutline;
- (void)_removeContextFromSuperview:(id)fp8 finished:(id)fp12 context:(id)fp16;
- (void)_removeContextFromSuperviewAndRedislaySelf:(id)fp8 finished:(id)fp12 context:(id)fp16;
- (id)_copyBackgroundButtonViewWithFrame:(struct CGRect)fp8;
- (float)removeButtonAnimationDuration;
- (void)_animateRemoveControlVisible:(BOOL)fp8;
- (void)_updateButtonSizeForRemoveControlVisible:(BOOL)fp8 animated:(BOOL)fp12;
- (void)removeControlWillShowRemoveButton:(id)fp8 animated:(BOOL)fp12;
- (void)removeControlWillHideRemoveButton:(id)fp8 animated:(BOOL)fp12;
- (void)removeControl:(id)fp8 willRemoveTarget:(id)fp12;
- (struct CGColor *)valueColor;
- (struct CGColor *)outlineColor;
- (struct CGColor *)_getTitleColor;
- (id)valueTextLabel;
- (void)setValue:(id)fp8;
- (id)value;
- (float)disclosureRightMargin;
- (id)hitTest:(struct CGPoint)fp8 forEvent:(struct __GSEvent *)fp16;
- (void)setTarget:(id)fp8;
- (id)target;
- (void)setAction:(SEL)fp8;
- (SEL)action;
- (id)_checkMarkImage;
- (void)_setRadioGroupItem:(BOOL)fp8;
- (void)setCheckStyle:(int)fp8;
- (void)setChecked:(BOOL)fp8;
- (BOOL)isChecked;
- (void)setUsesBlueDisclosureCircle:(BOOL)fp8;
- (id)disclosureImage;
- (id)disclosurePressedImage;
- (void)_setDrawAsGroupTitle:(BOOL)fp8;
- (void)_setDrawAsLabel:(BOOL)fp8;
- (void)sizeToFit;
- (void)setIndentsBackgroundForRemoveControl:(BOOL)fp8;
- (BOOL)indentsBackgroundForRemoveControl;
- (id)createRemoveControl;
- (void)_layoutDisclosureIfNeeded;
- (void)layoutSubviews;
- (void)setIcon:(id)fp8;
- (void)updateHighlightColors;
- (void)setSelected:(BOOL)fp8 withFade:(BOOL)fp12;
- (void)_setIgnoreRemoveFromSuperView:(BOOL)fp8;
- (void)setEnabled:(BOOL)fp8;

@end

@interface UIPreferencesTableCellRemoveControl : UIRemoveControl
{
}

- (void)addConfirmationButtonSubview:(id)fp8 withWidth:(float)fp12 target:(id)fp16;
- (float)removeButtonAnimationDuration;
- (struct CGRect)removeButtonEndingFrame;
- (struct CGRect)removeButtonStartingFrame;
- (float)_verticalOffsetFromTarget;
- (float)_removeConfirmationButtonVerticalOffset;
- (struct CGRect)targetContentBounds;

@end

@interface UIPreferencesTableCell (SyntheticEvents)
- (id)_automationID;
- (id)_automationValue;
@end

@interface UIBezierPath (TableExtras)
+ (id)roundedRectBezierPath:(struct CGRect)fp8 withTopCornerRadius:(float)fp24 withBottomCornerRadius:(float)fp28;
@end

@interface _UISliderAnimation : UIAnimation
{
    float _startValue;
    float _endValue;
    BOOL _sendAction;
}

- (void)setProgress:(float)fp8;

@end

@interface UISliderControl : UIControl
{
    UIImage *_sliderLeftFillCap;
    CDAnonymousUnion1 _sliderLeftFill;
    CDAnonymousUnion1 _sliderRightFill;
    UIImage *_minValueImage;
    UIImage *_maxValueImage;
    int _numberOfTickMarks;
    float _hitOffset;
    UIImage *_sliderRightCap;
    UIImage *_sliderRightFullCap;
    UIImage *_sliderLeftCap;
    struct {
        unsigned int allowsOnlyTickMarks:1;
        unsigned int animating:1;
        unsigned int showValue:1;
        unsigned int layeredFill:1;
        unsigned int continuous:1;
        unsigned int sendActionDuringAnimation:1;
        unsigned int alternateColors:1;
        unsigned int shouldFlipValue:1;
        unsigned int needsNonOpaqueFills:1;
        unsigned int reserved:24;
    } _sliderFlags;
    float _value;
    float _minValue;
    float _maxValue;
    UIView *_knob;
}

- (id)init;
- (id)initWithFrame:(struct CGRect)fp8;
- (id)initWithFrame:(struct CGRect)fp8 layeredFill:(BOOL)fp24;
- (id)createSliderKnobView;
- (void)_resetFillFrames;
- (struct CGRect)fillBounds;
- (void)sliderBoundsChanged;
- (void)refreshImages;
- (void)dealloc;
- (id)imageForSliderPiece:(int)fp8;
- (void)drawSliderPiece:(int)fp8 inRect:(struct CGRect)fp12;
- (void)_sliderBounds:(struct CGRect)fp8 getLeftCapRect:(struct CGRect *)fp24 rightCapRect:(struct CGRect *)fp28 left:(struct CGRect *)fp32 right:(struct CGRect *)fp36;
- (void)drawSliderInRect:(struct CGRect)fp8 dirtyRect:(struct CGRect)fp24;
- (void)drawSliderInRect:(struct CGRect)fp8;
- (void)animator:(id)fp8 stopAnimation:(id)fp12;
- (void)_sendDelayedActions;
- (void)setValue:(float)fp8;
- (void)_setValue:(float)fp8 andSendAction:(BOOL)fp12;
- (BOOL)isAnimatingValueChange;
- (void)setValue:(float)fp8 animated:(BOOL)fp12 animationCurve:(int)fp16;
- (void)setValue:(float)fp8 animated:(BOOL)fp12;
- (float)value;
- (struct CGRect)sliderBounds;
- (struct CGRect)minValueImageBounds;
- (struct CGRect)maxValueImageBounds;
- (struct CGRect)valueTextBounds;
- (void)setMinValue:(float)fp8;
- (void)setMaxValue:(float)fp8;
- (void)drawRect:(struct CGRect)fp8;
- (void)setNumberOfTickMarks:(int)fp8;
- (void)setAllowsTickMarkValuesOnly:(BOOL)fp8;
- (void)setShowValue:(BOOL)fp8;
- (void)setMinValueImage:(id)fp8;
- (void)setMaxValueImage:(id)fp8;
- (void)setEnabled:(BOOL)fp8;
- (void)setHighlighted:(BOOL)fp8;
- (BOOL)beginTrackingAt:(struct CGPoint)fp8 withEvent:(struct __GSEvent *)fp16;
- (BOOL)continueTrackingAt:(struct CGPoint)fp8 previous:(struct CGPoint)fp16 withEvent:(struct __GSEvent *)fp24;
- (void)endTrackingAt:(struct CGPoint)fp8 previous:(struct CGPoint)fp16 withEvent:(struct __GSEvent *)fp24;
- (BOOL)cancelMouseTracking;
- (void)_controlMouseDown:(struct __GSEvent *)fp8;
- (void)_controlMouseUp:(struct __GSEvent *)fp8;
- (void)_controlMouseDragged:(struct __GSEvent *)fp8;
- (void)setContinuous:(BOOL)fp8;
- (void)setSendActionDuringAnimation:(BOOL)fp8;

@end

@interface UISliderButton : UIPushButton
{
}

- (BOOL)shouldTrack;
- (BOOL)ignoresMouseEvents;
- (BOOL)cancelMouseTracking;

@end

@interface UISliderFillView : UIView
{
    UIImage *_sliderImage;
}

- (id)initWithFrame:(struct CGRect)fp8 image:(id)fp24;
- (void)drawRect:(struct CGRect)fp8;

@end

@interface UISliderControl (SyntheticEvents)
- (id)_automationID;
- (id)_automationValue;
@end

@interface UISwitchControl : UISliderControl
{
    UIImage *_leftCapShadowed;
    UIImage *_rightCapShadowed;
    UIImage *_leftCapShadowedDown;
    UIImage *_rightCapShadowedDown;
}

- (id)init;
- (id)initWithFrame:(struct CGRect)fp8;
- (void)dealloc;
- (void)setEnabled:(BOOL)fp8;
- (id)imageForSliderPiece:(int)fp8;
- (struct __GSFont *)_font;
- (void)_drawText:(id)fp8 inRect:(struct CGRect)fp12 selected:(BOOL)fp28;
- (id)createSliderKnobView;
- (void)drawSliderPiece:(int)fp8 inRect:(struct CGRect)fp12;
- (BOOL)continueTrackingAt:(struct CGPoint)fp8 previous:(struct CGPoint)fp16 withEvent:(struct __GSEvent *)fp24;
- (BOOL)beginTrackingAt:(struct CGPoint)fp8 withEvent:(struct __GSEvent *)fp16;
- (void)endTrackingAt:(struct CGPoint)fp8 previous:(struct CGPoint)fp16 withEvent:(struct __GSEvent *)fp24;
- (void)mouseUp:(struct __GSEvent *)fp8;
- (void)drawSliderInRect:(struct CGRect)fp8 dirtyRect:(struct CGRect)fp24;
- (void)setAlternateColors:(BOOL)fp8;

@end

@interface UISwitchControlButton : UIControl
{
    UIImage *_leftCap;
    UIImage *_middleFill;
    UIImage *_rightCap;
    UIImage *_leftCapDown;
    UIImage *_middleFillDown;
    UIImage *_rightCapDown;
    unsigned int _useShadowedLeft:1;
    unsigned int _useShadowedRight:1;
}

- (id)initWithFrame:(struct CGRect)fp8;
- (BOOL)shouldTrack;
- (void)dealloc;
- (void)_drawThreePartButtonInRect:(struct CGRect)fp8;
- (void)drawRect:(struct CGRect)fp8;
- (void)setFrame:(struct CGRect)fp8;

@end

@interface UISwitchControl (SyntheticEvents)
- (id)_automationID;
- (id)_automationValue;
@end

@interface UIPreferencesTextTableCell : UIPreferencesTableCell
{
    UITextField *_textField;
    UITextLabel *_valueSuffixLabel;
    float _textFieldOffset;
    SEL _returnAction;
}

- (id)initWithFrame:(struct CGRect)fp8;
- (id)keyboardInputOverlayContainer:(id)fp8;
- (void)setTextFieldOffset:(float)fp8;
- (float)textFieldOffset;
- (void)setReturnAction:(SEL)fp8;
- (void)dealloc;
- (struct CGColor *)_disabledFontColor;
- (unsigned int)becomeFirstResponder;
- (BOOL)canBecomeFirstResponder;
- (void)resignFirstResponder;
- (void)setEnabled:(BOOL)fp8;
- (void)setValueSuffix:(id)fp8;
- (BOOL)hasValueSuffix;
- (void)setValue:(id)fp8;
- (void)textFieldDidBecomeFirstResponder:(id)fp8;
- (id)value;
- (id)valueTextLabel;
- (void)_textFieldStartEditing:(id)fp8;
- (void)_textFieldEndEditing:(id)fp8;
- (void)_textFieldEndEditingOnReturn:(id)fp8;
- (void)_textValueChanged:(id)fp8;
- (void)textFieldClearButtonPressed:(id)fp8;
- (id)textField;
- (void)setPlaceHolderValue:(id)fp8;
- (void)_updateSuffixFrame;
- (void)layoutSubviews;

@end

@interface UICoverFlowLayer : LKLayer
{
    void *_private;
}

- (id)initWithFrame:(struct CGRect)fp8 numberOfCovers:(unsigned int)fp24;
- (void)dealloc;
- (void)setDelegate:(id)fp8;
- (void)setPlaceholderImage:(void *)fp8;
- (void)_prefetch:(unsigned int)fp8 atIndex:(unsigned int)fp12;
- (void)_requestBatch;
- (void)_requestImageAtIndex:(int)fp8 quality:(unsigned int)fp12;
- (void)_requestImageAtIndex:(int)fp8;
- (void)_notifySelectionDidChange;
- (void)transitionIn:(float)fp8;
- (void)transitionOut:(float)fp8;
- (void)transition:(unsigned int)fp8 withCoverFrame:(struct CGRect)fp12;
- (void)transitionIn:(float)fp8 fromFrame:(struct CGRect)fp12;
- (void)transitionOut:(float)fp8 toFrame:(struct CGRect)fp12;
- (void)setDisplayedOrientation:(int)fp8 animate:(BOOL)fp12;
- (void)setInfoLayer:(id)fp8;
- (void)setImage:(void *)fp8 atIndex:(unsigned int)fp12 type:(unsigned int)fp16;
- (void)setImage:(void *)fp8 atIndex:(unsigned int)fp12 type:(unsigned int)fp16 imageSubRect:(struct _NSRect)fp20;
- (void)setImage:(void *)fp8 atIndex:(unsigned int)fp12;
- (unsigned int)indexOfSelectedCover;
- (unsigned int)_coverAtScreenPosition:(struct CGPoint)fp8;
- (void)_recycleLayer:(int)fp8 to:(int)fp12;
- (void)_setNewSelectedIndex:(int)fp8;
- (void)_updateTick;
- (void)displayTick;
- (void)dragFlow:(unsigned int)fp8 atPoint:(struct CGPoint)fp12;
- (void)selectCoverAtIndex:(unsigned int)fp8;
- (void)selectCoverAtOffset:(int)fp8;
- (unsigned int)coverIndexAtPosition:(float)fp8;
- (void)_setupFlippedCoverLayer:(id)fp8;
- (void)flipSelectedCover;
- (int)benchmarkTick;
- (void)benchmarkHeartbeatLongScrub;
- (void)benchmarkHeartbeatShortScrub;
- (void)benchmarkHeartbeatScrubAndWait;
- (void)benchmarkTightLoop;
- (void)benchmarkTightLoopScrub;
- (BOOL)benchmarkLoadScrub;
- (BOOL)benchmarkImageManager:(void *)fp8;
- (void)benchmarkSetEnv;
- (void)benchmarkMode:(int)fp8;
- (void)benchmarkTickMode:(int)fp8;
- (void)benchmarkImageMode:(int)fp8;
- (void)benchmarkPerformanceLog:(BOOL)fp8;
- (void)benchmarkTightLoopTime:(unsigned int)fp8;
- (void)benchmarkLongScrubSpeed:(float)fp8;
- (void)benchmarkSkipImageLoad:(BOOL)fp8;

@end

@interface UIPreferencesControlTableCell : UIPreferencesTableCell
{
    UIControl *_control;
}

- (void)setControl:(id)fp8;
- (id)control;
- (void)_controlClicked:(id)fp8;
- (void)setEnabled:(BOOL)fp8;

@end

@interface UIShadowView : UIView
{
    UIImage *_image;
}

+ (id)topShadowImage;
+ (id)bottomShadowImage;
- (id)initWithFrame:(struct CGRect)fp8;
- (BOOL)ignoresMouseEvents;
- (void)setShadowImage:(id)fp8 forEdge:(int)fp12 inside:(BOOL)fp16;
- (void)dealloc;
- (void)drawRect:(struct CGRect)fp8;

@end

@interface UIDatePicker : UIPickerView
{
    NSDate *_date;
    NSDateComponents *_referenceComponents;
    double _todaySinceReferenceDate;
    NSDateComponents *_todayDateComponents;
    NSString *_amString;
    NSString *_pmString;
    UITextLabel *_hourLabel;
    UITextLabel *_minuteLabel;
    id _datePickerDelegate;
    int _numberOfDaysInCurrentMonth;
    NSDateComponents *_minDateComponents;
    NSDateComponents *_maxDateComponents;
    struct {
        unsigned int datePickerMode:3;
        unsigned int dateOrder:2;
        unsigned int timeOrder:2;
        unsigned int weekdayOrder:1;
        unsigned int staggerTimeIntervals:1;
        unsigned int loadingDateOrTime:1;
        unsigned int highlightsToday:1;
        unsigned int reserved:21;
    } _datePickerFlags;
}

- (id)initWithFrame:(struct CGRect)fp8;
- (void)dealloc;
- (id)pickerImageNamePrefix;
- (int)_incrementForElement:(unsigned int)fp8;
- (void)_doneLoadingDateOrTime;
- (BOOL)_showingDate;
- (int)_numberOfDaysInDate:(id)fp8;
- (void)_updateReferenceBits;
- (void)_updateBitsForDate:(id)fp8 andReload:(BOOL)fp12 animateIfNeeded:(BOOL)fp16;
- (void)setDate:(id)fp8;
- (void)setDate:(id)fp8 animate:(BOOL)fp12;
- (void)setMinDate:(id)fp8;
- (void)setMaxDate:(id)fp8;
- (int)hour;
- (int)minute;
- (int)second;
- (id)date;
- (struct __GSFont *)_datePickerCellFont;
- (struct __GSFont *)_ampmCellFont;
- (struct __GSFont *)_hrMinFont;
- (int)_numberOfDaysInWeek;
- (unsigned int)_elementForColumn:(int)fp8;
- (int)_columnForElement:(unsigned int)fp8;
- (int)numberOfColumnsInPickerView:(id)fp8;
- (float)tableRowHeight;
- (void)setDatePickerMode:(int)fp8;
- (int)datePickerMode;
- (void)setStaggerTimeIntervals:(BOOL)fp8;
- (int)_incrementedAmountForValue:(int)fp8 withElement:(unsigned int)fp12;
- (void)scrollerDidScroll:(id)fp8;
- (int)pickerView:(id)fp8 numberOfRowsInColumn:(int)fp12;
- (void)_updateRowInColumn:(int)fp8 toValue:(int)fp12 withRepeatingAmount:(int)fp16 element:(unsigned int)fp20 animated:(BOOL)fp24;
- (void)_loadDateAnimated:(BOOL)fp8;
- (void)pickerViewLoaded:(id)fp8;
- (void)_loadDesignatorStrings;
- (void)setDelegate:(id)fp8;
- (int)_selectedHourForColumn:(int)fp8;
- (int)_selectedMinuteForColumn:(int)fp8;
- (int)_minuteForRow:(int)fp8;
- (int)_secondForRow:(int)fp8;
- (void)_setDateComponent:(id)fp8 withElement:(unsigned int)fp12;
- (BOOL)_updateDateOrTime;
- (id)_fadeLabel:(id)fp8 toNewLabelWithString:(id)fp12 ifAnimated:(BOOL)fp16;
- (id)_minutesString;
- (id)_hoursString;
- (void)_updateLabels:(BOOL)fp8;
- (void)pickerViewSelectionChanged:(id)fp8;
- (int)_dayForRow:(int)fp8;
- (int)_hourForRow:(int)fp8;
- (BOOL)_shouldEnableDayForRow:(int)fp8 column:(int)fp12;
- (BOOL)_shouldEnableMonthForRow:(int)fp8 column:(int)fp12;
- (BOOL)_scrollingAnyColumnExcept:(int)fp8;
- (BOOL)_shouldEnableMinuteForValue:(int)fp8 column:(int)fp12;
- (BOOL)_shouldEnableHourForValue:(int)fp8 column:(int)fp12;
- (BOOL)_shouldEnableYearForRow:(int)fp8;
- (BOOL)_shouldEnableWeekMonthDayForCell:(id)fp8;
- (void)scrollerWillStartDragging:(id)fp8;
- (void)_updateEnabledCells:(BOOL)fp8;
- (struct CGColor *)_todayTextColor;
- (void)_ensureTodayIsSet;
- (int)_monthForRow:(int)fp8;
- (void)_setupCell:(id)fp8 atRow:(int)fp12 inColumn:(int)fp16 withElementFlag:(unsigned int)fp20;
- (void)setHighlightsToday:(BOOL)fp8;
- (id)dateComponents;
- (void)setDateComponents:(id)fp8;
- (void)setTimeInterval:(double)fp8;
- (double)timeInterval;
- (float)pickerView:(id)fp8 tableWidthForColumn:(int)fp12;
- (id)pickerView:(id)fp8 tableCellForRow:(int)fp12 inColumn:(int)fp16 reusingCell:(id)fp20;
- (struct CGColor *)shadowColor;
- (id)_createAccessoryViewWithText:(id)fp8 andFont:(struct __GSFont *)fp12;
- (id)_createLabelWithString:(id)fp8 above:(id)fp12;
- (void)pickerView:(id)fp8 createdTable:(id)fp12 forColumn:(int)fp16;

@end

@interface UICompositeImageView : UIView
{
    NSMutableArray *m_images;
}

- (id)initWithFrame:(struct CGRect)fp8;
- (void)dealloc;
- (void)addImage:(id)fp8;
- (void)addImage:(id)fp8 operation:(int)fp12 fraction:(float)fp16;
- (void)addImage:(id)fp8 toRect:(struct CGRect)fp12 fromRect:(struct CGRect)fp28;
- (void)addImage:(id)fp8 toRect:(struct CGRect)fp12 fromRect:(struct CGRect)fp28 operation:(int)fp44 fraction:(float)fp48;
- (void)removeAllImages;
- (void)drawRect:(struct CGRect)fp8;

@end

@interface UICompositeImageElement : NSObject
{
    UIImage *m_image;
    struct CGRect m_fromRect;
    struct CGRect m_toRect;
    int m_operation;
    float m_fraction;
}

+ (id)elementWithImage:(id)fp8 toRect:(struct CGRect)fp12 fromRect:(struct CGRect)fp28 operation:(int)fp44 fraction:(float)fp48;
- (id)initWithImage:(id)fp8 toRect:(struct CGRect)fp12 fromRect:(struct CGRect)fp28 operation:(int)fp44 fraction:(float)fp48;
- (void)dealloc;
- (void)draw;

@end

@interface UITextLabel : UIView
{
    struct CGSize _size;
    NSString *_text;
    struct CGColor *_color;
    struct CGColor *_highlightedColor;
    struct CGColor *_shadowColor;
    struct __GSFont *_font;
    struct CGSize _shadowOffset;
    float _minFontSize;
    float _actualFontSize;
    struct {
        unsigned int ellipsisStyle:3;
        unsigned int highlighted:1;
        unsigned int wrapsText:1;
        unsigned int autosizeTextToFit:1;
        unsigned int baselineAdjustment:2;
        unsigned int alignment:2;
        unsigned int reserved:22;
    } _textLabelFlags;
}

+ (struct __GSFont *)defaultFont;
- (id)initWithFrame:(struct CGRect)fp8;
- (void)setFrame:(struct CGRect)fp8;
- (void)dealloc;
- (BOOL)ignoresMouseEvents;
- (struct CGSize)textSize;
- (struct CGSize)textSizeForWidth:(float)fp8;
- (struct CGSize)ellipsizedTextSize;
- (void)_invalidateTextSize;
- (void)setText:(id)fp8;
- (struct CGColor *)_disabledFontColor;
- (void)setEnabled:(BOOL)fp8;
- (id)text;
- (void)setColor:(struct CGColor *)fp8;
- (struct CGColor *)color;
- (void)setHighlightedColor:(struct CGColor *)fp8;
- (void)setCentersHorizontally:(BOOL)fp8;
- (BOOL)centersHorizontally;
- (void)setWrapsText:(BOOL)fp8;
- (BOOL)wrapsText;
- (void)setTextAutoresizesToFit:(BOOL)fp8;
- (BOOL)textAutoresizesToFit;
- (void)setMinFontSize:(float)fp8;
- (float)minFontSize;
- (void)setActualFontSize:(float)fp8;
- (float)actualFontSize;
- (void)setAlignment:(int)fp8;
- (int)alignment;
- (struct CGColor *)highlightedColor;
- (struct CGColor *)currentTextColor;
- (void)setShadowColor:(struct CGColor *)fp8;
- (struct CGColor *)shadowColor;
- (void)setFont:(struct __GSFont *)fp8;
- (struct __GSFont *)font;
- (void)setShadowOffset:(struct CGSize)fp8;
- (struct CGSize)shadowOffset;
- (void)setHighlighted:(BOOL)fp8;
- (BOOL)isHighlighted;
- (void)setEllipsisStyle:(int)fp8;
- (void)setBaselineAdjustment:(int)fp8;
- (void)sizeToFit;
- (void)drawContentsInRect:(struct CGRect)fp8;
- (void)drawRect:(struct CGRect)fp8;

@end

@interface UITextLabel (SyntheticEvents)
- (id)_automationID;
@end

@interface UIDateLabel : UITextLabel
{
    double _date;
    int _dateKey;
}

+ (struct __GSFont *)defaultFont;
- (id)initWithFrame:(struct CGRect)fp8;
- (void)dealloc;
- (int)_dateKey;
- (void)_invalidateDateKey;
- (void)setFont:(struct __GSFont *)fp8;
- (void)setFontWithoutInvalidation:(struct __GSFont *)fp8;
- (void)_updateDateStrings;
- (id)text;
- (struct __GSFont *)font;
- (id)timeDesignator;
- (void)sizeToFit;
- (void)setDate:(id)fp8;
- (void)setTimeInterval:(double)fp8;
- (double)timeInterval;
- (struct __GSFont *)timeDesignatorFont;
- (void)drawContentsInRect:(struct CGRect)fp8;
- (void)drawRect:(struct CGRect)fp8;

@end

@interface _UIDateLabelCache : NSObject
{
    double _today;
    double _noon;
    double _tomorrow;
    double _previousWeek;
    struct __GSFont *_timeDesignatorFont;
    NSString *_amString;
    NSString *_pmString;
    struct CGSize _amSize;
    struct CGSize _pmSize;
    struct __CFDictionary *_dateStringCache;
    struct __CFDateFormatter *_timeFormatter;
    struct __CFDateFormatter *_shortDateFormatter;
    struct __CFTimeZone *_tz;
    struct __CFDictionary *_dateSizeCache;
    BOOL _use24HourTime;
    BOOL _timeDesignatorAppearsBeforeTime;
}

- (BOOL)_isCurrentLocale24Hour;
- (BOOL)_use24HourTime;
- (BOOL)_timeDesignatorAppearsBeforeTime;
- (id)init;
- (void)dealloc;
- (struct __GSFont *)timeDesignatorFont;
- (void)invalidateDateCache;
- (void)_significantTimeChange;
- (void)_languageChanged;
- (void)_loadDesignatorStrings;
- (id)amString;
- (id)pmString;
- (struct CGSize)amSize;
- (struct CGSize)pmSize;
- (void)_updateTodayAndNoon;
- (int)dateKeyForAbsoluteTime:(double)fp8;
- (double)todayAbsoluteTime;
- (double)noonAbsoluteTime;
- (id)timeDesignatorForAbsoluteTime:(double)fp8;
- (struct CGSize)timeDesignatorSizeForAbsoluteTime:(double)fp8 forFont:(struct __GSFont *)fp16;
- (id)dateStringForAbsoluteTime:(double)fp8 dateKey:(int)fp16;
- (struct CGSize)mainTimeSizeForDateKey:(int)fp8;
- (void)setMainTimeSize:(struct CGSize)fp8 forDateKey:(int)fp16;
- (BOOL)use24HourTime;
- (BOOL)timeDesignatorAppearsBeforeTime;

@end

@interface UIProgressHUD : UIView
{
    UIProgressIndicator *_progressIndicator;
    UITextLabel *_progressMessage;
    UIImageView *_doneView;
    UIWindow *_parentWindow;
    struct {
        unsigned int isShowing:1;
        unsigned int fixedFrame:1;
        unsigned int reserved:30;
    } _progressHUDFlags;
}

- (id)_progressIndicator;
- (id)initWithFrame:(struct CGRect)fp8;
- (void)setText:(id)fp8;
- (void)setFontSize:(int)fp8;
- (void)drawRect:(struct CGRect)fp8;
- (void)layoutSubviews;
- (void)showInView:(id)fp8;
- (void)hide;
- (void)done;
- (void)dealloc;

@end

@interface UIProgressHUD (Deprecated)
- (id)initWithWindow:(id)fp8;
- (void)show:(BOOL)fp8;
@end

@interface UISearchField : UITextField
{
    BOOL _displayDisabled;
    BOOL _skippedDisplay;
}

+ (float)defaultHeight;
- (id)initWithFrame:(struct CGRect)fp8;
- (struct CGRect)iconRect;
- (struct CGRect)_textRectExcludingButtons;
- (id)_backgroundView;
- (void)setDisplayEnabled:(BOOL)fp8;
- (void)setNeedsDisplay;
- (id)_automationID;

@end

@interface UIScrubberControl : UISliderControl
{
    CDAnonymousUnion1 _sliderAvailableFill;
    double _duration;
    float _lastDisplayedWidth;
    float _maxTrackWidth;
    UIView *_elapsedTimeView;
    UIView *_remainingTimeView;
    id _delegate;
    double _trackingStartTime;
    struct CGPoint _lastUpdatedPoint;
    float _valueAvailable;
    unsigned int _didDrag:1;
    unsigned int _sentScrubbingStart:1;
    unsigned int _autoSizesToFitDuration:1;
    unsigned int _layoutTimeParts:2;
    unsigned int _remainingIsDuration:1;
    unsigned int _delegateDidEnterScrubbingState:1;
    unsigned int _delegateDidChangeScrubValue:1;
    unsigned int _delegateShouldBeginScrubbing:1;
    unsigned int _endingTracking:1;
    unsigned int _showKnob:1;
    unsigned int _largeKnob:1;
    unsigned int _rightCapIsDownloadCap:1;
    unsigned int _requireMomentaryDelay:1;
    unsigned int _showFullWidthComponents:1;
    unsigned int _alwaysShowAllComponentsForDuration:1;
    unsigned int _timeLayoutDisabledCount:7;
    unsigned int _timeLayoutSkippedLayout:1;
    unsigned int _timeLayoutSkippedForcedLayout:1;
    unsigned int _showTimeCentered:1;
    unsigned int _leftCapIsDownloadCap:1;
    unsigned int _allowsAnyValue:1;
    unsigned int _unused:3;
}

+ (BOOL)allowLayeredFillForKnob;
- (id)initWithFrame:(struct CGRect)fp8 maxTrackWidth:(float)fp24 showTimes:(BOOL)fp28 knobStyle:(int)fp32;
- (id)initWithFrame:(struct CGRect)fp8 maxTrackWidth:(float)fp24 showTimes:(BOOL)fp28 showKnob:(BOOL)fp32;
- (id)createSliderKnobView;
- (void)setPinTimeToOutsideEdges:(BOOL)fp8;
- (void)setShowTimeCenteredInAvailableArea:(BOOL)fp8;
- (struct CGRect)sliderBounds;
- (id)imageForSliderPiece:(int)fp8;
- (const CDAnonymousStruct4 *)metrics;
- (void)_resetTimeFrames;
- (void)dealloc;
- (void)setDelegate:(id)fp8;
- (float)scrubValue;
- (void)sizeToFit;
- (void)setDuration:(double)fp8;
- (double)duration;
- (double)requiredAutoUpdateDurationForDuration:(double)fp8;
- (BOOL)pointInsideKnob:(struct CGPoint)fp8 forEvent:(struct __GSEvent *)fp16;
- (BOOL)pointInside:(struct CGPoint)fp8 forEvent:(struct __GSEvent *)fp16;
- (struct CGRect)hitRect;
- (struct CGRect)_rectOfTrack;
- (struct CGRect)fillBounds;
- (BOOL)_notAllValueAvailable;
- (void)setAllowsAnyValue:(BOOL)fp8;
- (void)drawSliderPiece:(int)fp8 inRect:(struct CGRect)fp12;
- (void)_updateAvailableFill;
- (void)_setValue:(float)fp8 andSendAction:(BOOL)fp12;
- (void)setValue:(float)fp8 animated:(BOOL)fp12 animationCurve:(int)fp16;
- (void)_updateTimes:(BOOL)fp8;
- (void)disableTimesLayout;
- (void)enableTimesLayout;
- (void)setShowFullWidthComponents:(BOOL)fp8;
- (void)setShowDuration:(BOOL)fp8;
- (void)setScrubbingRequiresMomentaryDelay:(BOOL)fp8;
- (BOOL)beginTrackingAt:(struct CGPoint)fp8 withEvent:(struct __GSEvent *)fp16;
- (BOOL)continueTrackingAt:(struct CGPoint)fp8 previous:(struct CGPoint)fp16 withEvent:(struct __GSEvent *)fp24;
- (void)endTrackingAt:(struct CGPoint)fp8 previous:(struct CGPoint)fp16 withEvent:(struct __GSEvent *)fp24;
- (void)setValueAvailable:(float)fp8;

@end

@interface UIScrubberTimeView : UIView
{
    NSString *_time;
    unsigned int _align:2;
}

- (id)initWithFrame:(struct CGRect)fp8;
- (void)dealloc;
- (void)setTime:(id)fp8;
- (id)time;
- (void)drawRect:(struct CGRect)fp8;

@end

@interface UIInsertControl : UIRemoveControl
{
}

- (id)initWithFrame:(struct CGRect)fp8;

@end

@interface UICompletionTable : UIView
{
    UICompletionTablePrivate *_private;
}

+ (struct __GSFont *)_cellFont;
+ (id)_shadowImage;
- (id)initWithFrame:(struct CGRect)fp8;
- (void)dealloc;
- (void)layoutSubviews;
- (void)setDelegate:(id)fp8;
- (void)reloadData;
- (int)numberOfRowsInTable:(id)fp8;
- (id)_completionForRow:(int)fp8;
- (id)table:(id)fp8 cellForRow:(int)fp12 column:(id)fp16 reusing:(id)fp20;
- (void)tableSelectionDidChange:(id)fp8;

@end

@interface UICompletionTablePrivate : NSObject
{
    id _delegate;
    UITable *_table;
    UIShadowView *_shadowView;
}

- (void)dealloc;

@end

@interface UICalloutView : UIControl
{
    UIImageView *_leftCap;
    UIImageView *_rightCap;
    UIImageView *_topAnchor;
    UIImageView *_bottomAnchor;
    UIImageView *_leftBackground;
    UIImageView *_rightBackground;
    UIPushButton *_button;
    UITextLabel *_title;
    UITextLabel *_subtitle;
    UITextLabel *_temporary;
    struct {
        struct CGPoint origin;
        struct CGPoint offset;
        int position;
    } _anchor;
    struct CGRect _frame;
    id _delegate;
    struct {
        unsigned int animated:1;
        unsigned int didMoveSelectorCalled:1;
        unsigned int reserved:30;
    } _flags;
}

+ (id)_buttonImage;
+ (id)_buttonImagePressed;
+ (id)_backgroundImage;
+ (id)_leftCapImage;
+ (id)_rightCapImage;
+ (id)_topAnchorImage;
+ (id)_bottomAnchorImage;
+ (float)defaultHeight;
+ (id)sharedCalloutView;
- (id)initWithFrame:(struct CGRect)fp8;
- (void)dealloc;
- (void)setTitle:(id)fp8;
- (id)title;
- (void)setSubtitle:(id)fp8;
- (id)subtitle;
- (void)setTemporaryTitle:(id)fp8;
- (id)temporaryTitle;
- (void)setOffset:(struct CGPoint)fp8;
- (struct CGPoint)offset;
- (struct CGPoint)anchorPoint;
- (void)getActualAnchorPoint:(struct CGPoint *)fp8 frame:(struct CGRect *)fp12 position:(int *)fp16 forDesiredAnchorPoint:(struct CGPoint)fp20 boundaryRect:(struct CGRect)fp28;
- (void)_setOriginForScale:(float)fp8;
- (void)setAnchorPoint:(struct CGPoint)fp8 boundaryRect:(struct CGRect)fp16 animate:(BOOL)fp32;
- (void)animationDidStop:(id)fp8 finished:(id)fp12;
- (void)fadeOutWithDuration:(float)fp8;
- (void)completeBounceAnimation;
- (void)addTarget:(id)fp8 action:(SEL)fp12;
- (void)removeTarget:(id)fp8;
- (void)setDelegate:(id)fp8;
- (id)delegate;
- (id)hitTest:(struct CGPoint)fp8 forEvent:(struct __GSEvent *)fp16;

@end

@interface NSMutableString (UICalloutViewAdditions)
- (void)standardizeWhitespace;
@end

@interface NSString (UICalloutViewAdditions)
- (id)stringByStandardizingWhitespace;
@end

@interface UIDefaultFormAssistantDelegate : NSObject
{
}

- (void)formAssistant:(id)fp8 didStartAssistingFormControl:(id)fp12;
- (void)formAssistant:(id)fp8 willStartAssistingFormControl:(id)fp12;
- (void)formAssistant:(id)fp8 didStopAssistingFormControl:(id)fp12;
- (void)formAssistant:(id)fp8 willStopAssistingFormControl:(id)fp12;

@end

@interface UIFormAssistant : UIView
{
    UIThreePartButton *_done;
    UIThreePartButton *_next;
    UIThreePartButton *_previous;
    UIImageView *_navigation;
    UITransitionView *_transition;
    BOOL _isTransitioning;
    id <UIFormControl> _control;
    id <UIFormControl> _nextControl;
    UIView<UIFormPeripheral> *_peripheral;
    UIView<UIFormPeripheral> *_nextPeripheral;
    NSMutableDictionary *_primaryCache;
    NSMutableDictionary *_secondaryCache;
    UIInformalDelegate *_delegate;
    int _orientation;
}

+ (id)_navigationImage;
+ (id)sharedFormAssistant;
+ (double)defaultTransitionDuration;
- (id)_formPeripheralForFormControl:(id)fp8;
- (id)initWithFrame:(struct CGRect)fp8;
- (void)dealloc;
- (void)done:(id)fp8;
- (void)advanceToNextFormControl:(id)fp8;
- (void)recedeToPreviousFormControl:(id)fp8;
- (void)synchronizeOrientationWithAnimation:(BOOL)fp8;
- (void)layoutSubviews;
- (void)completeFormControlTransition;
- (void)animationWillStart:(id)fp8;
- (void)animationDidStop:(id)fp8;
- (void)transitionViewDidComplete:(id)fp8;
- (void)setFormControl:(id)fp8;
- (id)formControl;
- (void)setSessionDelegate:(id)fp8;
- (id)sessionDelegate;
- (BOOL)isTransitioning;
- (BOOL)isTransitioningToNextPeripheral;
- (struct CGRect)peripheralFrame;
- (struct CGRect)remainingDeviceRect;

@end

@interface UISelectionPeripheral : UIPickerView <UIFormPeripheral>
{
    id <UISelectionControl> _control;
    id <UIItemControl> _selectedItemControl;
    NSMutableArray *_cachedItems;
    int _orientation;
    unsigned int _firstSelectedIndex;
}

+ (BOOL)isUniqueForEachFormControl;
- (id)initFormPeripheral;
- (void)dealloc;
- (int)orientation;
- (void)endEditing;
- (void)willChangeToFormControl:(id)fp8;
- (void)setFormControl:(id)fp8;
- (void)pickerViewLoaded:(id)fp8;
- (id)pickerView:(id)fp8 tableCellForRow:(int)fp12 inColumn:(int)fp16;
- (int)numberOfColumnsInPickerView:(id)fp8;
- (int)pickerView:(id)fp8 numberOfRowsInColumn:(int)fp12;
- (void)pickerView:(id)fp8 row:(int)fp12 column:(int)fp16 checked:(BOOL)fp20;

@end

@interface UIItemLabelPeripheral : UIItemPeripheral
{
}

- (void)willChangeToFormControl:(id)fp8;
- (void)setFormControl:(id)fp8;

@end

@interface UIItemPeripheral : UIPickerTableCell <UIFormPeripheral>
{
}

+ (BOOL)isUniqueForEachFormControl;
- (id)initFormPeripheral;
- (void)willChangeToFormControl:(id)fp8;
- (void)setFormControl:(id)fp8;
- (void)endEditing;

@end

@interface _UICachedItemControl : NSObject
{
    NSString *_title;
    BOOL _selected;
    Class _formPeripheralClass;
    id <UIItemControl> _control;
}

+ (id)cachedControlWithControl:(id)fp8;
- (id)initWithControl:(id)fp8;
- (id)title;
- (BOOL)selected;
- (void)setSelected:(BOOL)fp8;
- (void)unselect;
- (Class)formPeripheralClass;
- (void)dealloc;

@end

@interface UIKeyboardPeripheral : UIKeyboard <UIFormPeripheral>
{
    id <UITextControl> _control;
    int _orientation;
}

+ (BOOL)isUniqueForEachFormControl;
- (id)initFormPeripheral;
- (void)dealloc;
- (void)endEditing;
- (void)willChangeToFormControl:(id)fp8;
- (void)setFormControl:(id)fp8;
- (int)orientation;
- (void)resumeWithNotification:(id)fp8;

@end

@interface UIDefaultWebViewInteractionDelegate : NSObject
{
}

- (struct CGRect)calloutDeviceBoundaryForWebView:(id)fp8;

@end

@interface UIWebView (Interaction)
+ (id)_calloutViewForWebView:(id)fp8;
+ (id)_highlightView;
- (void)clearInteractionTimer;
- (void)performInteractionSelector:(SEL)fp8 afterDelay:(double)fp12;
- (struct CGPoint)convertWindowPointToViewport:(struct CGPoint)fp8;
- (void)mouseUp:(struct __GSEvent *)fp8;
- (void)mouseDragged:(struct __GSEvent *)fp8;
- (void)interactionMouseUp:(struct __GSEvent *)fp8;
- (void)interactionMouseDown:(struct __GSEvent *)fp8;
- (void)cancelInteractionWithCandidate;
- (void)forwardMouseUpToInteractionCandidate:(struct __GSEvent *)fp8;
- (void)forwardMouseDraggedToInteractionCandidate:(struct __GSEvent *)fp8;
- (void)forwardEventsToInteractionCandidate;
- (void)performCandidateClick:(id)fp8;
- (void)performClick:(id)fp8;
- (void)attemptClick:(id)fp8;
- (void)webView:(id)fp8 didObserveDeferredContentChange:(int)fp12 forFrame:(id)fp16;
- (id)approximateNodeAtViewportLocation:(struct CGPoint *)fp8;
- (void)calloutApproximateNode;
- (void)highlightApproximateNode;
- (void)highlightApproximateNodeAndDisplayCallout;
- (void)hideCalloutAndHighlight;
- (void)resetInteraction;
- (void)completeInteraction;
- (void)cancelInteraction;
- (void)deferInteraction;
- (void)cancelInteractionWithImmediateDisplay:(BOOL)fp8;
- (void)sendScrollWheelEvents;
- (BOOL)eventCanTriggerGestureScrolling:(struct __GSEvent *)fp8;
- (void)setInteractionDelegate:(id)fp8;
- (id)interactionDelegate;
@end

@interface UIHighlightView : UIView
{
    struct CGColor *_color;
    float _cornerRadius;
    NSArray *_cornerRadii;
    NSMutableArray *_innerBounds;
}

- (id)initWithFrame:(struct CGRect)fp8;
- (void)setColor:(struct CGColor *)fp8;
- (void)setCornerRadius:(float)fp8;
- (float)cornerRadius;
- (void)setCornerRadii:(id)fp8;
- (id)cornerRadii;
- (void)setFrames:(id)fp8 boundaryRect:(struct CGRect)fp12;
- (void)setFrame:(struct CGRect)fp8;
- (void)drawRect:(struct CGRect)fp8;
- (id)hitTest:(struct CGPoint)fp8 forEvent:(struct __GSEvent *)fp16;

@end

@interface UIAutoscrollTimer : NSObject
{
    id m_target;
    struct CGPoint m_point;
    int m_directions;
    float m_delta;
    NSTimer *m_timer;
}

- (id)initWithTarget:(id)fp8 point:(struct CGPoint)fp12 directions:(int)fp20 repeatInterval:(double)fp24;
- (void)dealloc;
- (struct CGPoint)point;
- (int)directions;
- (float)delta;
- (void)invalidate;
- (void)timerFired:(id)fp8;

@end

@interface UICheckeredPatternView : UIView
{
    struct CGColor *m_patternColor;
    struct CGColor *m_checkerColor;
}

- (id)initWithFrame:(struct CGRect)fp8;
- (void)dealloc;
- (BOOL)_canDrawContent;
- (void)updatePatternColor;
- (struct CGColor *)checkerColor;
- (void)setCheckerColor:(struct CGColor *)fp8;

@end

@interface UIPageIndicator : UIControl
{
    NSMutableArray *_indicators;
    int _currentPage;
}

- (id)initWithFrame:(struct CGRect)fp8;
- (void)dealloc;
- (void)setPageCount:(int)fp8;
- (void)setCurrentPage:(int)fp8;
- (int)currentPage;
- (void)sizeToFit;
- (void)layoutSubviews;
- (void)endTrackingAt:(struct CGPoint)fp8 previous:(struct CGPoint)fp16 withEvent:(struct __GSEvent *)fp24;

@end

@interface KBDynamicDictionaryGlue : NSObject
{
    struct DynamicDictionary *m_dict;
}

- (void)setDictionary:(struct DynamicDictionary *)fp8;
- (void)performBackgroundLoad;

@end

@interface UITextLoupe : UIView
{
    UIWebView *m_webView;
    struct {
        struct CGPoint point;
        double time;
    } m_points[16];
    int m_index;
    float m_yOffset;
    BOOL m_firstUpdate;
    BOOL m_topConstrained;
}

+ (void)touchLoupeTimer:(id)fp8;
+ (void)cancelLoupeTimer;
- (id)initWithFrame:(struct CGRect)fp8;
- (void)dealloc;
- (id)superview;
- (struct CGRect)frame;
- (void)setWebView:(id)fp8;
- (void)setTopConstrained:(BOOL)fp8;
- (void)zoomUpAnimation;
- (void)update:(struct CGPoint)fp8;
- (struct CGPoint)terminalPoint;
- (void)zoomDownAnimation;
- (void)zoomDownAnimationDidStop:(id)fp8 finished:(id)fp12;
- (void)fade;
- (void)remove;
- (void)clearPoints;
- (void)drawRect:(struct CGRect)fp8;

@end

@interface UIKeyboardImpl : UIView <WebCaretChangeListener>
{
    id <UIKeyboardInput> m_delegate;
    UITextTraits *m_defaultTextTraits;
    NSString *m_preferenceName;
    int m_userInterfaceLanguage;
    UIKeyboardLanguageIndicator *m_languageIndicator;
    NSArray *m_suggestions;
    NSString *m_autocorrection;
    NSString *m_previousInputString;
    UIKBInputManager *m_inputManager;
    UIAutocorrectInlinePrompt *m_autocorrectPrompt;
    unsigned int m_markedTextLength;
    NSString *m_acceptedText;
    NSMutableDictionary *m_autocorrectionHistory;
    NSMutableDictionary *m_keyedLayouts;
    UIView *m_layout;
    Class m_preferredLayoutClass;
    NSTimer *m_autoDeleteTimer;
    unsigned int m_autoDeleteCount;
    unsigned short m_autoDeleteShiftCharacter;
    UIDelayedAction *m_longPressAction;
    int m_orientation;
    UIView *m_caretView;
    NSTimer *m_caretTimer;
    struct CGPoint m_keyPoint;
    int m_changeCount;
    double m_changeTime;
    struct __CFRunLoopObserver *m_observer;
    struct CGColor *m_caretColor;
    struct __CFCharacterSet *m_textTrimmingSet;
    id m_editingDelegate;
    id m_textSuggestionDelegate;
    int m_autoCapsType;
    int m_autoCorrectionType;
    int m_initialSelectionBehavior;
    unsigned int m_caretWidth;
    int m_preferredKeyboardType;
    int m_returnKeyType;
    int m_textDomain;
    int m_textLoupeVisibility;
    BOOL m_autoEnablesReturnKey;
    BOOL m_secureTextEntry;
    BOOL m_singleCompletionEntry;
    BOOL m_autoCapitalizationPreference;
    BOOL m_autoCorrectionPreference;
    BOOL m_doubleSpacePeriodPreference;
    BOOL m_autoCorrect;
    BOOL m_autoDeleteOK;
    BOOL m_autoShifted;
    BOOL m_initializationDone;
    BOOL m_defaultsNeedSynchronization;
    BOOL m_shift;
    BOOL m_shiftLockedEnabled;
    BOOL m_shiftLocked;
    BOOL m_soundsEnabled;
    BOOL m_changed;
    BOOL m_selecting;
    BOOL m_returnKeyEnabled;
    BOOL m_caretVisible;
    BOOL m_caretBlinks;
    BOOL m_caretShowingNow;
    BOOL m_userChangedSelection;
    BOOL m_shouldChargeKeys;
    BOOL m_longPress;
}

+ (id)sharedInstance;
+ (id)activeInstance;
+ (void)releaseSharedInstance;
+ (struct CGSize)defaultSize;
+ (struct CGSize)suggestionBarSize;
+ (struct CGSize)defaultSizeForOrientation:(int)fp8;
+ (struct CGSize)suggestionBarSizeForOrientation:(int)fp8;
+ (struct CGSize)keypadSize;
+ (struct CGSize)keypadSizeForOrientation:(int)fp8;
+ (void)removeAllDynamicDictionaries;
+ (int)orientationForSize:(struct CGSize)fp8;
- (id)initWithFrame:(struct CGRect)fp8;
- (void)delayedInitialization;
- (void)dealloc;
- (void)clearLayouts;
- (void)removeFromSuperview;
- (void)applicationSuspendedEventsOnly:(id)fp8;
- (void)applicationResumedEventsOnly:(id)fp8;
- (void)defaultsDidChange;
- (void)defaultsDidChange:(id)fp8;
- (id)synchronizedUserDefaults;
- (BOOL)autoCapitalizationPreference;
- (BOOL)doubleSpacePeriodPreference;
- (BOOL)autoCorrectionPreference;
- (void)setAutoCorrectionPreference:(BOOL)fp8;
- (void)setAutoCorrect:(BOOL)fp8;
- (BOOL)autoCorrect;
- (int)UILanguagePreference;
- (id)keyboardsPreference;
- (int)keyboardsLanguagePreference;
- (int)keyboardLastUsedPreference;
- (void)setKeyboardLastUsedPreference;
- (BOOL)shiftLockPreference;
- (void)setTestMode;
- (void)clearDynamicDictionary;
- (int)language;
- (void)setLanguage:(int)fp8;
- (void)setLanguageFromPreferences;
- (void)setLanguageToNextInPreferredList;
- (void)setOrientationForSize:(struct CGSize)fp8;
- (void)setFrame:(struct CGRect)fp8;
- (void)takeTraitsFrom:(id)fp8;
- (id)delegate;
- (void)setDelegate:(id)fp8;
- (void)setDelegate:(id)fp8 force:(BOOL)fp12;
- (void)textChanged:(id)fp8;
- (void)setDefaultTextTraits:(id)fp8;
- (int)preferredKeyboardType;
- (void)setPreferredKeyboardType:(int)fp8;
- (id)layoutKeyForPreferredKeyboardType;
- (void)showPreferredKeyboardType;
- (void)enable;
- (BOOL)callShouldInsertText:(id)fp8 isMarkedText:(BOOL)fp12;
- (BOOL)callShouldDelete;
- (void)callChangedSelection;
- (id)callInputOverlayContainer;
- (int)callPositionForAutocorrection:(id)fp8;
- (void)callChanged;
- (void)setChanged;
- (void)clearChangedDelegate;
- (void)clearInputManager;
- (void)prepareForGeometryChange;
- (void)geometryChangeDone:(BOOL)fp8;
- (void)updatePreferredLayoutClass;
- (void)updatePreferredLayoutClassFromPreferences;
- (Class)preferredLayoutClass;
- (id)preferenceName;
- (void)setPreferenceName:(id)fp8;
- (BOOL)isSuggestionBasedLayoutClass:(Class)fp8;
- (void)showPreferredLayout;
- (void)showLayout:(Class)fp8;
- (int)orientation;
- (void)notifySublayoutChanged;
- (void)notifyShiftChanged;
- (void)prepareForSelectionChange;
- (void)updateSelectionWithPoint:(struct CGPoint)fp8;
- (void)updateForChangedSelection;
- (void)updateInputManagerAutoShiftFlag;
- (void)updateShift;
- (void)setShift:(BOOL)fp8;
- (void)setShift:(BOOL)fp8 autoshift:(BOOL)fp12;
- (void)setShiftLocked;
- (BOOL)isShifted;
- (BOOL)isAutoShifted;
- (BOOL)isShiftLocked;
- (BOOL)shiftLockedEnabled;
- (void)installCaret;
- (void)clearCaret;
- (void)hideCaret:(int)fp8;
- (void)showCaret:(int)fp8;
- (void)caretBlinkTimerFired:(id)fp8;
- (void)clearCaretBlinkTimer;
- (void)touchCaretBlinkTimer;
- (void)setCaretBlinks:(BOOL)fp8;
- (void)setCaretVisible:(BOOL)fp8;
- (BOOL)caretBlinks;
- (BOOL)caretVisible;
- (void)updateCaretRect;
- (void)caretChanged;
- (void)keyActivated:(CDAnonymousStruct9 *)fp8;
- (void)keyDeactivated:(CDAnonymousStruct9 *)fp8;
- (void)setKeyPoint:(struct CGPoint)fp8;
- (BOOL)interceptKeyInput:(id)fp8;
- (BOOL)acceptInputString:(id)fp8;
- (void)setPreviousInputString:(id)fp8;
- (void)addInputString:(id)fp8;
- (void)addInputString:(id)fp8 isMarkedText:(BOOL)fp12;
- (void)acceptMarkedText;
- (void)clearMarkedText;
- (void)clearAcceptedText;
- (BOOL)acceptedTextEndsWithWhitespace;
- (BOOL)shouldEnableShiftForDeletedCharacter:(unsigned short)fp8;
- (void)handleDeleteWithZeroInputCount;
- (void)handleDeleteWithNonZeroInputCount;
- (void)deleteFromInput;
- (void)acceptSuggestion:(id)fp8;
- (void)acceptAutocorrection;
- (void)clearInput;
- (void)clearTransientState;
- (void)clearAnimations;
- (void)acceptWord:(id)fp8 addString:(id)fp12 weight:(int)fp16;
- (void)showSuggestionBar;
- (void)hideSuggestionBar;
- (id)visibleSuggestions;
- (void)setSuggestionBarTextSize:(int)fp8;
- (int)suggestionBarVisibility;
- (BOOL)suggestionBarVisible;
- (void)updateSuggestionBarVisibility:(BOOL)fp8;
- (BOOL)_shouldSuggestUserEnteredString:(id)fp8;
- (void)updateSuggestionsDisplay;
- (void)setAutocorrection:(id)fp8;
- (id)autocorrectPrompt;
- (void)removeAutocorrectPrompt;
- (int)returnKeyType;
- (BOOL)returnKeyEnabled;
- (void)setReturnKeyEnabled:(BOOL)fp8;
- (void)updateReturnKey;
- (void)updateReturnKey:(BOOL)fp8;
- (id)inputOverlayContainer;
- (struct CGRect)convertRectToAutocorrectRect:(struct CGRect)fp8 delegateView:(id)fp24 container:(id)fp28;
- (void)updateAutocorrectPrompt:(id)fp8;
- (void)animateAutocorrection;
- (void)fadeAutocorrectPrompt;
- (void)autocorrectionAnimationDidStop:(id)fp8 finished:(id)fp12 context:(void *)fp16;
- (id)arrayWithInputManagerString;
- (void)setSuggestions:(id)fp8;
- (void)delegateSuggestionsForCurrentInput;
- (void)updateSuggestionsForCurrentInput;
- (id)suggestions;
- (BOOL)shouldChargeKeys;
- (void)nextCharacterProbabilities:(float **)fp8;
- (void)touchAutoDeleteTimerWithThreshold:(double)fp8;
- (void)autoDeleteTimerFired:(id)fp8;
- (void)startAutoDeleteTimer;
- (void)stopAutoDelete;
- (void)touchLongPressTimer;
- (void)clearLongPressTimer;
- (void)longPressAction;
- (BOOL)isLongPress;
- (void)clearTimers;
- (void)clearChangeTimeAndCount;
- (void)updateChangeTimeAndIncrementCount;
- (void)initializeSounds;
- (void)playKeyboardSound:(unsigned long)fp8;
- (void)setSoundsEnabled:(BOOL)fp8;
- (void)drawRect:(struct CGRect)fp8;

@end

@interface UIKeyboardImpl (UIKeyboardLayoutLanguageAdapter)
- (void)callLayoutDeactivateActiveKey;
- (void)callLayoutUpdateReturnKey;
- (void)callLayoutShowSublayoutForKey:(id)fp8;
- (void)callLayoutShowPreferredKeyboardTypeForKey:(id)fp8;
- (BOOL)callLayoutUsesAutoShift;
- (BOOL)callLayoutIsShiftKeyBeingHeld;
- (void)callLayoutSetShift:(BOOL)fp8;
- (void)callLayoutLongPressAction;
- (void)callLayoutUpdateLocalizedKeys;
@end

@interface UIKeyboard : UIView
{
    UIImage *m_snapshot;
    UITextTraits *m_defaultTextTraits;
}

+ (id)activeKeyboard;
+ (id)preferenceName;
+ (void)initImplementationNow;
+ (void)removeAllDynamicDictionaries;
+ (struct CGSize)defaultSize;
+ (struct CGSize)suggestionBarSize;
+ (struct CGSize)defaultSizeForOrientation:(int)fp8;
+ (struct CGSize)suggestionBarSizeForOrientation:(int)fp8;
+ (struct CGSize)keypadSize;
+ (struct CGSize)keypadSizeForOrientation:(int)fp8;
+ (void)preheatArtwork;
- (id)initWithFrame:(struct CGRect)fp8;
- (id)initWithDefaultSize;
- (void)dealloc;
- (void)setFrame:(struct CGRect)fp8;
- (void)setStringValue:(id)fp8;
- (id)stringValue;
- (int)preferredKeyboardType;
- (void)setPreferredKeyboardType:(int)fp8;
- (void)showPreferredLayout;
- (int)orientation;
- (BOOL)pointInside:(struct CGPoint)fp8 forEvent:(struct __GSEvent *)fp16;
- (void)prepareForGeometryChange;
- (void)geometryChangeDone:(BOOL)fp8;
- (void)showSuggestionBar;
- (void)hideSuggestionBar;
- (BOOL)suggestionBarVisible;
- (void)removeAutocorrectPrompt;
- (void)acceptAutocorrection;
- (void)setCaretBlinks:(BOOL)fp8;
- (void)setCaretVisible:(BOOL)fp8;
- (BOOL)returnKeyEnabled;
- (void)setReturnKeyEnabled:(BOOL)fp8;
- (id)defaultTextTraits;
- (void)setDefaultTextTraits:(id)fp8;
- (void)setDefaultReturnKeyType:(int)fp8;
- (void)configureForTests;
- (id)delegate;
- (void)clearSnapshot;
- (void)takeSnapshot;
- (void)activate;
- (void)deactivate;
- (void)movedFromSuperview:(id)fp8;
- (void)drawRect:(struct CGRect)fp8;
- (void)mouseDown:(struct __GSEvent *)fp8;
- (void)mouseUp:(struct __GSEvent *)fp8;
- (void)mouseDragged:(struct __GSEvent *)fp8;

@end

@interface UIKBSuggestionBubble : UIControl
{
    NSString *m_suggestion;
    float m_extraMargin;
    float m_maxWidth;
    int m_textSize;
}

+ (struct CGSize)sizeForSuggestion:(id)fp8 textSize:(int)fp12 maxWidth:(float)fp16;
- (id)initWithSuggestion:(id)fp8 textSize:(int)fp12 maxWidth:(float)fp16;
- (void)dealloc;
- (id)suggestion;
- (void)action:(id)fp8;
- (void)setHighlighted:(BOOL)fp8;
- (void)drawRect:(struct CGRect)fp8;

@end

@interface UIKBSuggestionBar : UIView
{
    UIImage *m_image;
    NSArray *m_suggestions;
    NSString *m_rightmost;
    UIKBSuggestionBubble *m_activeBubble;
    float m_left;
    float m_limit;
    BOOL m_showing;
    BOOL m_animating;
    BOOL m_layoutScheduled;
    BOOL m_showsExtraSuggestions;
    int m_textSize;
}

+ (float)height;
+ (struct CGColor *)accentColor;
+ (struct CGColor *)backgroundColor;
- (id)initWithFrame:(struct CGRect)fp8;
- (void)dealloc;
- (BOOL)showsExtraSuggestions;
- (void)setShowsExtraSuggestions:(BOOL)fp8;
- (void)setTextSize:(int)fp8;
- (void)updateSuggestions:(id)fp8;
- (void)updateSuggestions:(id)fp8 rightmost:(id)fp12;
- (id)visibleSuggestions;
- (void)removeFromSuperview;
- (struct CGRect)hiddenFrame;
- (struct CGRect)shownFrame;
- (void)hideImmediately;
- (void)hide;
- (BOOL)show;
- (void)animationDidStop:(id)fp8 finished:(id)fp12;
- (void)layout;
- (BOOL)bubbleWillFit:(id)fp8 textSize:(int)fp12;
- (BOOL)addBubble:(id)fp8;
- (BOOL)addBubble:(id)fp8 textSize:(int)fp12 checkSizing:(BOOL)fp16 showsExtras:(BOOL)fp20;
- (void)drawRect:(struct CGRect)fp8;

@end

@interface UIKBInputManager : NSObject
{
}

+ (void)registerCentroid:(struct CGPoint)fp8 forKey:(id)fp16;
+ (void)clearCentroids;
+ (void)removeAllDynamicDictionaries;
+ (id)sharedInstance;
+ (id)activeInstance;
+ (void)releaseSharedInstance;
- (id)init;
- (void)dealloc;
- (void)setAutocorrectStemsForCurrentLanguage;
- (void)languageChanged;
- (int)textDomain;
- (void)setTextDomain:(int)fp8;
- (int)lookupMode;
- (void)setLookupMode:(int)fp8;
- (void)setAutoCorrecting:(BOOL)fp8;
- (void)setCalculatesNextCharacterProbabilities:(BOOL)fp8;
- (void)setTestMode;
- (void)clearDynamicDictionary;
- (void)addInput:(id)fp8 flags:(unsigned int)fp12 point:(struct CGPoint)fp16;
- (void)setInput:(id)fp8;
- (void)deleteFromInput;
- (void)clearInput;
- (void)acceptInput;
- (void)clearMarkedInput;
- (void)acceptMarkedInput;
- (void)setInputIndex:(unsigned int)fp8;
- (unsigned int)inputIndex;
- (int)inputCount;
- (id)inputString;
- (void)noteUserTypedWord:(id)fp8 weight:(int)fp12;
- (void)noteUserDeletedWord;
- (void)noteUserDeletedWord:(id)fp8;
- (void)selectionChanged;
- (void)clearTypingHistory;
- (id)shadowTyping;
- (void)setShift:(BOOL)fp8;
- (void)setAutoShiftFlag:(BOOL)fp8;
- (void)nextCharacterProbabilities:(float **)fp8;
- (id)autocorrection;
- (id)generateSuggestions;
- (id)generateSuggestions:(BOOL)fp8;

@end

@interface NSString (UIKBExtras)
+ (id)stringWithUnichar:(unsigned short)fp8;
- (id)stringByTrimmingCharactersInCFCharacterSet:(struct __CFCharacterSet *)fp8;
- (id)stringByTrimmingLastCharacter;
- (id)stringByReplacingCharactersInSet:(struct __CFCharacterSet *)fp8 withCharacter:(unsigned short)fp12;
- (id)stringByReplacingCharacter:(unsigned short)fp8 withCharacter:(unsigned short)fp12;
- (BOOL)endsSentence;
- (BOOL)endsWord;
- (BOOL)isDottedURLDomain;
- (BOOL)isLeftAssociative;
- (BOOL)isTripledPunctuation;
- (BOOL)isSpaceOrReturn;
- (BOOL)isPlainSpace;
- (BOOL)isSpace;
- (BOOL)looksLikeEmailAddress;
- (BOOL)looksLikeNumberInput;
- (BOOL)looksLikeURL;
@end

@interface NSArray (UIKBExtras)
- (id)_kb_firstObject;
- (BOOL)_kb_firstTwoObjectsEqual;
- (BOOL)_kb_firstObjectsEqual:(unsigned int)fp8;
@end

@interface UIClippedImageView : UIView
{
    UIImageView *m_imageView;
    struct CGRect m_originalFrame;
    struct CGRect m_baseFrame;
}

- (id)initWithFrame:(struct CGRect)fp8 image:(id)fp24;
- (void)dealloc;
- (id)image;
- (void)setImage:(id)fp8;
- (void)setOpaque:(BOOL)fp8;
- (void)setFrame:(struct CGRect)fp8;
- (void)setBaseFrame:(struct CGRect)fp8;
- (struct CGRect)baseFrame;
- (void)setImageOrigin:(struct CGPoint)fp8;
- (void)setOriginAdjustingImage:(struct CGPoint)fp8;

@end

@interface UIAutocorrectInlinePrompt : UIView
{
    struct CGRect m_originalTypedTextRect;
    NSString *m_typedText;
    NSString *m_correction;
    UIView *m_typedTextView;
    UIView *m_correctionView;
    UIView *m_correctionAnimationView;
    UIView *m_typedTextAnimationView;
    UIView *m_correctionShadowView;
    int m_position;
    BOOL m_fits;
    BOOL m_mouseDown;
}

- (id)initWithFrame:(struct CGRect)fp8;
- (void)dealloc;
- (void)removePromptSubviews;
- (struct CGRect)shadowFrameForFrame:(struct CGRect)fp8;
- (void)setCorrection:(id)fp8 typedText:(id)fp12 inRect:(struct CGRect)fp16 maxX:(float)fp32;
- (id)correction;
- (void)setPosition:(int)fp8;
- (int)position;
- (id)typedTextView;
- (id)correctionView;
- (id)correctionAnimationView;
- (id)typedTextAnimationView;
- (id)correctionShadowView;
- (BOOL)pointInside:(struct CGPoint)fp8 forEvent:(struct __GSEvent *)fp16;
- (void)dismiss;
- (void)mouseDown:(struct __GSEvent *)fp8;
- (void)mouseDragged:(struct __GSEvent *)fp8;
- (void)mouseUp:(struct __GSEvent *)fp8;
- (BOOL)prepareForAnimation:(struct CGRect)fp8;
- (struct CGRect)topRect;
- (struct CGRect)bottomRect;

@end

@interface UIAutocorrectTextView : UIView
{
    NSString *m_string;
    int m_type;
    int m_edgeType;
    struct __GSFont *m_textFont;
    BOOL m_animating;
}

- (id)initWithFrame:(struct CGRect)fp8 string:(id)fp24 type:(int)fp28 edgeType:(int)fp32;
- (void)dealloc;
- (void)setEdgeType:(int)fp8;
- (void)setAnimating:(BOOL)fp8;
- (void)drawRect:(struct CGRect)fp8;

@end

@interface UIAutocorrectShadowView : UIView
{
    int m_edgeType;
}

- (void)setEdgeType:(int)fp8;
- (void)drawRect:(struct CGRect)fp8;

@end

@interface UIBezierPath (UIAutocorrectShadow)
+ (id)shadowBezierPath:(struct CGRect)fp8 withRoundedEdges:(int)fp24;
@end

@interface UIView (UIAutocorrectInlinePrompt)
- (void)reduceWidth:(float)fp8;
@end

@interface UIAutocorrectImageView : UIView
{
    UIImage *m_image;
}

+ (id)imageWithMaskingView:(id)fp8 maskingRect:(struct CGRect)fp12;
- (id)initWithFrame:(struct CGRect)fp8 image:(id)fp24;
- (id)initWithFrame:(struct CGRect)fp8 string:(id)fp24 font:(struct __GSFont *)fp28;
- (void)dealloc;
- (void)drawRect:(struct CGRect)fp8;

@end

@interface UIAutocorrectStringView : UIView
{
    NSString *m_string;
    struct __GSFont *m_font;
}

- (id)initWithFrame:(struct CGRect)fp8 string:(id)fp24 font:(struct __GSFont *)fp28;
- (void)dealloc;
- (void)drawRect:(struct CGRect)fp8;

@end

@interface UIKeyboardLayoutQWERTYLandscape : UIKeyboardLayoutRoman
{
}

- (id)initWithFrame:(struct CGRect)fp8;
- (id)alternateSublayoutKey:(id)fp8;

@end

@interface UIKeyboardLayoutQWERTY : UIKeyboardLayoutRoman
{
}

- (id)initWithFrame:(struct CGRect)fp8;

@end

@interface UIKeyboardLayoutQZERTYLandscape : UIKeyboardLayoutQWERTYLandscape
{
}

@end

@interface UIKeyboardLayoutQZERTY : UIKeyboardLayoutQWERTY
{
}

@end

@interface UIKeyboardLayoutQWERTZLandscape : UIKeyboardLayoutQWERTYLandscape
{
}

@end

@interface UIKeyboardLayoutQWERTZ : UIKeyboardLayoutQWERTY
{
}

@end

@interface UIKeyboardLayoutAZERTYLandscape : UIKeyboardLayoutQWERTYLandscape
{
}

@end

@interface UIKeyboardLayoutAZERTY : UIKeyboardLayoutQWERTY
{
}

@end

@interface UIKeyboardLayoutRoman : UIKeyboardLayout
{
}

- (BOOL)canHandleHandEvents;
- (void)handleHandEvent:(struct __GSEvent *)fp8;
- (void)mouseDown:(struct __GSEvent *)fp8;
- (void)touchDownWithKey:(CDAnonymousStruct9 *)fp8 atPoint:(struct CGPoint)fp12;
- (void)touchDown:(struct __GSEvent *)fp8 fromPath:(int)fp12 withIdentity:(int)fp16;
- (void)mouseDragged:(struct __GSEvent *)fp8;
- (void)touchDragged:(struct __GSEvent *)fp8 fromPath:(int)fp12 withIdentity:(int)fp16;
- (void)mouseUp:(struct __GSEvent *)fp8;
- (void)touchUp:(struct __GSEvent *)fp8 fromPath:(int)fp12 withIdentity:(int)fp16;

@end

@interface UIKeyboardLayout : UIView
{
    NSMutableDictionary *m_keyedSublayouts;
    UIKeyboardSublayout *m_activeSublayout;
    UIKeyboardSublayout *m_deactivatingSublayout;
    id m_activeSublayoutKey;
    int m_activeKeyIndex;
    int m_activeGroupKeyIndex;
    UIView *m_activeKeyView;
    UIView *m_activeGroupKeyView;
    UIView *m_activeGroupCharacterView;
    UIView *m_shadowView;
    UIView *m_accentedKeyView;
    int m_returnKeyIndex;
    UIView *m_enabledReturnKeyView;
    UIView *m_disabledReturnKeyView;
    UIView *m_pressedReturnKeyView;
    struct CGPoint m_dragPoint;
    int m_activation;
    unsigned int m_currentPathFlags;
    int m_activePathIndex;
    int m_shiftKeyPathIndex;
    BOOL m_shift;
    BOOL m_built;
    BOOL m_dragged;
    BOOL m_dragChangedKey;
    BOOL m_usesGroupKeys;
    BOOL m_mouseDownInMoreKey;
}

- (id)initWithFrame:(struct CGRect)fp8;
- (void)dealloc;
- (void)build;
- (id)buildSublayoutForKey:(id)fp8;
- (id)buildUIKeyboardLayoutMain;
- (id)buildUIKeyboardLayoutAlternate;
- (id)buildUIKeyboardLayoutAlphabet;
- (id)buildUIKeyboardLayoutNumbers;
- (id)buildUIKeyboardLayoutAlphabetTransparent;
- (id)buildUIKeyboardLayoutNumbersTransparent;
- (id)buildUIKeyboardLayoutPhonePad;
- (id)buildUIKeyboardLayoutPhonePadAlt;
- (id)buildUIKeyboardLayoutNumberPad;
- (id)buildUIKeyboardLayoutNumberPadTransparent;
- (id)buildUIKeyboardLayoutURL;
- (id)buildUIKeyboardLayoutURLAlt;
- (id)buildUIKeyboardLayoutSMSAddressing;
- (id)buildUIKeyboardLayoutSMSAddressingAlt;
- (id)buildUIKeyboardLayoutEmailAddressing;
- (id)buildUIKeyboardLayoutEmailAddressingAlt;
- (id)buildUIKeyboardLayoutSingleEmailAddress;
- (id)buildUIKeyboardLayoutSingleEmailAddressAlt;
- (void)addSublayout:(id)fp8 forKey:(id)fp12;
- (void)showSublayoutForKey:(id)fp8;
- (id)sublayoutForKey:(id)fp8;
- (void)addLocalizedCurrencyKeysToSublayout:(id)fp8 keyboardType:(id)fp12;
- (id)activeSublayoutKey;
- (CDAnonymousStruct9 *)activeGroupKey;
- (BOOL)usesAutoShift;
- (CDAnonymousStruct9 *)activeKey;
- (unsigned int)activeKeyMouseDownFlags;
- (unsigned int)activeKeyMouseUpFlags;
- (unsigned int)activeKeyType;
- (id)activeKeyContextData;
- (void)activateCompositeKey:(CDAnonymousStruct9 *)fp8;
- (void)updateLocalizedKeys;
- (void)updateReturnKey;
- (void)activateKey:(CDAnonymousStruct9 *)fp8;
- (void)activateKeyWithIndex:(unsigned int)fp8;
- (void)activateFirstKeyOfType:(unsigned int)fp8;
- (void)deactivateActiveKey;
- (void)activateGroupKey:(CDAnonymousStruct9 *)fp8;
- (void)activateGroupKeyWithIndex:(unsigned int)fp8;
- (void)deactivateActiveGroupKey;
- (unsigned int)keyHitTest:(struct CGPoint)fp8;
- (CDAnonymousStruct9 *)keyForPoint:(struct CGPoint)fp8;
- (void)setShift:(BOOL)fp8;
- (void)showAccentedVariantsForKey:(CDAnonymousStruct9 *)fp8;
- (void)accentedCharacterSelected:(id)fp8;
- (BOOL)isLongPressedKey:(CDAnonymousStruct9 *)fp8;
- (void)longPressAction;
- (id)inputStringForKey:(CDAnonymousStruct9 *)fp8;
- (CDAnonymousStruct9 *)inputKeyboardKeyForKey:(CDAnonymousStruct9 *)fp8;
- (void)activateGroupCharacterKeys:(CDAnonymousStruct9 *)fp8;
- (id)alternateSublayoutKey:(id)fp8;
- (BOOL)isShiftKeyBeingHeld;
- (id)closestMatchingSublayout:(id)fp8;
- (void)initSyntheticKeyCache:(struct __CFDictionary *)fp8 key:(id)fp12 shift:(BOOL)fp16;
- (void)sendSyntheticEvent:(int)fp8 point:(struct CGPoint)fp12;
- (void)synthesizeInputForString:(id)fp8 pause:(double)fp12 dx:(int)fp20 dy:(int)fp24;
- (void)synthesizeInputForString:(id)fp8 repeats:(int)fp12 pause:(double)fp16 dx:(int)fp24 dy:(int)fp28;
- (id)plistWithChildren:(struct CGPoint)fp8;

@end

@interface UIKeyboardSublayout : UIView
{
    UIImageView *m_imageView;
    UIClippedImageView *m_activeImageView;
    UIImageView *m_shiftImageView;
    UIClippedImageView *m_shiftActiveImageView;
    UIImageView *m_shiftButtonImageView;
    UIImageView *m_autoShiftButtonImageView;
    UIImageView *m_shiftLockedButtonImageView;
    UIClippedImageView *m_groupActiveImageView;
    UIClippedImageView *m_groupShiftActiveImageView;
    NSMutableDictionary *m_compositeImages;
    NSMutableDictionary *m_activeKeyViews;
    UIImageView *m_intlMoreImageView;
    UIImageView *m_intlSwitchImageView;
    UIImageView *m_intlSwitchActiveImageView;
    UIKeyboardSpaceKeyView *m_spaceKeyView;
    UIKeyboardReturnKeyView *m_returnKeyView;
    NSMutableArray *m_extraImageViews;
    struct {
        struct CGRect;
        struct CGRect;
        struct CGRect;
        struct CGRect;
        struct CGRect;
        NSString *;
        NSString *;
        unsigned int;
        unsigned int;
        unsigned int;
        id;
    } *m_keys;
    unsigned int m_keysCount;
    struct __CFDictionary *m_replacementKeys;
    struct __CFDictionary *m_replacementImageViews;
    BOOL m_usesAutoShift;
    BOOL m_registersKeyCentroids;
    BOOL m_usesKeyCharges;
    BOOL m_internationalKeyIsActivated;
}

+ (id)sublayoutWithFrame:(struct CGRect)fp8 imagePaths:(id)fp24 keys:(const CDAnonymousStruct9 *)fp28 keysCount:(unsigned int)fp32;
+ (id)compositedSublayoutWithFrame:(struct CGRect)fp8 compositeImagePaths:(id)fp24 keys:(const CDAnonymousStruct9 *)fp28 keysCount:(unsigned int)fp32;
- (id)initWithFrame:(struct CGRect)fp8 imagePaths:(id)fp24 keys:(const CDAnonymousStruct9 *)fp28 keysCount:(unsigned int)fp32;
- (id)initWithFrame:(struct CGRect)fp8 compositeImagePaths:(id)fp24 keys:(const CDAnonymousStruct9 *)fp28 keysCount:(unsigned int)fp32;
- (void)createGroupKeyViewsWithFrame:(struct CGRect)fp8 imagePaths:(id)fp24;
- (void)dealloc;
- (void)setUsesAutoShift:(BOOL)fp8;
- (BOOL)usesAutoShift;
- (BOOL)usesGroupKeys;
- (void)registerKeyCentroids;
- (void)setRegistersKeyCentroids:(BOOL)fp8;
- (BOOL)usesKeyCharges;
- (void)setUsesKeyCharges:(BOOL)fp8;
- (void)setShiftButtonImage:(id)fp8 frame:(struct CGRect)fp12;
- (void)setAutoShiftButtonImage:(id)fp8 frame:(struct CGRect)fp12;
- (void)setShiftLockedButtonImage:(id)fp8 frame:(struct CGRect)fp12;
- (void)setCompositeImage:(id)fp8 forKey:(id)fp12;
- (id)compositeImageForKey:(id)fp8;
- (void)addReplacementKeyboardKey:(CDAnonymousStruct9 *)fp8 forKey:(id)fp12;
- (void)addReplacementImageView:(id)fp8 language:(int)fp12 shift:(BOOL)fp16;
- (void)addExtraImageView:(id)fp8;
- (void)addPartialLayoutViewWithFrame:(struct CGRect)fp8 imageName:(id)fp24 visibleOrigin:(struct CGPoint)fp28;
- (void)addSpaceKeyViewIfNeeded;
- (void)addSpaceKeyViewIfNeeded:(id)fp8;
- (void)setSpaceKeyView:(id)fp8;
- (void)addReturnKeyViewIfNeeded;
- (void)addReturnKeyViewIfNeeded:(id)fp8;
- (void)setReturnKeyView:(id)fp8;
- (void)addInternationalKeyIfNeeded:(id)fp8;
- (BOOL)hitInternationalKey:(struct CGPoint)fp8;
- (void)activateInternationalKey;
- (BOOL)internationalKeyIsActivated;
- (void)deactivateInternationalKey;
- (void)bringKeySubviewsToFront;

@end

@interface UIKeyboardReplacementImageView : UIKeyboardPartialLayoutView
{
}

@end

@interface UIKeyboardPartialLayoutView : UIView
{
}

- (id)initWithFrame:(struct CGRect)fp8 imageName:(id)fp24 visibleOrigin:(struct CGPoint)fp28;

@end

@interface UIDefaultKeyboardInput : UIView <UIKeyboardInput>
{
    UITextTraits *m_traits;
}

- (void)dealloc;
- (id)textTraits;
- (void)takeTraitsFrom:(id)fp8;
- (void)forwardInvocation:(id)fp8;
- (id)methodSignatureForSelector:(SEL)fp8;
- (void)deleteBackward;
- (void)insertText:(id)fp8;
- (void)replaceCurrentWordWithText:(id)fp8;
- (void)setMarkedText:(id)fp8;
- (id)markedText;
- (unsigned short)characterInRelationToCaretSelection:(int)fp8;
- (unsigned short)characterBeforeCaretSelection;
- (unsigned short)characterAfterCaretSelection;
- (struct __GSFont *)fontForCaretSelection;
- (struct CGColor *)textColorForCaretSelection;
- (struct CGRect)rectContainingCaretSelection;
- (id)wordRangeContainingCaretSelection;
- (id)wordContainingCaretSelection;
- (id)wordInRange:(id)fp8;
- (void)expandSelectionToStartOfWordContainingCaretSelection;
- (int)wordOffsetInRange:(id)fp8;
- (BOOL)spaceFollowsWordInRange:(id)fp8;
- (id)previousNGrams:(unsigned int)fp8;
- (BOOL)hasSelection;
- (BOOL)selectionAtDocumentStart;
- (BOOL)selectionAtSentenceStart;
- (BOOL)selectionAtWordStart;
- (BOOL)rangeAtSentenceStart:(id)fp8;
- (struct _NSRange)selectionRange;
- (void)markCurrentWordForAutoCorrection:(id)fp8 correction:(id)fp12;
- (void)moveBackward:(unsigned int)fp8;
- (void)moveForward:(unsigned int)fp8;
- (void)selectAll;
- (void)setText:(id)fp8;
- (id)text;
- (void)updateSelectionWithPoint:(struct CGPoint)fp8;
- (void)setCaretChangeListener:(id)fp8;
- (struct CGRect)caretRect;
- (struct CGRect)convertCaretRect:(struct CGRect)fp8;
- (id)keyboardInputView;
- (BOOL)isShowingPlaceholder;
- (void)setupPlaceholderTextIfNeeded;
- (id)editingDelegate;
- (void)setEditingDelegate:(id)fp8;
- (BOOL)isSecure;
- (void)setSecure:(BOOL)fp8;
- (BOOL)isProxyFor:(id)fp8;
- (BOOL)interceptKeyEvent:(struct __GSEvent *)fp8;

@end

@interface UIGradientBar : UIView
{
    UIImageView *_topShineView;
    UIImageView *_gradientFillView;
    UIImageView *_bottomLineView;
}

- (void)_tile;
- (id)initWithFrame:(struct CGRect)fp8;
- (void)dealloc;
- (void)setFrame:(struct CGRect)fp8;
- (id)hitTest:(struct CGPoint)fp8 forEvent:(struct __GSEvent *)fp16;

@end

@interface NSURL (UIKitPrivateAdditions)
- (BOOL)isInternalUIKitURL;
@end

@interface NSString (UIKitAdditions)
- (id)unescapedQueryValue;
- (id)queryKeysAndValues;
@end

@interface NSURL (UIKitAdditions)
+ (id)URLWithTelephoneNumber:(id)fp8;
+ (id)URLWithTelephoneNumber:(id)fp8 addressBookUID:(int)fp12;
+ (id)mapsURLWithQuery:(id)fp8;
+ (id)mapsURLWithSourceAddress:(id)fp8 destinationAddress:(id)fp12;
- (id)phoneNumber;
- (void)getPhoneNumber:(id *)fp8 addressBookUID:(int *)fp12;
- (BOOL)hasTelephonyScheme;
- (void)_domain:(id *)fp8 subdomain:(id *)fp12;
- (BOOL)_isGoogleMapsDomain:(id)fp8 subdomain:(id)fp12 path:(id)fp16 queryKeysAndValues:(id)fp20;
- (BOOL)isGoogleMapsURL;
- (id)mapsURL;
- (id)itmsURL;
- (id)youTubeURL;
- (BOOL)isSpringboardHandledURL;
- (BOOL)isWebSafeTelephoneURL;
- (id)webSafeTelephoneURL;
@end

@interface UITextTraits : NSObject <UITextTraitsClient>
{
    struct __CFCharacterSet *m_textTrimmingSet;
    struct CGColor *m_caretColor;
    id m_editingDelegate;
    id m_textSuggestionDelegate;
    int m_autoCapsType;
    int m_autoCorrectionType;
    int m_initialSelectionBehavior;
    unsigned int m_caretWidth;
    int m_preferredKeyboardType;
    int m_returnKeyType;
    int m_textDomain;
    int m_textLoupeVisibility;
    int m_keyboardLanguage;
    BOOL m_autoEnablesReturnKey;
    BOOL m_secureTextEntry;
    BOOL m_singleCompletionEntry;
}

+ (int)defaultAutoCapsType;
+ (int)defaultAutoCorrectionType;
+ (BOOL)defaultAutoEnablesReturnKey;
+ (id)defaultEditingDelegate;
+ (int)defaultInitialSelectionBehavior;
+ (struct CGColor *)defaultCaretColor;
+ (unsigned int)defaultCaretWidth;
+ (int)defaultPreferredKeyboardType;
+ (int)defaultReturnKeyType;
+ (BOOL)defaultSecureTextEntryFlag;
+ (BOOL)defaultSingleCompletionEntryFlag;
+ (int)defaultTextDomain;
+ (int)defaultTextLoupeVisibility;
+ (id)defaultTextSuggestionDelegate;
+ (struct __CFCharacterSet *)defaultTextTrimmingSet;
+ (int)defaultKeyboardLanguage;
+ (id)defaultTraits;
- (id)init;
- (void)dealloc;
- (id)textTraits;
- (void)takeTraitsFrom:(id)fp8;
- (void)setToDefaultValues;
- (void)setToSecureValues;
- (int)autoCapsType;
- (void)setAutoCapsType:(int)fp8;
- (int)autoCorrectionType;
- (void)setAutoCorrectionType:(int)fp8;
- (BOOL)autoEnablesReturnKey;
- (void)setAutoEnablesReturnKey:(BOOL)fp8;
- (id)editingDelegate;
- (void)setEditingDelegate:(id)fp8;
- (int)initialSelectionBehavior;
- (void)setInitialSelectionBehavior:(int)fp8;
- (struct CGColor *)caretColor;
- (void)setCaretColor:(struct CGColor *)fp8;
- (unsigned int)caretWidth;
- (void)setCaretWidth:(unsigned int)fp8;
- (int)preferredKeyboardType;
- (void)setPreferredKeyboardType:(int)fp8;
- (int)returnKeyType;
- (void)setReturnKeyType:(int)fp8;
- (BOOL)secureTextEntry;
- (void)setSecureTextEntry:(BOOL)fp8;
- (BOOL)singleCompletionEntry;
- (void)setSingleCompletionEntry:(BOOL)fp8;
- (int)textDomain;
- (void)setTextDomain:(int)fp8;
- (int)textLoupeVisibility;
- (void)setTextLoupeVisibility:(int)fp8;
- (id)textSuggestionDelegate;
- (void)setTextSuggestionDelegate:(id)fp8;
- (struct __CFCharacterSet *)textTrimmingSet;
- (void)setTextTrimmingSet:(struct __CFCharacterSet *)fp8;
- (int)keyboardLanguage;
- (void)setKeyboardLanguage:(int)fp8;

@end

@interface UITextTraits (Deprecated)
- (id)autoSeparatorString;
- (void)setAutoSeparatorString:(id)fp8;
- (int)suggestionBarVisibility;
- (void)setSuggestionBarVisibility:(int)fp8;
- (int)suggestionBarTextSize;
- (void)setSuggestionBarTextSize:(int)fp8;
- (BOOL)showsExtraSuggestions;
- (void)setShowsExtraSuggestions:(BOOL)fp8;
- (BOOL)isSecure;
- (void)setSecure:(BOOL)fp8;
@end

@interface UIRemoteApplication : NSObject
{
    NSString *_bundleID;
    unsigned int _port;
    struct __CFMachPort *_portRef;
}

- (id)initWithBundleIdentifier:(id)fp8;
- (void)dealloc;
- (void)invalidatePort;
- (void)disconnected;
- (BOOL)updatePort;
- (BOOL)available;
- (BOOL)disableMiniAlerts:(int)fp8;
- (BOOL)enableMiniAlerts:(char *)fp8;
- (BOOL)wantsToShowMiniAlert:(char *)fp8;
- (BOOL)statusBarWillAnimateToHeight:(float)fp8 duration:(double)fp12 fence:(int)fp20;

@end

@interface UIPasscodeField : UIView
{
    NSMutableString *_value;
    NSMutableArray *_entryFields;
    NSMutableArray *_entryBackgrounds;
    UIPushButton *_okButton;
    BOOL _opaqueBackground;
    BOOL _centerHorizontally;
    id _delegate;
}

+ (float)defaultHeight;
- (id)initWithFrame:(struct CGRect)fp8;
- (void)dealloc;
- (void)_updateFields;
- (BOOL)showsOKButton;
- (void)setShowsOKButton:(BOOL)fp8;
- (void)setTextCentersHorizontally:(BOOL)fp8;
- (id)stringValue;
- (void)setStringValue:(id)fp8;
- (void)appendString:(id)fp8;
- (void)deleteLastCharacter;
- (int)numberOfEntryFields;
- (void)setNumberOfEntryFields:(int)fp8 opaqueBackground:(BOOL)fp12;
- (void)setNumberOfEntryFields:(int)fp8;
- (BOOL)canBecomeFirstResponder;
- (unsigned int)becomeFirstResponder;
- (void)setDelegate:(id)fp8;
- (void)_textDidChange;
- (BOOL)textField:(id)fp8 shouldInsertText:(id)fp12 replacingRange:(struct _NSRange)fp16;
- (BOOL)textFieldShouldStartEditing:(id)fp8;
- (void)textFieldDidResignFirstResponder:(id)fp8;
- (void)okButtonClicked:(id)fp8;
- (id)hitTest:(struct CGPoint)fp8 forEvent:(struct __GSEvent *)fp16;

@end

@interface UIThreePartTextFieldBackground : UITextFieldBackground
{
    CDAnonymousStruct14 _active;
    CDAnonymousStruct14 _inactive;
    CDAnonymousStruct14 _progress;
    UIImageView *_left;
    UIImageView *_right;
    UIImageView *_center;
    UIImageView *_centerProgress;
}

- (id)initWithFrame:(struct CGRect)fp8;
- (void)dealloc;
- (BOOL)ignoresMouseEvents;
- (void)_setCenterFrame;
- (void)setActive:(BOOL)fp8;
- (void)setProgress:(float)fp8;
- (void)setFrame:(struct CGRect)fp8;
- (void)setLeftActiveImage:(id)fp8 inactiveImage:(id)fp12 progressImage:(id)fp16;
- (void)setRightActiveImage:(id)fp8 inactiveImage:(id)fp12 progressImage:(id)fp16;
- (void)setCenterActiveImage:(id)fp8 inactiveImage:(id)fp12 progressImage:(id)fp16;
- (id)leftActiveImage;
- (id)rightActiveImage;
- (id)centerActiveImage;
- (id)leftInactiveImage;
- (id)rightInactiveImage;
- (id)centerInactiveImage;
- (id)leftProgressImage;
- (id)rightProgressImage;
- (id)centerProgressImage;

@end

@interface UITextFieldBackground : UIView
{
    BOOL _isActive;
    float _value;
}

- (void)setActive:(BOOL)fp8;
- (BOOL)isActive;
- (void)setProgress:(float)fp8;
- (float)progress;

@end

@interface UIWebView (Style)
- (id)createCSSStyleDeclaration;
@end

@interface DOMNode (UIKit_DOMExtras)
- (id)tagName;
@end

@interface UISystemAlertRequest : NSObject
{
    int _alertID;
    UIAlertSheet *_sheet;
    id _target;
    SEL _action;
}

- (id)initWithAlertID:(int)fp8 sheet:(id)fp12 target:(id)fp16 action:(SEL)fp20;
- (void)dealloc;
- (void)alertSheet:(id)fp8 buttonClicked:(int)fp12;

@end

@interface UIWebViewLabel : UIView
{
    UITextLabel *_label;
    UIHighlightView *_highlight;
}

- (id)initWithFrame:(struct CGRect)fp8;
- (void)sizeToFit;
- (void)setText:(id)fp8;

@end

@interface UIWebView (PDF)
+ (id)_PDFPageNumberLabel;
- (void)hidePDFPageNumberLabel;
- (void)updatePDFPageNumberLabel;
@end

@interface UIPickerTableCell : UIImageAndTextTableCell
{
    unsigned int _checked:1;
    unsigned int _reserved:31;
}

- (id)initWithFrame:(struct CGRect)fp8;
- (void)setChecked:(BOOL)fp8;
- (void)layoutSubviews;
- (BOOL)isChecked;

@end

@interface UIPlacardButton : UIThreePartButton
{
}

+ (struct __GSFont *)defaultFont;
- (id)initWithFrame:(struct CGRect)fp8;

@end

@interface UIKeyboardLayoutQWERTY (UI_QWERTY_Alphabet)
- (id)buildUIKeyboardLayoutAlphabet;
@end

@interface UIKeyboardLayoutQWERTY (UI_QWERTY_NumbersAndPunctuation)
- (void)addLocalizedCurrencyKeysToSublayout:(id)fp8 keyboardType:(id)fp12;
- (id)buildUIKeyboardLayoutNumbers;
@end

@interface UIKeyboardLayoutQWERTY (UI_QWERTY_AlphabetTransparent)
- (id)buildUIKeyboardLayoutAlphabetTransparent;
@end

@interface UIKeyboardLayoutQWERTY (UI_QWERTY_NumbersAndPunctuationTransparent)
- (id)buildUIKeyboardLayoutNumbersTransparent;
@end

@interface UIKeyboardLayoutQWERTY (UI_QWERTY_PhonePad)
- (id)buildUIKeyboardLayoutPhonePad;
@end

@interface UIKeyboardLayoutQWERTY (UI_QWERTY_NumberPad)
- (id)buildUIKeyboardLayoutNumberPad;
@end

@interface UIKeyboardLayoutQWERTY (UI_QWERTY_URL)
- (id)buildUIKeyboardLayoutURL;
@end

@interface UIKeyboardLayoutQWERTY (UI_QWERTY_URLAlt)
- (id)buildUIKeyboardLayoutURLAlt;
@end

@interface UIKeyboardLayoutQWERTY (UI_QWERTY_EmailAddressingAlt)
- (id)buildUIKeyboardLayoutEmailAddressingAlt;
@end

@interface UIKeyboardLayoutQWERTY (UI_QWERTY_EmailAddressing)
- (id)buildUIKeyboardLayoutEmailAddressing;
@end

@interface UIKeyboardLayoutQWERTY (UI_QWERTY_PhonePadAlt)
- (id)buildUIKeyboardLayoutPhonePadAlt;
@end

@interface UIKeyboardLayoutQWERTYLandscape (UI_QWERTYLandscape_Alphabet)
- (id)buildUIKeyboardLayoutAlphabet;
@end

@interface UIKeyboardLayoutQWERTYLandscape (UI_QWERTYLandscape_NumbersAndPunctuation)
- (void)addLocalizedCurrencyKeysToSublayout:(id)fp8 keyboardType:(id)fp12;
- (id)buildUIKeyboardLayoutNumbers;
@end

@interface UIKeyboardLayoutQWERTYLandscape (UI_QWERTYLandscape_URL)
- (id)buildUIKeyboardLayoutURL;
@end

@interface UIKeyboardLayoutQWERTYLandscape (UI_QWERTYLandscape_URLAlt)
- (id)buildUIKeyboardLayoutURLAlt;
@end

@interface UIPreferencesDeleteTableCell : UIPreferencesControlTableCell
{
}

+ (float)defaultHeight;
- (id)initWithFrame:(struct CGRect)fp8;
- (id)button;

@end

@interface UIKeyboardLayoutQWERTY (UI_QWERTY_NumberPadTransparent)
- (id)buildUIKeyboardLayoutNumberPadTransparent;
@end

@interface UIKeyboardLayoutQWERTY (UI_QWERTY_SingleEmailAddress)
- (id)buildUIKeyboardLayoutSingleEmailAddress;
@end

@interface UIKeyboardLayoutQWERTY (UI_QWERTY_SingleEmailAddressAlt)
- (id)buildUIKeyboardLayoutSingleEmailAddressAlt;
@end

@interface UIReachabilityManager : NSObject
{
    NSMutableDictionary *_requests;
}

+ (id)sharedReachabilityManager;
- (id)init;
- (void)dealloc;
- (void)addObserver:(id)fp8 forHostname:(id)fp12;
- (void)removeObserver:(id)fp8 forHostname:(id)fp12;

@end

@interface UIReachabilityRequest : NSObject
{
    NSString *_hostname;
    struct __SCNetworkReachability *_reachability;
    NSMutableSet *_observers;
    BOOL _isReachable;
    BOOL _receivedAtLeastOneCallback;
}

- (id)initWithHostname:(id)fp8;
- (void)dealloc;
- (id)description;
- (void)_setReachable:(BOOL)fp8;
- (void)_reachabilityChangedWithFlags:(unsigned int)fp8;
- (BOOL)_start;
- (void)addObserver:(id)fp8;
- (void)removeObserver:(id)fp8;
- (BOOL)hasObservers;
- (void)stop;

@end

@interface UIViewController : NSObject
{
    UIView *_view;
    NSString *_navigationTitle;
    id _parentController;
    unsigned int _observeApplicationSuspendResume:1;
    unsigned int _reserved:31;
}

+ (struct CGRect)defaultViewFrame;
- (id)init;
- (id)initWithView:(id)fp8 navigationTitle:(id)fp12;
- (void)dealloc;
- (struct CGRect)defaultViewFrame;
- (struct CGRect)_childViewFrame;
- (id)view;
- (void)addViewToSuperview:(id)fp8;
- (void)removeViewFromSuperview;
- (void)_setParentController:(id)fp8;
- (id)_parentController;
- (id)navigationController;
- (id)buttonBarController;
- (BOOL)isSnapBackForIdentifier:(id)fp8 userInfo:(id)fp12;
- (void)viewWillDisplayWithAnimation:(BOOL)fp8;
- (void)viewWasAddedToSuperview;
- (void)viewDidDisplayWithAnimation:(BOOL)fp8;
- (void)viewWillHideWithAnimation:(BOOL)fp8;
- (void)viewDidHideWithAnimation:(BOOL)fp8;
- (void)tearDownUIForReason:(int)fp8;
- (void)_setObserveApplicationSuspendResume:(BOOL)fp8;
- (void)applicationWillSuspend;
- (void)_applicationDidSuspend;
- (void)_applicationDidSuspendEventsOnly;
- (void)applicationDidResume;
- (void)_applicationDidResumeEventsOnly;
- (void)didReceiveMemoryWarning;
- (BOOL)_recursivelyPresentOverlay:(id)fp8 andHideViewController:(id)fp12 animate:(BOOL)fp16 transition:(int)fp20;
- (BOOL)_recursivelyDismissOverlay:(id)fp8 andRedisplayViewController:(id)fp12 animate:(BOOL)fp16 transition:(int)fp20;
- (void)_setNavigationTitle:(id)fp8;

@end

@interface UIViewController (DefaultPNG)
- (id)defaultPNGName;
@end

@interface UIViewController (UIButtonBarControllerBadging)
- (id)buttonBarBadge;
@end

@interface UIViewController (UINavigationControllerItem)
- (id)navigationTitle;
- (id)shortNavigationTitle;
- (id)titleForNavigationButton:(int)fp8;
- (int)styleForNavigationButton:(int)fp8;
- (BOOL)isNavigationButtonEnabled:(int)fp8;
- (id)imageForNavigationButton:(int)fp8;
- (float)widthForNavigationButton:(int)fp8;
- (BOOL)clickedNavigationButton:(int)fp8;
- (int)editButton;
- (void)editingDidChange:(BOOL)fp8 animate:(BOOL)fp12;
- (id)accessoryView;
@end

@interface UINavigationController : UIViewController
{
    id _delegate;
    UITransitionView *_overlayTransitionView;
    UINavigationBar *_navigationBar;
    UIView *_accessoryView;
    UITransitionView *_transitionView;
    NSMutableArray *_viewControllers;
    UIViewController *_overlayViewController;
    unsigned int _isPoppingViewController:1;
    unsigned int _isTransitioningOverlay:1;
    unsigned int _isPoppingNavigationItem:1;
    unsigned int _isAnimating:1;
    unsigned int _isEditing:1;
    unsigned int _isDisplayed:1;
    unsigned int _dummy:26;
}

+ (void)setCustomTransitionDuration:(double)fp8;
- (id)init;
- (id)initWithNavigationBar:(id)fp8;
- (id)initWithRootViewController:(id)fp8;
- (void)dealloc;
- (void)setDelegate:(id)fp8;
- (struct CGRect)_childViewFrame;
- (id)topViewController;
- (id)visibleViewController;
- (id)navigationBar;
- (void)_setAccessoryView:(id)fp8 animate:(BOOL)fp12 goingBack:(BOOL)fp16;
- (id)_previousViewController;
- (id)view;
- (void)viewWillDisplayWithAnimation:(BOOL)fp8;
- (void)viewDidDisplayWithAnimation:(BOOL)fp8;
- (void)viewWillHideWithAnimation:(BOOL)fp8;
- (void)viewDidHideWithAnimation:(BOOL)fp8;
- (void)viewWasAddedToSuperview;
- (void)_didFinishPushingOverlayViewController;
- (void)_didFinishPoppingOverlayViewController;
- (void)_didFinishPushingViewController;
- (void)_didFinishPoppingViewController;
- (void)transitionViewDidComplete:(id)fp8;
- (double)durationForTransition:(int)fp8;
- (void)pushViewControllerWithView:(id)fp8 navigationTitle:(id)fp12;
- (void)pushViewController:(id)fp8;
- (void)pushViewController:(id)fp8 transition:(int)fp12;
- (void)popViewController;
- (void)popViewControllerWithTransition:(int)fp8;
- (void)popToRootViewController;
- (void)popToRootViewControllerWithTransition:(int)fp8;
- (void)popToViewController:(id)fp8;
- (void)popToViewController:(id)fp8 transition:(int)fp12;
- (BOOL)snapBackForIdentifier:(id)fp8 userInfo:(id)fp12;
- (BOOL)snapBackForIdentifier:(id)fp8 userInfo:(id)fp12 transition:(int)fp16;
- (void)presentOverlayViewController:(id)fp8;
- (void)dismissOverlayViewController;
- (void)dismissOverlayViewControllerWithTransition:(int)fp8;
- (id)overlayViewController;
- (void)_toggleEditingWithAnimation:(BOOL)fp8;
- (void)setEditing:(BOOL)fp8 animate:(BOOL)fp12;
- (BOOL)isEditing;
- (void)updateNavigationTitle:(id)fp8;
- (void)updateAllNavigationTitles;
- (void)_updateTitleForNavigationItem:(id)fp8 viewController:(id)fp12;
- (void)updateNavigationButtonsWithAnimation:(BOOL)fp8;
- (void)_displayNavigationButtonsForViewController:(id)fp8 withPreviousViewController:(id)fp12 animate:(BOOL)fp16;
- (void)updateAccessoryView;
- (void)navigationBar:(id)fp8 poppedItem:(id)fp12;
- (void)navigationBar:(id)fp8 buttonClicked:(int)fp12;
- (id)buttonBarBadge;
- (id)defaultPNGName;

@end

@interface UINavigationBar (AccessoryView)
- (struct CGRect)_frameForTopView:(id)fp8;
- (void)setAccessoryView:(id)fp8 animate:(BOOL)fp12 goingBack:(BOOL)fp16;
- (void)animationDidStop:(id)fp8 finished:(id)fp12 context:(void *)fp16;
@end

@interface UIButtonBarController : UIViewController
{
    UIButtonBar *_buttonBar;
    UITransitionView *_containerTransitionView;
    UIView *_containerView;
    UITransitionView *_viewControllerTransitionView;
    NSMutableArray *_viewControllers;
    NSMutableArray *_buttonBarItems;
    UIViewController *_selectedViewController;
    UIViewController *_overlay;
    UIViewController *_viewControllerUnderOverlay;
    unsigned int _isRemovingOverlay:1;
    unsigned int _isAnimatingOverlay:1;
    unsigned int _isDisplayed:1;
    unsigned int _popToRoot:1;
    unsigned int _dummy:30;
}

- (id)init;
- (void)dealloc;
- (struct CGRect)_childViewFrame;
- (id)view;
- (void)viewWillDisplayWithAnimation:(BOOL)fp8;
- (void)viewWasAddedToSuperview;
- (void)viewDidDisplayWithAnimation:(BOOL)fp8;
- (void)viewWillHideWithAnimation:(BOOL)fp8;
- (void)viewDidHideWithAnimation:(BOOL)fp8;
- (void)addButtonBarViewController:(id)fp8 withNavigationController:(BOOL)fp12;
- (void)addViewController:(id)fp8 title:(id)fp12 image:(id)fp16 selectedImage:(id)fp20;
- (void)_buttonClicked:(id)fp8;
- (id)buttonBar;
- (void)setPopsToRootOnButtonPress:(BOOL)fp8;
- (void)setSelectedIndex:(unsigned int)fp8;
- (unsigned int)selectedIndex;
- (id)viewControllers;
- (id)selectedViewController;
- (void)_activateViewController:(id)fp8;
- (int)_tagForViewController:(id)fp8;
- (void)badgeChanged:(id)fp8;
- (void)transitionViewDidComplete:(id)fp8;
- (BOOL)_recursivelyPresentOverlay:(id)fp8 andHideViewController:(id)fp12 animate:(BOOL)fp16 transition:(int)fp20;
- (BOOL)_recursivelyDismissOverlay:(id)fp8 andRedisplayViewController:(id)fp12 animate:(BOOL)fp16 transition:(int)fp20;

@end

@interface UIAccentedCharacterView : UIView
{
    NSArray *m_characters;
    unsigned int m_count;
    int m_expansion;
    int m_orientation;
    float m_stringWidth;
    UIImage *m_endcapImage;
    UIImage *m_middleImage;
    UIImage *m_grabberImage;
    struct CGPoint m_endcapPoint;
    struct CGRect m_middleToRect;
    struct CGRect m_middleFromRect;
    struct CGPoint m_grabberPoint;
    UIView *m_selectedView;
    unsigned int m_selectedIndex;
    BOOL m_dragged;
    struct CGPoint m_dragPoint;
}

- (id)initWithFrame:(struct CGRect)fp8 variants:(id)fp24 expansion:(int)fp28 orientation:(int)fp32;
- (void)dealloc;
- (void)setSelectedIndex:(int)fp8;
- (void)sendSelectedString;
- (void)mouseDown:(struct __GSEvent *)fp8;
- (void)mouseDragged:(struct __GSEvent *)fp8;
- (void)mouseUp:(struct __GSEvent *)fp8;
- (void)drawRect:(struct CGRect)fp8;

@end

@interface UIAccentedKeyCapStringView : UIView
{
    BOOL m_selectedMode;
    int m_expansion;
    int m_orientation;
    float m_stringWidth;
    NSArray *m_caps;
}

- (void)dealloc;
- (void)setSelectedMode:(BOOL)fp8;
- (void)setCaps:(id)fp8;
- (void)setExpansion:(int)fp8;
- (void)setOrientation:(int)fp8;
- (void)setStringWidth:(float)fp8;
- (void)drawRect:(struct CGRect)fp8;

@end

@interface UIKeyboardLayoutQWERTZ (UI_QWERTZ_Alphabet)
- (id)buildUIKeyboardLayoutAlphabet;
@end

@interface UIKeyboardLayoutAZERTY (UI_AZERTY_Alphabet)
- (id)buildUIKeyboardLayoutAlphabet;
@end

@interface ASearch : NSObject
{
    int _mismatch;
    unsigned int _epsilon;
    unsigned int _acceptpat;
    unsigned int _shiftpat[256];
    unsigned int _pluspat[256];
}

- (id)initWithPattern:(char *)fp8 withAmbiguity:(int)fp12;
- (int)match:(char *)fp8;

@end

@interface CandItem : UIControl
{
    id _delegate;
    CandWordInfoView *_infoView;
    UIImageView *_pushedImageView;
    UIImageView *_releasedImageView;
    struct CGPoint _pos;
    struct CGSize _size;
    struct CGRect _frame;
    CandWord *_candWord;
    int _id;
}

- (id)initWithFrame:(struct CGRect)fp8;
- (void)dealloc;
- (id)delegate;
- (void)setDelegate:(id)fp8;
- (struct CGSize)quickSizeOfWord:(id)fp8 withFont:(struct __GSFont *)fp12;
- (void)setCandWord:(id)fp8 withID:(int)fp12;
- (void)setInfoView;
- (id)infoView;
- (id)candWord;
- (void)setHighlighted:(BOOL)fp8;
- (id)createImageView;
- (id)releasedImageView;
- (id)pushedImageView;
- (void)reset;
- (void)setPos:(struct CGPoint)fp8;
- (struct CGPoint)pos;
- (void)setID:(int)fp8;
- (int)ID;

@end

@interface CandWordImageView : UIView
{
}

- (id)initWithFrame:(struct CGRect)fp8;
- (void)dealloc;
- (void)drawRect:(struct CGRect)fp8;

@end

@interface CandWordInfoView : UIView
{
    CandWord *_candWord;
    struct CGSize _candWordSize;
    struct __GSFont *_font;
}

- (id)initWithFrame:(struct CGRect)fp8;
- (void)dealloc;
- (void)setCandWord:(id)fp8 size:(struct CGSize)fp12;
- (id)candWord;
- (void)drawRect:(struct CGRect)fp8;
- (void)setFont:(struct __GSFont *)fp8;

@end

@interface CandView : UIView
{
    NSArray *_candWords;
    CandItem *_selCand;
    int _selCandNo;
    id <CandViewProtocol> _kbView;
    struct CGPoint _mouseDownPoint;
    struct CGPoint _mouseDragPoint;
    struct CGPoint _mouseUpPoint;
    BOOL _keyPressed;
    BOOL _dragged;
    CandItem *_candItems[60];
    NSMutableArray *_candidatePageArray;
    int _currentPage;
    UIImageView *_prevButton;
    UIImageView *_nextButton;
    int _lineCount;
    BOOL _intermediateTextAtTop;
    float _multiPageCandidateMargin;
}

- (id)initWithFrame:(struct CGRect)fp8 andLineCount:(int)fp24 intermediateTextAtTop:(BOOL)fp28;
- (void)_prepareCandWords;
- (void)_layoutCandWords;
- (void)setCands:(id)fp8 nthCand:(int)fp12;
- (void)setCandPage:(int)fp8;
- (void)prevCandidatePage;
- (void)nextCandidatePage;
- (void)setKBView:(id)fp8;
- (id)findViewWithEvent:(struct __GSEvent *)fp8;
- (void)mouseDown:(struct __GSEvent *)fp8;
- (void)mouseDragged:(struct __GSEvent *)fp8;
- (void)mouseUp:(struct __GSEvent *)fp8;

@end

@interface CSearch : NSObject
{
    int _mismatch;
    unsigned int _epsilon;
    unsigned int _shiftpat[256];
    unsigned int _pluspat[256];
    unsigned int _length;
}

- (id)initWithPattern:(char *)fp8 withAmbiguity:(int)fp12;
- (int)match:(char *)fp8;
- (int)length;

@end

@interface KBPopupView : UIView
{
    BOOL _isPortrait;
    UIImage *_baseCenterImage;
    UIImage *_baseCenterWideImage;
    UIImage *_baseLeftImage;
    UIImage *_baseRightImage;
    UIImage *_currentImage;
    float _centerX;
    CDAnonymousStruct16 *_state;
    CDAnonymousStruct7 _button;
}

- (id)initWithOrientation:(BOOL)fp8;
- (BOOL)shouldShownOnButton:(CDAnonymousStruct7)fp8 inState:(const CDAnonymousStruct18 *)fp16;
- (BOOL)showOnButton:(CDAnonymousStruct7)fp8 inState:(const CDAnonymousStruct18 *)fp16 inView:(id)fp20;
- (void)hide;
- (void)drawRect:(struct CGRect)fp8;

@end

@interface KBImageView : UIImageView
{
    UIView *_parent;
}

- (id)initWithFrame:(struct CGRect)fp8 parentView:(id)fp24;
- (void)dealloc;
- (void)mouseDown:(struct __GSEvent *)fp8;
- (void)mouseDragged:(struct __GSEvent *)fp8;
- (void)mouseUp:(struct __GSEvent *)fp8;

@end

@interface KBView : UIKeyboardLayout <CandViewProtocol>
{
    CandView *_candView;
    KBPopupView *_popup;
    NSString *_pat;
    int _kbType;
    int _kbMode;
    int _kbState;
    CDAnonymousStruct16 *_currentState;
    NSArray *_candWords;
    int _nthCand;
    int _candPage;
    NSMutableDictionary *_kbImageViewCache;
    NSMutableArray *_typedKeyArray;
    UIImageView *_baseView;
    UIImageView *_buttonBaseImage;
    UIImageView *_buttonCharImage;
    UIImageView *_dynamicButtonImages[5];
    int _dynamicButtonIndexes[5];
    int _pressedDynamicButtonID;
    NSString *_lastSearchPattern;
    BOOL _needFlushIntermediateText;
    int _foundButtonID;
    int _lastButtonID;
    int _returnKeyType;
    BOOL _soundsEnabled;
    NSTimer *_autoStateChangeTimer;
    BOOL _autoStateChangingNow;
    NSTimer *_autoDeleteTimer;
    int _autoDeleteCount;
    struct CGPoint _mouseDownPoint;
    BOOL _swipeDeletingNow;
    BOOL _swipeIntermediateText;
    int _swipedCharacters;
    BOOL _swipeOrAutoDeleteHappened;
    BOOL _autoDeleteCanceled;
    struct CGPoint _lastDeletePoint;
    NSString *_originalString;
    int _deleteCount;
    float _deltaPerDeletion;
    NSString *_rawIntermediateText;
    UIKeyboardReturnKeyView *_returnKeyView;
}

- (id)initWithFrame:(struct CGRect)fp8;
- (void)dealloc;
- (BOOL)isPortrait;
- (void)drawRect:(struct CGRect)fp8;
- (void)mouseDown:(struct __GSEvent *)fp8;
- (void)mouseDragged:(struct __GSEvent *)fp8;
- (void)mouseUp:(struct __GSEvent *)fp8;
- (const CDAnonymousStruct18 *)switchToStateForType:(int)fp8 Mode:(int)fp12 State:(int)fp16;
- (void)setCandidates:(id)fp8;
- (id)candidates;
- (id)searchCandidates:(id)fp8;
- (id)quickSearchCandidates:(id)fp8;
- (void)didDeleteText:(id)fp8;
- (void)didDeletePat:(id)fp8;
- (void)didEnterPat:(id)fp8;
- (void)didFixWord:(id)fp8;
- (void)addReturnKeyView;
- (void)setShift:(BOOL)fp8;
- (void)updateLocalizedKeys;
- (void)showKeyboardType:(int)fp8;
- (void)updateReturnKey;
- (void)setCand:(int)fp8;
- (void)fix;
- (void)intermediateTextClicked;
- (void)activateCandView:(id)fp8;
- (void)deactivateCandView:(id)fp8;
- (struct CGPoint)_buttonToPoint:(const CDAnonymousStruct13 *)fp8;
- (CDAnonymousStruct7)_pointToButton:(struct CGPoint)fp8;
- (void)_buttonSelected:(const CDAnonymousStruct8 *)fp8 stateChangeOnly:(BOOL)fp12;
- (BOOL)_isAutoStateChangingNow;
- (void)_goToNextState:(id)fp8;
- (void)_search;
- (void)_quickUpdate;
- (struct CGRect)_adjustButtonRect:(struct CGRect)fp8;
- (CDAnonymousStruct7)_findButtonWithEvent:(struct __GSEvent *)fp8;
- (int)_foundButtonID;
- (id)_cachedImageViewWithName:(id)fp8 enable:(BOOL)fp12;
- (void)_updatePressedStateOfDynamicButton:(int)fp8 pressed:(BOOL)fp12;
- (void)_dispCands;
- (void)_sendText:(id)fp8;
- (id)_intermediateText;
- (void)_setIntermediateText:(id)fp8;
- (void)_flushIntermediateText;
- (void)_clearIntermediateText;
- (int)_deleteLastCharOfIntermediateText;
- (struct _NSRange)_selectionRange;
- (id)_text;
- (float)_textSize;
- (void)_beginSwipeDeleteFromPoint:(struct CGPoint)fp8;
- (BOOL)_isSwipeDeletingNow;
- (void)_swipeDeleteAtPoint:(struct CGPoint)fp8;
- (void)_swipeDeleteAChar:(BOOL)fp8;
- (void)_swipeRetrieveAChar;
- (void)_endSwipeDelete;
- (void)_startAutoDeleteTimer;
- (void)_stopAutoDeleteTimer;
- (void)autoDeleteTimerFired:(id)fp8;

@end

@interface KBWordSearch : NSObject
{
    WordInfo *_learnDict[200];
    int _dictTopIndex;
    int _dictBottomIndex;
    int _maxCands;
    NSMutableArray *_candidates;
    int _lastConnection[10];
    int _lastConnections;
    int _searchMode;
    CSearch *_css[100];
    char *_wordStack[10];
    char *_yomiStack[10];
    int _numberOfPrefixCands;
    int _ncands;
    int _matched;
    int _linkInd;
    NSData *_wordListData;
    NSData *_dictData;
    BOOL _loading;
    int _weight;
    NSString *_deletedString;
    NSString *_deletedPat;
}

- (id)init;
- (void)dealloc;
- (BOOL)checkGSEventQueueContainsMouseEvent;
- (int)addCandidate:(char *)fp8 yomi:(char *)fp12 inConnection:(int)fp16 outConnection:(int)fp20 nCands:(int)fp24 weight:(int)fp28;
- (void)addConnectedCandidate:(char *)fp8 yomi:(char *)fp12 inConnection:(int)fp16 outConnection:(int)fp20 withLevel:(int)fp24 weight:(int)fp28;
- (void)generateCand0:(int)fp8 matchedLen:(int)fp12 level:(int)fp16 matchedStr:(char *)fp20 matchedYomi:(char *)fp24;
- (void)generateCand;
- (id)getOneCandidate:(id)fp8;
- (id)getCandidates0:(id)fp8 fixPat:(id)fp12;
- (id)getCandidates:(id)fp8 fixPat:(id)fp12;
- (void)regist:(id)fp8 withYomi:(id)fp12 inConnection:(int)fp16 outConnection:(int *)fp20 outConnections:(int)fp24;
- (id)lastWord;
- (void)setSearchMode:(int)fp8;
- (void)setMaxCands:(int)fp8;
- (void)setDeletedString:(id)fp8;
- (id)deletedString;
- (void)setDeletedPat:(id)fp8;
- (id)deletedPat;

@end

@interface KBWordSearch (InternalDictionaryLoading)
- (void)startLoadingDictionaries;
- (void)loadDictionariesThread:(id)fp8;
@end

@interface Romakana : NSObject
{
}

+ (id)hiraganaString:(id)fp8;
+ (id)hiraganaString:(id)fp8 mappingArray:(id)fp12;
- (id)roma2hiragana:(id)fp8;
- (id)roma2katakana:(id)fp8;

@end

@interface WordInfo : CandWord
{
    NSString *_yomi;
    int _inConnection;
    int _outConnection[10];
    int _outConnections;
    int _weight;
}

- (id)initWithWord:(id)fp8 withYomi:(id)fp12 inConnection:(int)fp16 outConnection:(int)fp20 weight:(int)fp24;
- (void)dealloc;
- (void)addOutConnection:(int)fp8;
- (void)addWeight:(int)fp8;
- (id)yomi;
- (int)inConnection;
- (int *)outConnection;
- (int)outConnections;
- (int)weight;
- (void)setWeight:(int)fp8;

@end

@interface UIWebView (Messaging)
- (void)webView:(id)fp8 didReceiveMessage:(id)fp12;
- (void)setAllowsMessaging:(BOOL)fp8;
- (BOOL)allowsMessaging;
- (id)messagesMatchingMask:(int)fp8;
- (void)clearMessagesMatchingMask:(int)fp8;
@end

@interface NSDictionary (UIWebViewMessaging)
- (id)text;
- (int)lineNumber;
- (id)sourceURL;
- (int)type;
@end

@interface UITelAlertSheet : UIAlertSheet
{
}

- (id)initWithTitle:(id)fp8 buttons:(id)fp12 defaultButtonIndex:(int)fp16 delegate:(id)fp20 context:(id)fp24;

@end

@interface UIKeyboardLanguageIndicator : UIView
{
    int m_language;
    UIImage *m_image;
    float m_textSize;
    int m_style;
}

- (id)initWithFrame:(struct CGRect)fp8;
- (void)setBackgroundImage:(id)fp8;
- (void)setTextSize:(float)fp8;
- (void)setStyle:(int)fp8;
- (void)fade;
- (void)fadeAnimationDidStop:(id)fp8 finished:(id)fp12;
- (void)drawRect:(struct CGRect)fp8;

@end

@interface UIKeyboardLayoutQZERTY (UI_QZERTY_Alphabet)
- (id)buildUIKeyboardLayoutAlphabet;
@end

@interface UIKeyboardReturnKeyView : UIKeyboardKeyView
{
    int m_originalStyle;
    int m_subtype;
}

- (id)initWithFrame:(struct CGRect)fp8 orientation:(int)fp24 style:(int)fp28;
- (int)cacheKey;
- (int)subtype;
- (void)setSubtype:(int)fp8;
- (id)localizedStringReturn;
- (id)localizedStringNext;
- (id)localizedStringGo;
- (id)localizedStringJoin;
- (id)localizedStringRoute;
- (id)localizedStringSearch;
- (id)localizedStringSend;
- (id)localizedString;
- (id)symbolString;

@end

@interface UIKeyboardSpaceKeyView : UIKeyboardKeyView
{
}

- (id)initWithFrame:(struct CGRect)fp8 orientation:(int)fp24 style:(int)fp28;
- (id)localizedString;
- (id)symbolString;

@end

@interface UIKeyboardKeyView : UIView
{
    int m_orientation;
    int m_type;
    int m_state;
    int m_style;
}

- (int)cacheKey;
- (id)image;
- (int)type;
- (void)setType:(int)fp8;
- (int)state;
- (void)setState:(int)fp8;
- (int)style;
- (void)setStyle:(int)fp8;
- (void)drawRect:(struct CGRect)fp8;

@end

@interface UIKeyboardLayoutAZERTY (UI_AZERTY_AlphabetTransparent)
- (id)buildUIKeyboardLayoutAlphabetTransparent;
@end

@interface UIKeyboardLayoutQWERTZ (UI_QWERTZ_AlphabetTransparent)
- (id)buildUIKeyboardLayoutAlphabetTransparent;
@end

@interface UIKeyboardLayoutQZERTY (UI_QZERTY_AlphabetTransparent)
- (id)buildUIKeyboardLayoutAlphabetTransparent;
@end

@interface UIKeyboardLayoutAZERTY (UI_AZERTY_URL)
- (id)buildUIKeyboardLayoutURL;
@end

@interface UIKeyboardLayoutQWERTZ (UI_QWERTZ_URL)
- (id)buildUIKeyboardLayoutURL;
@end

@interface UIKeyboardLayoutQZERTY (UI_QZERTY_URL)
- (id)buildUIKeyboardLayoutURL;
@end

@interface UIKeyboardLayoutAZERTYLandscape (UI_AZERTYLandscape_Alphabet)
- (id)buildUIKeyboardLayoutAlphabet;
@end

@interface UIKeyboardLayoutQWERTZLandscape (UI_QWERTZLandscape_Alphabet)
- (id)buildUIKeyboardLayoutAlphabet;
@end

@interface UIKeyboardLayoutQZERTYLandscape (UI_QZERTYLandscape_Alphabet)
- (id)buildUIKeyboardLayoutAlphabet;
@end

@interface UIKeyboardLayoutAZERTYLandscape (UI_AZERTYLandscape_URL)
- (id)buildUIKeyboardLayoutURL;
@end

@interface UIKeyboardLayoutQZERTYLandscape (UI_QZERTYLandscape_URL)
- (id)buildUIKeyboardLayoutURL;
@end

@interface UIKeyboardLayoutQWERTZLandscape (UI_QWERTZLandscape_URL)
- (id)buildUIKeyboardLayoutURL;
@end

@interface UIKeyboardLayoutAZERTY (UI_AZERTY_EmailAddressing)
- (id)buildUIKeyboardLayoutEmailAddressing;
@end

@interface UIKeyboardLayoutQZERTY (UI_QZERTY_EmailAddressing)
- (id)buildUIKeyboardLayoutEmailAddressing;
@end

@interface UIKeyboardLayoutQWERTZ (UI_QWERTZ_EmailAddressing)
- (id)buildUIKeyboardLayoutEmailAddressing;
@end

@interface UIKeyboardLayoutQWERTZ (UI_QWERTZ_SingleEmailAddress)
- (id)buildUIKeyboardLayoutSingleEmailAddress;
@end

@interface UIKeyboardLayoutQZERTY (UI_QZERTY_SingleEmailAddress)
- (id)buildUIKeyboardLayoutSingleEmailAddress;
@end

@interface UIKeyboardLayoutAZERTY (UI_AZERTY_SingleEmailAddress)
- (id)buildUIKeyboardLayoutSingleEmailAddress;
@end

@interface UIKeyboardLayoutAZERTY (UI_AZERTY_SMSAddressing)
- (id)buildUIKeyboardLayoutSMSAddressing;
@end

@interface UIKeyboardLayoutQWERTY (UI_QWERTY_SMSAddressing)
- (id)buildUIKeyboardLayoutSMSAddressing;
@end

@interface UIKeyboardLayoutQWERTY (UI_QWERTY_SMSAddressingAlt)
- (id)buildUIKeyboardLayoutSMSAddressingAlt;
@end

@interface UIKeyboardLayoutQZERTY (UI_QZERTY_SMSAddressing)
- (id)buildUIKeyboardLayoutSMSAddressing;
@end

@interface UIKeyboardLayoutQWERTZ (UI_QWERTZ_SMSAddressing)
- (id)buildUIKeyboardLayoutSMSAddressing;
@end

@interface CandWord : NSObject
{
    NSString *_word;
}

- (id)initWithWord:(id)fp8;
- (void)dealloc;
- (id)word;

@end

@interface JIMViewLandscape : JIMView
{
}

- (BOOL)isPortrait;

@end

@interface JIMView : KBView
{
    KBWordSearch *_kbws;
    int _lastConnection[10];
    int _lastConnections;
    NSString *_deletedPatForReconv;
    BOOL _deletedPatUsedForReconv;
}

- (id)initWithFrame:(struct CGRect)fp8;
- (void)dealloc;
- (id)searchCandidates:(id)fp8;
- (id)quickSearchCandidates:(id)fp8;
- (void)didDeleteText:(id)fp8;
- (void)didDeletePat:(id)fp8;
- (void)didEnterPat:(id)fp8;
- (void)didFixWord:(id)fp8;

@end

