Permalink
Browse files

Fixes for compiler warnings

  • Loading branch information...
1 parent c643754 commit e072dec1b12ea6ca2449f8cf0832adde5986e49e Deepwinter committed May 25, 2012
@@ -53,7 +53,6 @@
A6D3AC9314BBC85F005BB81D /* MapIconT.png in Resources */ = {isa = PBXBuildFile; fileRef = A6D3AC8F14BBC85F005BB81D /* MapIconT.png */; };
A6D3AC9414BBC85F005BB81D /* swoopBarMiddle.png in Resources */ = {isa = PBXBuildFile; fileRef = A6D3AC9014BBC85F005BB81D /* swoopBarMiddle.png */; };
A6EFC47214C4E1DE0014ACA9 /* infoBack.png in Resources */ = {isa = PBXBuildFile; fileRef = A6EFC47114C4E1DE0014ACA9 /* infoBack.png */; };
- A6FF927815701A7D006A03A9 /* galleryButton.png in Resources */ = {isa = PBXBuildFile; fileRef = A6FF927715701A7D006A03A9 /* galleryButton.png */; };
F414D9E91549F325008A38F5 /* UIImage+Alpha.m in Sources */ = {isa = PBXBuildFile; fileRef = F414D9B21549F325008A38F5 /* UIImage+Alpha.m */; };
F414D9EC1549F325008A38F5 /* UIImage+Resize.m in Sources */ = {isa = PBXBuildFile; fileRef = F414D9B41549F325008A38F5 /* UIImage+Resize.m */; };
F414D9EF1549F325008A38F5 /* UIImage+RoundedCorner.m in Sources */ = {isa = PBXBuildFile; fileRef = F414D9B61549F325008A38F5 /* UIImage+RoundedCorner.m */; };
@@ -91,7 +90,6 @@
F49E28D6154F1E7B00AB8461 /* Loading.png in Resources */ = {isa = PBXBuildFile; fileRef = F49E28CD154F1E7B00AB8461 /* Loading.png */; };
F49E28D7154F1E7B00AB8461 /* Loading@x2.png in Resources */ = {isa = PBXBuildFile; fileRef = F49E28CE154F1E7B00AB8461 /* Loading@x2.png */; };
F49E28D8154F1E7B00AB8461 /* RHSettings_Rhus.m in Sources */ = {isa = PBXBuildFile; fileRef = F49E28CF154F1E7B00AB8461 /* RHSettings_Rhus.m */; };
- F49E28D9154F1E7B00AB8461 /* Rhus-Info.plist in Resources */ = {isa = PBXBuildFile; fileRef = F49E28D1154F1E7B00AB8461 /* Rhus-Info.plist */; };
F4AA3F4114DA2F4800ED3CCE /* MapKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F4AA3F4014DA2F4800ED3CCE /* MapKit.framework */; };
F4AA3F4514DA2F5100ED3CCE /* CouchCocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F4AA3F4314DA2F5100ED3CCE /* CouchCocoa.framework */; };
F4AA3F4D14DA5B3E00ED3CCE /* Security.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F4AA3F4C14DA5B3E00ED3CCE /* Security.framework */; };
@@ -633,8 +631,6 @@
F49E28D5154F1E7B00AB8461 /* Iconx2.png in Resources */,
F49E28D6154F1E7B00AB8461 /* Loading.png in Resources */,
F49E28D7154F1E7B00AB8461 /* Loading@x2.png in Resources */,
- F49E28D9154F1E7B00AB8461 /* Rhus-Info.plist in Resources */,
- A6FF927815701A7D006A03A9 /* galleryButton.png in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@@ -171,6 +171,8 @@ - (CGAffineTransform)transformForOrientation:(CGSize)newSize {
transform = CGAffineTransformTranslate(transform, 0, newSize.height);
transform = CGAffineTransformRotate(transform, -M_PI_2);
break;
+ default:
+ break;
}
switch (self.imageOrientation) {
@@ -185,6 +187,8 @@ - (CGAffineTransform)transformForOrientation:(CGSize)newSize {
transform = CGAffineTransformTranslate(transform, newSize.height, 0);
transform = CGAffineTransformScale(transform, -1, 1);
break;
+ default:
+ break;
}
return transform;
@@ -404,6 +404,7 @@ + (NSArray *) getDocumentsInProject: (NSString *) project {
+ (NSArray *) getDocumentsInProject: (NSString *) project since: (NSString*) date {
//TODO: Implement
+ return [NSArray array];
}
@@ -22,10 +22,7 @@ @implementation AppDelegate
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
-
- NSDictionary * dict = [NSDictionary dictionary];
- //NSLog(@"wact %@",(NSString *)[dict objectForKey:@"hey"]);
-
+
[self initializeAppDelegateAndLaunch];
return true;
@@ -283,6 +283,7 @@ - (IBAction) didTouchSendButton:(id)sender{
//i.e. build a new RHDocument, then call toCouchJson on it or something like that, then send to couchdb.
//Crop Thumbnail
+ /*
CGRect cropBounds;
cropBounds.size.width = 320;
cropBounds.size.height = 320;
@@ -294,6 +295,7 @@ - (IBAction) didTouchSendButton:(id)sender{
cropBounds.origin.y = 80;
}
UIImage * croppedImage = [currentImage croppedImage: cropBounds];
+ */
CGRect thumbRect;
thumbRect.origin.x = 0;
@@ -52,9 +52,9 @@
@property(nonatomic, strong) UIView * overlayView;
@property(nonatomic, strong) ProjectsTableViewController * projectsViewController;
-@property(nonatomic, strong) NSMutableArray * nextDocumentSet;
+//@property(nonatomic, strong) NSMutableArray * nextDocumentSet;
@property(nonatomic, strong) NSMutableArray * activeDocuments;
-@property(nonatomic, strong) NSMutableArray * prevDocumentSet;
+//@property(nonatomic, strong) NSMutableArray * prevDocumentSet;
@property(nonatomic) NSInteger currentDetailIndex;
@property(nonatomic) NSInteger currentGalleryPage;
@property(nonatomic) BOOL userDataOnly;
@@ -76,14 +76,12 @@ - (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interface
- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView
{
-#warning Potentially incomplete method implementation.
// Return the number of sections.
return 1;
}
- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section
{
-#warning Incomplete method implementation.
// Return the number of rows in the section.
return [projects count];
}
@@ -48,7 +48,7 @@
@property (strong, nonatomic) UIImage * bottomBackground;
@property (nonatomic) BOOL tabsHidden;
@property (nonatomic) BOOL manualAppearCallbacks;
-@property (nonatomic) BOOL firstRun;
+//@property (nonatomic) BOOL firstRun;
@property (nonatomic) NSInteger currentTab;

0 comments on commit e072dec

Please sign in to comment.