Toggle navigation
Toggle navigation
This project
Loading...
Sign in
iOS
/
asi-http-request
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
Alan Rogers
2010-09-30 10:22:49 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Committed by
Ben Copsey
2010-10-31 19:58:18 +0800
Commit
917dbe9d2f21f51ac858bfa4895fc9e19087b63a
917dbe9d
1 parent
35ea5920
Fixing some compiler warnings
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
Classes/ASIAuthenticationDialog.m
External/Reachability/Reachability.m
Classes/ASIAuthenticationDialog.m
View file @
917dbe9
...
...
@@ -153,7 +153,7 @@ static const NSUInteger kDomainSection = 1;
// Reset the transform so we can set the size
self
.
view
.
layer
.
affineTransform
=
CGAffineTransformIdentity
;
self
.
view
.
frame
=
(
CGRect
){
0
,
0
,
f
.
size
};
self
.
view
.
frame
=
(
CGRect
){
{
0
,
0
},
f
.
size
};
// Revert to the previous transform for correct animation
self
.
view
.
layer
.
affineTransform
=
previousTransform
;
...
...
@@ -165,7 +165,7 @@ static const NSUInteger kDomainSection = 1;
self
.
view
.
layer
.
affineTransform
=
newTransform
;
// Fix the view origin
self
.
view
.
frame
=
(
CGRect
){
f
.
origin
.
x
,
f
.
origin
.
y
,
self
.
view
.
frame
.
size
};
self
.
view
.
frame
=
(
CGRect
){
{
f
.
origin
.
x
,
f
.
origin
.
y
}
,
self
.
view
.
frame
.
size
};
[
UIView
commitAnimations
];
}
...
...
External/Reachability/Reachability.m
View file @
917dbe9
...
...
@@ -214,12 +214,12 @@ static void logNetworkStatus_(const char *name, int line, NetworkStatus status)
}
// dealloc
-
(
Reachability
*
)
initWithReachabilityRef
:
(
SCNetworkReachabilityRef
)
ref
{
if
(
self
=
[
super
init
])
{
-
(
Reachability
*
)
initWithReachabilityRef
:
(
SCNetworkReachabilityRef
)
ref
{
self
=
[
super
init
];
if
(
self
!=
nil
)
{
reachabilityRef
=
ref
;
}
return
self
;
...
...
Please
register
or
login
to post a comment