Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add (and/or stub out) many missing features and fix several bugs. #100

Open
wants to merge 40 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
f387ad2
Added podspec
michaelmelanson Aug 29, 2013
6401494
Use [UIImage imageNamed:] to load images.
michaelmelanson Aug 29, 2013
aeaf1d7
Set the preferences to enable offline cache and developer extras.
michaelmelanson Aug 29, 2013
b3c0078
Hack to get rid of 'drifting' caused by rounding bias in UIView autor…
michaelmelanson Sep 10, 2013
f3cd5c5
Use floats for autoresizing and round to integers for the CGLayer's f…
michaelmelanson Sep 10, 2013
bb827ea
Use floats for autoresizing and round to integers for the CGLayer's f…
michaelmelanson Sep 10, 2013
65aa344
Eliminate rounding using floorf from all autoresizing calculations.
michaelmelanson Sep 10, 2013
83de6d1
Merge branch 'issue/82'
michaelmelanson Sep 10, 2013
67a7bfe
Don’t flip geometry in UIViewAdapters.
michaelmelanson Nov 12, 2013
6498cad
Add the ability to change a UIActivityIndicatorView’s colour.
michaelmelanson Nov 12, 2013
5abeb52
Use [self class] instead of isa.
michaelmelanson Nov 12, 2013
ef2dbc9
Stub in several features that don’t make sense on OS X.
michaelmelanson Nov 12, 2013
91db1ac
Make [UIImage imageNamed:] support TIFF files.
michaelmelanson Nov 12, 2013
4cd5639
Implement drawing of UIProgressView controls.
michaelmelanson Nov 12, 2013
07e8fc5
UITextLayer: Fix the alignment of the text to the clipping rect.
michaelmelanson Nov 12, 2013
220121a
Fix a warning: Xcode thinks [anId window] returns an (NSWindow *).
michaelmelanson Nov 12, 2013
90ac5b4
Make UITextField update its text layer’s visibility.
michaelmelanson Nov 12, 2013
bd8b3d8
Hack: Always call the subview’s viewWillAppear, viewWillDisappear, etc.
michaelmelanson Nov 12, 2013
f022554
Make -[UIScreen mirrorredScreen] return a UIScreen * instead of BOOL.
michaelmelanson Nov 14, 2013
8ddbcfe
Add UIViewController {present/dismiss}ViewController… methods.
michaelmelanson Nov 14, 2013
bb7754e
Make NSIndexPath+UITableView use signed integers.
michaelmelanson Nov 15, 2013
36798e3
Make UITextField display placeholders.
michaelmelanson Nov 21, 2013
5e5388f
Fix alignment of text and placeholders in text fields to match iOS.
michaelmelanson Nov 21, 2013
d9a47e7
Keep persistent UIWebView local storage database.
michaelmelanson Nov 21, 2013
cb12404
Add UIAccessibilityIsGuidedAccessEnabled
Nov 22, 2013
8c68097
Make UIDevice report proper battery/power info
michaelmelanson Mar 19, 2014
42ef8fb
Add support for tab navigation mimicking the iOS Simulator behaviour.
michaelmelanson Mar 24, 2014
b70eb96
Adjust the positioning of the red spellcheck error line.
michaelmelanson Mar 24, 2014
326d778
Add support for disabling spellcheck via setAutocorrectionType.
michaelmelanson Mar 24, 2014
ebce2bb
Move UITextField+Private.h into a better location.
michaelmelanson Mar 25, 2014
4ed34a7
HACK: Disable setting the mouse cursor requested by -[UIView mouseCur…
michaelmelanson Apr 15, 2014
45490ab
Show context menu on UIWebView controls in DEBUG builds.
michaelmelanson May 13, 2014
ed5eebc
Add property to UIWebView to control whether to show context menu.
michaelmelanson May 13, 2014
297592d
add topViewController property (maps to modalViewController)
smistry-toushay Aug 19, 2014
d06029f
rename topViewController property to presentedViewController
smistry-toushay Aug 19, 2014
b468252
Replace UITextAlignment with NSTextAlignment.
michaelmelanson Feb 9, 2015
4c7d637
Fix up a bug in splash screen positioning.
michaelmelanson Feb 9, 2015
d52553a
Add stub property 'translatesAutoresizingMaskIntoConstraints'.
michaelmelanson Feb 9, 2015
cbb2d15
Fire viewWillAppear delegate method asynchronously
michaelmelanson Feb 9, 2015
018bbca
Change containerView from id to UIView*
Apr 14, 2015
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Hack: Always call the subview’s viewWillAppear, viewWillDisappear, etc.
This disables the [UIView _needsDidAppearOrDisappear] by always making
it equal YES. To be honest, I don’t understand what its purpose is, but
this appears to cause no side effects.
michaelmelanson committed Nov 12, 2013
commit bd8b3d8808a6190dc2857186d493bde9800822fa
2 changes: 1 addition & 1 deletion UIKit/Classes/UIView.m
Original file line number Diff line number Diff line change
@@ -230,7 +230,7 @@ - (void)addSubview:(UIView *)subview
UIWindow *oldWindow = subview.window;
UIWindow *newWindow = self.window;

subview->_needsDidAppearOrDisappear = [self _subviewControllersNeedAppearAndDisappear];
subview->_needsDidAppearOrDisappear = YES;//[self _subviewControllersNeedAppearAndDisappear];

if ([subview _viewController] && subview->_needsDidAppearOrDisappear) {
[[subview _viewController] viewWillAppear:NO];