Permalink
Browse files

Merge pull request #4 from connormontgomery/master

Fix xcode errors & simulator UI issue.
  • Loading branch information...
2 parents 94ea2f9 + f7661a2 commit 988cc194a956871bd41fc2f8342c016416108741 @case case committed Apr 22, 2012
View
3 Additions/Reachability.h
@@ -48,6 +48,7 @@
#import <Foundation/Foundation.h>
#import <SystemConfiguration/SystemConfiguration.h>
+#import <netinet/in.h>
typedef enum {
NotReachable = 0,
@@ -66,7 +67,7 @@ typedef enum {
+ (Reachability*) reachabilityWithHostName: (NSString*) hostName;
//reachabilityWithAddress- Use to check the reachability of a particular IP address.
-+ (Reachability*) reachabilityWithAddress: (const struct sockaddr_in*) hostAddress;
++ (Reachability*) reachabilityWithAddress: (struct sockaddr_in*) hostAddress;
//reachabilityForInternetConnection- checks whether the default route is available.
// Should be used by applications that do not connect to a particular host
View
2 Additions/Reachability.m
@@ -145,7 +145,7 @@ + (Reachability*) reachabilityWithHostName: (NSString*) hostName;
return retVal;
}
-+ (Reachability*) reachabilityWithAddress: (const struct sockaddr_in*) hostAddress;
++ (Reachability*) reachabilityWithAddress: (struct sockaddr_in*) hostAddress;
{
SCNetworkReachabilityRef reachability = SCNetworkReachabilityCreateWithAddress(kCFAllocatorDefault, (const struct sockaddr*)hostAddress);
Reachability* retVal = NULL;
View
4 Classes/Result.h
@@ -14,10 +14,10 @@
}
@property (retain) NSString *domainName;
-@property (retain) NSString *availability;
+@property (nonatomic, retain) NSString *availability;
@property (retain) NSString *path;
@property (retain) NSString *registerURL;
-@property (retain) NSMutableArray *registrars;
+@property (nonatomic, retain) NSMutableArray *registrars;
@property int imageType;
@property (assign) ResultCell *resultCell;
View
2 Classes/ResultCell.h
@@ -6,7 +6,7 @@
ResultContentView *mainContentView;
}
-@property (retain) Result *result;
+@property (nonatomic, retain) Result *result;
@property (readonly) ResultContentView *mainContentView;
@end
View
4 Classes/ResultViewController.m
@@ -85,10 +85,10 @@ - (void)viewDidUnload; {
- (CGFloat)tableView:(UITableView *)tableView heightForHeaderInSection:(NSInteger)section; {
if (section == kRegisterSection) {
- return 90.0;
+ return 20.0;
}
if (section == kToolSection || section == kTLDSection) {
- return 30;
+ return 20;
}
return 0;
}
View
19 Domainr.xcodeproj/project.pbxproj
@@ -3,7 +3,7 @@
archiveVersion = 1;
classes = {
};
- objectVersion = 45;
+ objectVersion = 46;
objects = {
/* Begin PBXBuildFile section */
@@ -382,8 +382,11 @@
/* Begin PBXProject section */
29B97313FDCFA39411CA2CEA /* Project object */ = {
isa = PBXProject;
+ attributes = {
+ LastUpgradeCheck = 0430;
+ };
buildConfigurationList = C01FCF4E08A954540054247B /* Build configuration list for PBXProject "Domainr" */;
- compatibilityVersion = "Xcode 3.1";
+ compatibilityVersion = "Xcode 3.2";
developmentRegion = English;
hasScannedForEncodings = 1;
knownRegions = (
@@ -514,9 +517,8 @@
GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
INFOPLIST_FILE = Info.plist;
- PREBINDING = NO;
"PROVISIONING_PROFILE[sdk=iphoneos*]" = "891379EE-B730-45C1-943B-577DD4DC63E1";
- SDKROOT = iphoneos3.0;
+ SDKROOT = iphoneos;
};
name = AdHoc;
};
@@ -545,9 +547,8 @@
GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
INFOPLIST_FILE = Info.plist;
- PREBINDING = NO;
"PROVISIONING_PROFILE[sdk=iphoneos*]" = "891379EE-B730-45C1-943B-577DD4DC63E1";
- SDKROOT = iphoneos3.0;
+ SDKROOT = iphoneos;
};
name = Distribution;
};
@@ -580,10 +581,9 @@
GCC_WARN_UNUSED_VARIABLE = YES;
INFOPLIST_FILE = Info.plist;
ONLY_ACTIVE_ARCH = YES;
- PREBINDING = NO;
PRECOMPS_INCLUDE_HEADERS_FROM_BUILT_PRODUCTS_DIR = YES;
"PROVISIONING_PROFILE[sdk=iphoneos*]" = "A7F9377B-20CF-438B-A039-B82D5FD71D19";
- SDKROOT = iphoneos3.0;
+ SDKROOT = iphoneos;
};
name = Debug;
};
@@ -596,9 +596,8 @@
GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
INFOPLIST_FILE = Info.plist;
- PREBINDING = NO;
"PROVISIONING_PROFILE[sdk=iphoneos*]" = "891379EE-B730-45C1-943B-577DD4DC63E1";
- SDKROOT = iphoneos3.0;
+ SDKROOT = iphoneos;
};
name = Release;
};

0 comments on commit 988cc19

Please sign in to comment.