Skip to content

Commit

Permalink
Removed EGOCache and EGOImageLoading classes and repalced with git su…
Browse files Browse the repository at this point in the history
…bmodules. Restructured directory structure to avoid clutter. Refactored EGOPhotoController class to EGOPhotoViewController
  • Loading branch information
shnhrrsn committed Jan 19, 2010
1 parent 2eb528f commit 7e35e04
Show file tree
Hide file tree
Showing 38 changed files with 156 additions and 881 deletions.
6 changes: 6 additions & 0 deletions .gitmodules
@@ -0,0 +1,6 @@
[submodule "Library/EGOCache"]
path = Library/EGOCache
url = git@github.com:enormego/EGOCache.git
[submodule "Library/EGOImageLoading"]
path = Library/EGOImageLoading
url = git@github.com:enormego/EGOImageLoading.git
File renamed without changes.
File renamed without changes.
File renamed without changes.
Expand Up @@ -7,7 +7,7 @@
// //


#import "RootViewController.h" #import "RootViewController.h"
#import "EGOPhotoController.h" #import "EGOPhotoViewController.h"
#import "EGOPhotoSource.h" #import "EGOPhotoSource.h"
#import "EGOPhoto.h" #import "EGOPhoto.h"


Expand Down Expand Up @@ -111,7 +111,7 @@ - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath
EGOPhoto *photo4 = [[EGOPhoto alloc] initWithImageURL:[NSURL URLWithString:@"http://qkpic.com/13493"] name:@"title title title"]; EGOPhoto *photo4 = [[EGOPhoto alloc] initWithImageURL:[NSURL URLWithString:@"http://qkpic.com/13493"] name:@"title title title"];
EGOPhotoSource *source = [[EGOPhotoSource alloc] initWithEGOPhotos:[NSArray arrayWithObjects:photo, photo2, photo3, photo4, photo, photo2, photo3, photo4, nil]]; EGOPhotoSource *source = [[EGOPhotoSource alloc] initWithEGOPhotos:[NSArray arrayWithObjects:photo, photo2, photo3, photo4, photo, photo2, photo3, photo4, nil]];


EGOPhotoController *photoController = [[EGOPhotoController alloc] initWithPhotoSource:source]; EGOPhotoViewController *photoController = [[EGOPhotoViewController alloc] initWithPhotoSource:source];
[self.navigationController pushViewController:photoController animated:YES]; [self.navigationController pushViewController:photoController animated:YES];
[photoController release]; [photoController release];
[photo release]; [photo release];
Expand All @@ -124,7 +124,7 @@ - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath


EGOPhoto *photo = [[EGOPhoto alloc] initWithImageURL:[NSURL URLWithString:@"https://s3.amazonaws.com/twitter_production/profile_images/425948730/DF-Star-Logo.png"]]; EGOPhoto *photo = [[EGOPhoto alloc] initWithImageURL:[NSURL URLWithString:@"https://s3.amazonaws.com/twitter_production/profile_images/425948730/DF-Star-Logo.png"]];
EGOPhotoSource *source = [[EGOPhotoSource alloc] initWithEGOPhotos:[NSArray arrayWithObjects:photo, nil]]; EGOPhotoSource *source = [[EGOPhotoSource alloc] initWithEGOPhotos:[NSArray arrayWithObjects:photo, nil]];
EGOPhotoController *photoController = [[EGOPhotoController alloc] initWithPhotoSource:source]; EGOPhotoViewController *photoController = [[EGOPhotoViewController alloc] initWithPhotoSource:source];
[self.navigationController pushViewController:photoController animated:YES]; [self.navigationController pushViewController:photoController animated:YES];
[photoController release]; [photoController release];
[photo release]; [photo release];
Expand Down
File renamed without changes.
File renamed without changes.

Large diffs are not rendered by default.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
70 changes: 0 additions & 70 deletions EGOCache.h

This file was deleted.

0 comments on commit 7e35e04

Please sign in to comment.