]> git.saurik.com Git - iphone-api.git/commitdiff
Commit these numerous sequestered UIKit updates.
authorJay Freeman (saurik) <saurik@saurik.com>
Mon, 7 May 2012 05:24:04 +0000 (05:24 +0000)
committerJay Freeman (saurik) <saurik@saurik.com>
Mon, 7 May 2012 05:24:04 +0000 (05:24 +0000)
20 files changed:
UIKit/CDStructures.h
UIKit/NSString-UIKBExtras.h
UIKit/NSURL-UIKitAdditions.h
UIKit/UIAlertView.h
UIKit/UIApplication.h
UIKit/UICoverFlowLayer.h
UIKit/UIDevice.h
UIKit/UIFormAssistant.h
UIKit/UIImage.h
UIKit/UIKeyboardLayoutProtocol-Protocol.h
UIKit/UIKeyboardSublayout.h
UIKit/UIKit.h
UIKit/UINavigationBar.h
UIKit/UIScreen.h
UIKit/UITabBar.h
UIKit/UITableViewCell-UITableViewCellInternal.h
UIKit/UITableViewCell.h
UIKit/UITextView.h
UIKit/UIView-Gestures.h
UIKit/UIWebDocumentView.h

index 686aa849d1396a6cae90d60c43d5e2a58f83b596..929286c5ff4cb010efaf7499341bb980344c3db7 100644 (file)
@@ -3,7 +3,7 @@
  *
  *     class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2007 by Steve Nygard.
  */
-
+#error
 @class UIImage, UIView;
 
 struct $_154 {
index c1a765cd72e8e73c7f99e6a75c2c604a71da06d0..566d3ad73ea3ef1a50cf2a375347fd2f59eee94e 100644 (file)
@@ -4,7 +4,7 @@
  *     class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2007 by Steve Nygard.
  */
 
-#import "NSString.h"
+#import "Foundation/NSString.h"
 
 @interface NSString (UIKBExtras)
 + (id)stringWithUnichar:(unsigned short)fp8;
index 28a66191f56b52a9557a27cde10806e77f4eef8d..9013a16f60f9f206697c8b36d9de433a846f6eef 100644 (file)
@@ -25,5 +25,8 @@
 - (BOOL)isSpringboardHandledURL;
 - (BOOL)isWebSafeTelephoneURL;
 - (id)webSafeTelephoneURL;
+#if 1 // iPhoneOS 3.x
+- (id)phobosURL;
+#endif
 @end
 
index 7586b016ab9b0216242db6e8a0d454d86f605eb2..e0c22a5460408f02d9cac1a66fcdaa319432f6d6 100644 (file)
 - (void)_setFirstOtherButtonIndex:(int)fp8;
 - (int)firstOtherButtonIndex;
 - (void)dismissWithClickedButtonIndex:(int)fp8 animated:(BOOL)fp12;
-- (id)initWithTitle:(id)fp8 message:(id)fp12 delegate:(id)fp16 cancelButtonTitle:(id)fp20 otherButtonTitles:(id)fp24;
+- (id)initWithTitle:(id)fp8 message:(id)fp12 delegate:(id)fp16 cancelButtonTitle:(id)fp20 otherButtonTitles:(id)fp24, ...;
 - (id)initWithFrame:(struct CGRect)fp8;
 - (void)show;
 
+#if 1//...
+- (void)setForceHorizontalButtonsLayout:(BOOL)force;
+#endif
+
+#if 1//...
+- (void)setContext:(NSString *)string;
+- (NSString *)context;
+- (void)setNumberOfRows:(int)rows;
+#endif
+
 @end
 
index 60452d617c39ea381be00a73a3f195532cfeaa36..f21dcff99a1f6644689e85fae3d5b47fa13cfac5 100644 (file)
 - (BOOL)_isLaunchedSuspended;
 - (unsigned int)_portForEvent:(struct __GSEvent *)fp8;
 - (void)suspendWithAnimation:(BOOL)fp8;
+#if 1 // iPhoneOS 3.x
+- (void)suspend;
+#endif
 - (BOOL)registerForSystemEvents;
 - (BOOL)rendersLocally;
 - (void)applicationStarted:(struct __GSEvent *)fp8;
 - (void)removeStatusBarImageNamed:(id)fp8;
 - (id)applicationBadge;
 - (void)setApplicationBadge:(id)fp8;
+#if 1 // iPhoneOS 3.x
+- (void)setApplicationBadgeString:(id)fp8;
+#endif
 - (void)removeApplicationBadge;
 - (int)applicationIconBadgeNumber;
 - (void)setApplicationIconBadgeNumber:(int)fp8;
index 01d40a78e7263a9c17fad00eab6a66216fc8511c..ae01b431100f27f63dd50d2b384ee9cc833c76d7 100644 (file)
@@ -4,7 +4,7 @@
  *     class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2007 by Steve Nygard.
  */
 
-#import "CALayer.h"
+#import <QuartzCore/CALayer.h>
 
 @interface UICoverFlowLayer : CALayer
 {
 }
 
 - (id)initWithFrame:(struct CGRect)fp8 numberOfCovers:(unsigned int)fp24;
+- (id)initWithFrame:(struct CGRect)fp8 numberOfCovers:(unsigned int)fp24 numberOfPlaceholders:(unsigned int)fp28;
+
 - (unsigned int)numberOfCovers;
+- (unsigned int)numberOfPlaceholders;
+
 - (void)dealloc;
 - (void)setDelegate:(id)fp8;
+
 - (void)setPlaceholderImage:(void *)fp8;
+- (void)setPlaceholderImage:(void *)fp8 atPlaceholderIndex:(unsigned int)fp12;
+- (void)setPlaceholderIndicesForCovers:(unsigned int *)fp8;
+
 - (void)_prefetch:(unsigned int)fp8 atIndex:(unsigned int)fp12;
 - (void)_requestBatch;
 - (void)_requestImageAtIndex:(int)fp8 quality:(unsigned int)fp12;
index e82d335011ccb42a990f4a14ed1899bd90d53420..2f47d78128bc1921ca7428e72235eb6d0389b7d6 100644 (file)
@@ -16,7 +16,7 @@
 }
 
 + (void)initialize;
-+ (id)currentDevice;
++ (UIDevice *)currentDevice;
 - (id)name;
 - (id)model;
 - (id)localizedModel;
@@ -31,5 +31,7 @@
 - (void)endGeneratingDeviceOrientationNotifications;
 - (BOOL)isGeneratingDeviceOrientationNotifications;
 
+- (BOOL) isWildcat;
+
 @end
 
index 724aaf18d2c14985b1f78df048eee0f0f24ed178..1e14ee10578f0d004e859edc463e050d7f253cbf 100644 (file)
@@ -5,8 +5,9 @@
  */
 
 #import <UIKit/UIView.h>
+#import <UIKit/UIFormPeripheral-Protocol.h>
 
-@class NSMutableDictionary, UIButton, UIImageView, UIInformalDelegate, UITransitionView, UIView<UIFormPeripheral>;
+@class NSMutableDictionary, UIButton, UIImageView, UIInformalDelegate, UITransitionView, UIView/*<UIFormPeripheral>*/;
 
 @interface UIFormAssistant : UIView
 {
index 6e4292f2f1632e63353fda59fffceba78ad43d15..9828f59102b0663d0c729c5ae8b2059018c92944 100644 (file)
@@ -33,6 +33,9 @@ typedef enum {
 + (id)imageWithContentsOfFile:(id)fp8;
 + (id)imageWithData:(id)fp8;
 + (id)imageWithCGImage:(struct CGImage *)fp8;
+#if 1 // iOS 4.x
++ (id)imageWithCGImage:(struct CGImage *)fp8 scale:(CGFloat)scale orientation:(UIImageOrientation)orientation;
+#endif
 - (id)initWithContentsOfFile:(id)fp8;
 - (id)initWithData:(id)fp8;
 - (id)initWithCGImage:(struct CGImage *)fp8;
@@ -50,5 +53,9 @@ typedef enum {
 - (id)stretchableImageWithLeftCapWidth:(int)fp8 topCapHeight:(int)fp12;
 - (id)_automationID;
 
+#if 1 // iOS 4.x?
+- (void) setScale:(CGFloat)scale;
+#endif
+
 @end
 
index 52c548791e1bac37fad994d994161ad6d3a7d1cc..208148c836995b485a149226831024385a66a433 100644 (file)
@@ -4,7 +4,7 @@
  *     class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2007 by Steve Nygard.
  */
 
-#import "NSObject-Protocol.h"
+//#import "NSObject-Protocol.h"
 
 @protocol UIKeyboardLayoutProtocol <NSObject>
 - (void)showKeyboardType:(int)fp8 withAppearance:(int)fp12;
index f711f99688200d676bdeeb770faee1f7f8d26a72..d64aed65a19ed2129e29d5c09f736f018f232a5b 100644 (file)
     UIKeyboardReturnKeyView *m_returnKeyView;
     NSMutableArray *m_extraImageViews;
     struct {
-        struct CGRect;
-        struct CGRect;
-        struct CGRect;
-        struct CGRect;
-        struct CGRect;
-        NSString *;
-        NSString *;
-        unsigned int;
-        unsigned int;
-        unsigned int;
-        id;
+        struct CGRect _field1;
+        struct CGRect _field2;
+        struct CGRect _field3;
+        struct CGRect _field4;
+        struct CGRect _field5;
+        NSString * _field6;
+        NSString * _field7;
+        unsigned int _field8;
+        unsigned int _field9;
+        unsigned int _field10;
+        id _field11;
     } *m_keys;
     unsigned int m_keysCount;
     struct __CFDictionary *m_replacementKeys;
index 2d0bf5b789cbb8b11794fd242c1ff236d821281e..e0f9141db8e572115c3b0f57d68223f555f834da 100644 (file)
@@ -9,6 +9,20 @@
 
 typedef double UIAccelerationValue;
 
+/*XXX:*/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;
+
 /*XXX:*/typedef struct {
     float top;
     float left;
@@ -148,6 +162,15 @@ typedef enum {
     UIKeyboardTypeEmailAddress,
 } UIKeyboardType;
 
+typedef enum {
+    UILineBreakModeWordWrap,
+    UILineBreakModeCharacterWrap,
+    UILineBreakModeClip,
+    UILineBreakModeHeadTruncation,
+    UILineBreakModeTailTruncation,
+    UILineBreakModeMiddleTruncation,
+} UILineBreakMode;
+
 typedef enum {
     UINavigationButtonStyleNormal,
     UINavigationButtonStyleBack,
@@ -203,6 +226,18 @@ typedef enum {
     UITableViewRowAnimationBottom,
 } UITableViewRowAnimation;
 
+typedef enum {
+    UITableViewScrollPositionNone,
+    UITableViewScrollPositionTop,
+    UITableViewScrollPositionMiddle,
+    UITableViewScrollPositionBottom,
+} UITableViewScrollPosition;
+
+typedef enum {
+    UITableViewStylePlain,
+    UITableViewStyleGrouped,
+} UITableViewStyle;
+
 typedef enum {
     UITextAlignmentLeft,
     UITextAlignmentCenter,
@@ -263,14 +298,16 @@ enum {
 #import <UIKit/UIColor.h>
 #import <UIKit/UIColor-UIColorSystemColors.h>
 #import <UIKit/UIControl-UIControlPrivate.h>
+#import <UIKit/UICoverFlowLayer.h>
+#import <UIKit/UIDefaultKeyboardInput.h>
 #import <UIKit/UIDevice.h>
+#import <UIKit/UIEvent.h>
 #import <UIKit/UIFieldEditor.h>
 #import <UIKit/UIFrameAnimation.h>
 #import <UIKit/UIFont.h>
+#import <UIKit/UIFormAssistant.h>
 #import <UIKit/UIHardware.h>
 #import <UIKit/UIFieldEditor.h>
-#import <UIKit/UIKeyboard.h>
-#import <UIKit/UIKeyboardImpl.h>
 #import <UIKit/UIImage.h>
 #import <UIKit/UIImage-UIImageDeprecated.h>
 #import <UIKit/UIImage-UIImageInternal.h>
@@ -279,6 +316,8 @@ enum {
 #import <UIKit/UIImageView.h>
 #import <UIKit/UIKeyboard.h>
 #import <UIKit/UIKeyboardImpl.h>
+#import <UIKit/UIKeyboardLayoutRoman.h>
+#import <UIKit/UIKeyboardSublayout.h>
 #import <UIKit/UIModalView.h>
 #import <UIKit/UIModalView-Private.h>
 #import <UIKit/UINavigationBar.h>
@@ -306,6 +345,8 @@ enum {
 #import <UIKit/UITableColumn.h>
 #import <UIKit/UITableView.h>
 #import <UIKit/UITableViewCell.h>
+#import <UIKit/UITableViewCell-UITableViewCellInternal.h>
+#import <UIKit/UITableViewCell-UITableViewCellStatic.h>
 #import <UIKit/UITableViewController.h>
 #import <UIKit/UITableViewDelegate-Protocol.h>
 #import <UIKit/UITextField.h>
@@ -313,6 +354,9 @@ enum {
 #import <UIKit/UITextLabel.h>
 #import <UIKit/UITextView.h>
 #import <UIKit/UIThreePartButton.h>
+#import <UIKit/UITabBar.h>
+#import <UIKit/UITabBar-UITabBarPrivate.h>
+#import <UIKit/UITabBarItem.h>
 #import <UIKit/UIToolbar.h>
 #import <UIKit/UIToolbar-UIButtonBarPrivate.h>
 #import <UIKit/UITouch.h>
@@ -327,6 +371,7 @@ enum {
 #import <UIKit/UIViewController.h>
 #import <UIKit/UIWebDocumentView.h>
 #import <UIKit/UIWebDocumentView-Forms.h>
+#import <UIKit/UIWebDocumentView-Interaction.h>
 #import <UIKit/UIWebDocumentView-Messaging.h>
 #import <UIKit/UIWebView.h>
 #import <UIKit/UIWindow.h>
@@ -334,6 +379,7 @@ enum {
 
 #import <UIKit/NSIndexPath-UITableView.h>
 
+#import <UIKit/NSString-UIKBExtras.h>
 #import <UIKit/NSString-UIStringDrawing.h>
 #import <UIKit/NSString-UIStringDrawingDeprecated.h>
 
@@ -356,6 +402,13 @@ NSData *UIImagePNGRepresentation(UIImage *image);
 CGContextRef UIGraphicsGetCurrentContext(void);
 UIWindow *UIWindowFindWithWindowRef(GSWindowRef window);
 
+NSString *UIFormattedPhoneNumberFromString(NSString *string);
+NSString *UIUnformattedPhoneNumberFromString(NSString *string);
+
+void UIRectFill(CGRect rect);
+void UISetColor(CGColorRef color);
+void UISetSystemColor(unsigned color);
+
 GSFontRef UISystemFontCreate(unsigned size, bool bold);
 GSFontRef UISystemFontForSize(unsigned size);
 GSFontRef UISystemFontBoldForSize(unsigned size);
@@ -364,6 +417,8 @@ void UIApplicationUseLegacyEvents(BOOL use);
 void UIKeyboardEnableAutomaticAppearance(void);
 void UIKeyboardDisableAutomaticAppearance(void);
 
+BOOL UIKeyboardInputModeUsesKBStar(NSString *);
+
 extern NSString * const kUIButtonBarButtonAction;
 extern NSString * const kUIButtonBarButtonInfo;
 extern NSString * const kUIButtonBarButtonInfoOffset;
index e5fbea5e9b9990f00d0a1a0e5b638f594e403a32..c0e374b18d8139b526da948baee471ead90d1afe 100644 (file)
@@ -56,6 +56,9 @@
 - (int)state;
 - (void)drawRect:(struct CGRect)fp8;
 - (void)setAccessoryView:(id)fp8;
+#if 1 // iPhoneOS 3.x
+- (void)setAccessoryView:(id)fp8 animate:(BOOL)fp12;
+#endif
 - (void)setAccessoryView:(id)fp8 animate:(BOOL)fp12 removeOnPop:(BOOL)fp16;
 - (void)pushNavigationItem:(id)fp8 animated:(BOOL)fp12;
 - (void)pushNavigationItem:(id)fp8;
index 78c1fed04558385bcbc5fd4cca960bb0b47775e4..d2f0be6cc5f49b72b29bf867df2ca27d68bf4ef1 100644 (file)
@@ -16,6 +16,9 @@
 - (id)init;
 - (struct CGRect)applicationFrame;
 - (struct CGRect)bounds;
+#if 1 // iOS 4.x
+- (float) scale;
+#endif
 
 @end
 
index 368821189594861868531614ca2274ef059dc90f..38c438b795ffc298deb57b1b92b3da050b2018d0 100644 (file)
@@ -11,7 +11,7 @@
 @interface UITabBar : UIView
 {
     UIView *_customizeView;
-    id <UITabBarDelegate> _delegate;
+    id /*XXX:<UITabBarDelegate>*/ _delegate;
     NSArray *_items;
     UITabBarItem *_selectedItem;
     NSArray *_customizationItems;
index 4d2f6e6dacc9a2759e054090b984202e4426547e..8233f7f24b4bdcf1db4332bac875fe772014fcb5 100644 (file)
@@ -12,6 +12,9 @@
 - (void)_setShouldIndentWhileEditing:(BOOL)fp8;
 - (void)_setDrawsTopSeparator:(BOOL)fp8;
 - (void)_drawSeparatorInRect:(struct CGRect)fp8;
+#if 1 // iPhoneOS 1.x
+- (void)_drawContentInRect:(struct CGRect)fp8 selected:(BOOL)fp24;
+#endif
 - (void)_drawBackgroundInRect:(struct CGRect)fp8 withFade:(float)fp24;
 - (id)_removeControl;
 - (void)_grabberBeganReorder:(id)fp8;
index 4cb7ddfc2e8df2f985960d93e6abf198cbcc05be..f019525d81a020d75850a956eda5f580d89b25b6 100644 (file)
 - (int)selectionStyle;
 - (void)setSelected:(BOOL)fp8;
 - (BOOL)isSelected;
+#if 1 // iPhoneOS 3.x
+- (BOOL)_isHighlighted;
+- (BOOL)isHighlighted;
+- (float)selectionPercent;
+#endif
 - (void)_deselectAnimationFinished;
 - (void)setSelected:(BOOL)fp8 animated:(BOOL)fp12;
 - (void)setEditingStyle:(int)fp8;
 - (void)setAccessoryAction:(SEL)fp8;
 - (SEL)accessoryAction;
 - (void)drawRect:(struct CGRect)fp8;
+#if 1 // iPhoneOS 3.x
+- (void)setDrawingEnabled:(BOOL)fp8;
+#endif
 - (void)_setIsAncestorOfFirstResponder:(BOOL)fp8;
 - (void)removeFromSuperview;
 - (void)layoutSubviews;
index bd2f28174648518a909ed41e883b20509639b23a..555e45196f05fc1e9ce356614dca749cb19fe75b 100644 (file)
@@ -81,6 +81,9 @@
 - (void)mouseDown:(struct __GSEvent *)fp8;
 - (void)mouseDragged:(struct __GSEvent *)fp8;
 - (void)mouseUp:(struct __GSEvent *)fp8;
+#if 1 // iPhoneOS 3.x
+- (void)insertText:(id)fp8;
+#endif
 - (void)scrollRectToVisible:(struct CGRect)fp8 animated:(BOOL)fp24;
 - (void)webViewDidChange:(id)fp8;
 - (void)performBecomeEditableTasks;
index 83457b90388a400e8aea6b9218450df0b34653a8..9c8135f773e2a3ea7d87c3cd5badced6dc034079 100644 (file)
@@ -43,6 +43,9 @@
 - (void)setRotationDegrees:(float)fp8 duration:(double)fp12;
 - (float)rotationDegrees;
 - (void)setZoomScale:(float)fp8 duration:(double)fp12;
+#if 1 // iPhoneOS 3.x
+- (void)_setZoomScale:(float)fp8 duration:(double)fp12;
+#endif
 - (float)zoomScale;
 - (int)stateForGestureType:(int)fp8;
 - (void)_resetZoomingWithEvent:(struct __GSEvent *)fp8;
index dcec98ef3cbc6d0599d256fa32464151dd1af9d6..a2fb98cd8f9db9880821ce7cc077e33ce72b4fdf 100644 (file)
 - (id)_doubleTapSpeedFromDefaults;
 - (void)_restoreViewportSettingsWithSize:(struct CGSize)fp8;
 - (id)initWithFrame:(struct CGRect)fp8;
+#if 1 // iPhoneOS 3.x
+- (void)enableReachability;
+#endif
 - (void)dealloc;
 - (void)release;
 - (void)stopLoading:(id)fp8;
 - (void)setUserStyleSheet:(id)fp8;
 - (void)setDetectsPhoneNumbers:(BOOL)fp8;
 - (BOOL)detectsPhoneNumbers;
+#if 1 // iPhoneOS 3.x
+- (void)setDataDetectorTypes:(unsigned int)fp8;
+- (unsigned int)dataDetectorTypes;
+#endif
 - (void)setRespectsBackgroundColorAlpha:(BOOL)fp8;
 - (BOOL)respectsBackgroundColorAlpha;
 - (void)setFrame:(struct CGRect)fp8;
 - (void)forwardInvocation:(id)fp8;
 - (id)methodSignatureForSelector:(SEL)fp8;
 - (void)takeTraitsFrom:(id)fp8;
+#if 1 // iPhoneOS 3.x
+- (void)useSelectionAssistantWithMode:(int)fp8;
+#endif
+
+#if 1 // iPhoneOS 3.2
+- (void)webView:(id)view didFailLoadWithError:(id)error forFrame:(id)frame;
+- (void)webViewDidLayout:(id)webView;
+- (void)webView:(id)view didFirstVisuallyNonEmptyLayoutInFrame:(id)frame;
+- (void)webView:(id)view attachRootLayer:(id)layer;
+- (void)webView:(id)view willAddPlugInView:(id)view2;
+- (void)webViewDidPreventDefaultForEvent:(id)webView;
+#endif
+
+#if 1 // UIWebBrowserView
+- (void)webView:(id)view willCloseFrame:(id)frame;
+- (void)webView:(id)view didFinishDocumentLoadForFrame:(id)frame;
+- (void)webView:(id)view didFirstLayoutInFrame:(id)frame;
+- (void)webViewFormEditedStatusHasChanged:(id)changed;
+- (void)webView:(id)view formStateDidFocusNode:(id)formState;
+- (void)webView:(id)view formStateDidBlurNode:(id)formState;
+#endif
 
 @end