/*
 *     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 i