Permalink
Browse files

Version 2.6.0

  • Loading branch information...
1 parent db84c9d commit 5820ca00b5886db36e6be7ad7dda1f2a2b626481 @vfr committed Sep 24, 2012
Showing with 1,170 additions and 2,054 deletions.
  1. +1 −12 Classes/ReaderAppDelegate.h
  2. +8 −53 Classes/ReaderAppDelegate.m
  3. +2 −11 Classes/ReaderBookDelegate.h
  4. +11 −56 Classes/ReaderBookDelegate.m
  5. +2 −7 Classes/ReaderDemoController.h
  6. +12 −70 Classes/ReaderDemoController.m
  7. BIN Graphics/Default-568h@2x.png
  8. +71 −0 HISTORY.md
  9. 0 LICENSE → LICENSE.md
  10. +61 −134 README → README.md
  11. +2 −2 Reader-Info.plist
  12. +1 −1 Reader-Prefix.pch
  13. +26 −9 Reader.xcodeproj/project.pbxproj
  14. BIN Resources/Reader.pdf
  15. +1 −1 Sources/CGPDFDocument.h
  16. +3 −9 Sources/CGPDFDocument.m
  17. +2 −1 Sources/ReaderConstants.h
  18. +2 −2 Sources/ReaderConstants.m
  19. +3 −26 Sources/ReaderContentPage.h
  20. +26 −90 Sources/ReaderContentPage.m
  21. +1 −4 Sources/ReaderContentTile.h
  22. +3 −26 Sources/ReaderContentTile.m
  23. +3 −17 Sources/ReaderContentView.h
  24. +40 −69 Sources/ReaderContentView.m
  25. +13 −36 Sources/ReaderDocument.h
  26. +54 −125 Sources/ReaderDocument.m
  27. +47 −0 Sources/ReaderDocumentOutline.h
  28. +467 −0 Sources/ReaderDocumentOutline.m
  29. +2 −31 Sources/ReaderMainPagebar.h
  30. +31 −187 Sources/ReaderMainPagebar.m
  31. +2 −10 Sources/ReaderMainToolbar.h
  32. +19 −71 Sources/ReaderMainToolbar.m
  33. +2 −7 Sources/ReaderThumbCache.h
  34. +5 −77 Sources/ReaderThumbCache.m
  35. +1 −6 Sources/ReaderThumbFetch.h
  36. +7 −34 Sources/ReaderThumbFetch.m
  37. +3 −15 Sources/ReaderThumbQueue.h
  38. +9 −57 Sources/ReaderThumbQueue.m
  39. +1 −6 Sources/ReaderThumbRender.h
  40. +10 −35 Sources/ReaderThumbRender.m
  41. +8 −31 Sources/ReaderThumbRequest.h
  42. +24 −32 Sources/ReaderThumbRequest.m
  43. +2 −8 Sources/ReaderThumbView.h
  44. +10 −35 Sources/ReaderThumbView.m
  45. +3 −22 Sources/ReaderThumbsView.h
  46. +33 −102 Sources/ReaderThumbsView.m
  47. +3 −34 Sources/ReaderViewController.h
  48. +55 −188 Sources/ReaderViewController.m
  49. +2 −6 Sources/ThumbsMainToolbar.h
  50. +8 −33 Sources/ThumbsMainToolbar.m
  51. +4 −37 Sources/ThumbsViewController.h
  52. +53 −174 Sources/ThumbsViewController.m
  53. +1 −7 Sources/UIXToolbarView.h
  54. +5 −43 Sources/UIXToolbarView.m
  55. +5 −5 main.m
@@ -1,6 +1,6 @@
//
// ReaderAppDelegate.h
-// Reader v2.5.4
+// Reader v2.6.0
//
// Created by Julius Oklamcak on 2011-07-01.
// Copyright © 2011-2012 Julius Oklamcak. All rights reserved.
@@ -25,17 +25,6 @@
#import <UIKit/UIKit.h>
-#import "ReaderDemoController.h"
-
@interface ReaderAppDelegate : NSObject <UIApplicationDelegate>
-{
-@private // Instance variables
-
- UIWindow *mainWindow; // Main App Window
-
- UINavigationController *navigationController;
-
- ReaderDemoController *readerDemoController;
-}
@end
@@ -1,6 +1,6 @@
//
// ReaderAppDelegate.m
-// Reader v2.5.4
+// Reader v2.6.0
//
// Created by Julius Oklamcak on 2011-07-01.
// Copyright © 2011-2012 Julius Oklamcak. All rights reserved.
@@ -24,33 +24,27 @@
//
#import "ReaderAppDelegate.h"
+#import "ReaderDemoController.h"
@implementation ReaderAppDelegate
+{
+ UIWindow *mainWindow; // Main App Window
-//#pragma mark Properties
+ UINavigationController *navigationController;
-//@synthesize ;
+ ReaderDemoController *readerDemoController;
+}
#pragma mark UIApplicationDelegate methods
- (BOOL)application:(UIApplication *)application handleOpenURL:(NSURL *)url
{
-#ifdef DEBUGX
- NSLog(@"%s", __FUNCTION__);
-#endif
-
return NO;
}
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
-#ifdef DEBUGX
- NSLog(@"%s", __FUNCTION__);
-#endif
-
- mainWindow = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];
-
-// [[UIApplication sharedApplication] setStatusBarHidden:YES withAnimation:UIStatusBarAnimationNone];
+ mainWindow = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds]; // Main application window
readerDemoController = [[ReaderDemoController alloc] initWithNibName:nil bundle:nil]; // Demo controller
@@ -69,10 +63,6 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
- (void)applicationWillResignActive:(UIApplication *)application
{
-#ifdef DEBUGX
- NSLog(@"%s", __FUNCTION__);
-#endif
-
// Sent when the application is about to move from active to inactive state. This can occur for certain types of
// temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application
// and it begins the transition to the background state. Use this method to pause ongoing tasks, disable timers,
@@ -81,68 +71,33 @@ - (void)applicationWillResignActive:(UIApplication *)application
- (void)applicationDidEnterBackground:(UIApplication *)application
{
-#ifdef DEBUGX
- NSLog(@"%s", __FUNCTION__);
-#endif
-
// Use this method to release shared resources, save user data, invalidate timers, and store enough
// application state information to restore your application to its current state in case it is terminated later.
// If your application supports background execution, called instead of applicationWillTerminate: when the user quits.
}
- (void)applicationWillEnterForeground:(UIApplication *)application
{
-#ifdef DEBUGX
- NSLog(@"%s", __FUNCTION__);
-#endif
-
// Called as part of transition from the background to the inactive state: here you can undo many
// of the changes made on entering the background.
}
- (void)applicationDidBecomeActive:(UIApplication *)application
{
-#ifdef DEBUGX
- NSLog(@"%s", __FUNCTION__);
-#endif
-
// Restart any tasks that were paused (or not yet started) while the application was inactive.
// If the application was previously in the background, optionally refresh the user interface.
}
- (void)applicationWillTerminate:(UIApplication *)application
{
-#ifdef DEBUGX
- NSLog(@"%s", __FUNCTION__);
-#endif
-
// Called when the application is about to terminate.
// See also applicationDidEnterBackground:.
}
- (void)applicationDidReceiveMemoryWarning:(UIApplication *)application
{
-#ifdef DEBUGX
- NSLog(@"%s", __FUNCTION__);
-#endif
-
// Free up as much memory as possible by purging cached data objects that can be recreated
// (or reloaded from disk) later.
}
-- (void)dealloc
-{
-#ifdef DEBUGX
- NSLog(@"%s", __FUNCTION__);
-#endif
-
- [navigationController release], navigationController = nil;
-
- [readerDemoController release], readerDemoController = nil;
-
- [mainWindow release], mainWindow = nil;
-
- [super dealloc];
-}
-
@end
@@ -1,6 +1,6 @@
//
// ReaderBookDelegate.h
-// Reader v2.5.4
+// Reader v2.6.0
//
// Created by Julius Oklamcak on 2011-09-01.
// Copyright © 2011-2012 Julius Oklamcak. All rights reserved.
@@ -25,15 +25,6 @@
#import <UIKit/UIKit.h>
-#import "ReaderViewController.h"
-
-@interface ReaderBookDelegate : NSObject <UIApplicationDelegate, ReaderViewControllerDelegate>
-{
-@private // Instance variables
-
- UIWindow *mainWindow; // Main App Window
-
- ReaderViewController *readerViewController;
-}
+@interface ReaderBookDelegate : NSObject <UIApplicationDelegate>
@end
@@ -1,6 +1,6 @@
//
// ReaderBookDelegate.m
-// Reader v2.5.4
+// Reader v2.6.0
//
// Created by Julius Oklamcak on 2011-09-01.
// Copyright © 2011-2012 Julius Oklamcak. All rights reserved.
@@ -24,33 +24,29 @@
//
#import "ReaderBookDelegate.h"
+#import "ReaderViewController.h"
-@implementation ReaderBookDelegate
+@interface ReaderBookDelegate () <ReaderViewControllerDelegate>
+
+@end
-//#pragma mark Properties
+@implementation ReaderBookDelegate
+{
+ UIWindow *mainWindow; // Main App Window
-//@synthesize ;
+ ReaderViewController *readerViewController;
+}
#pragma mark UIApplicationDelegate methods
- (BOOL)application:(UIApplication *)application handleOpenURL:(NSURL *)url
{
-#ifdef DEBUGX
- NSLog(@"%s", __FUNCTION__);
-#endif
-
return NO;
}
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
-#ifdef DEBUGX
- NSLog(@"%s", __FUNCTION__);
-#endif
-
- mainWindow = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];
-
-// [[UIApplication sharedApplication] setStatusBarHidden:YES withAnimation:UIStatusBarAnimationNone];
+ mainWindow = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds]; // Main application window
mainWindow.backgroundColor = [UIColor scrollViewTexturedBackgroundColor]; // Window background color
@@ -78,10 +74,6 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
- (void)applicationWillResignActive:(UIApplication *)application
{
-#ifdef DEBUGX
- NSLog(@"%s", __FUNCTION__);
-#endif
-
// Sent when the application is about to move from active to inactive state. This can occur for certain types of
// temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application
// and it begins the transition to the background state. Use this method to pause ongoing tasks, disable timers,
@@ -90,76 +82,39 @@ - (void)applicationWillResignActive:(UIApplication *)application
- (void)applicationDidEnterBackground:(UIApplication *)application
{
-#ifdef DEBUGX
- NSLog(@"%s", __FUNCTION__);
-#endif
-
// Use this method to release shared resources, save user data, invalidate timers, and store enough
// application state information to restore your application to its current state in case it is terminated later.
// If your application supports background execution, called instead of applicationWillTerminate: when the user quits.
}
- (void)applicationWillEnterForeground:(UIApplication *)application
{
-#ifdef DEBUGX
- NSLog(@"%s", __FUNCTION__);
-#endif
-
// Called as part of transition from the background to the inactive state: here you can undo many
// of the changes made on entering the background.
}
- (void)applicationDidBecomeActive:(UIApplication *)application
{
-#ifdef DEBUGX
- NSLog(@"%s", __FUNCTION__);
-#endif
-
// Restart any tasks that were paused (or not yet started) while the application was inactive.
// If the application was previously in the background, optionally refresh the user interface.
}
- (void)applicationWillTerminate:(UIApplication *)application
{
-#ifdef DEBUGX
- NSLog(@"%s", __FUNCTION__);
-#endif
-
// Called when the application is about to terminate.
// See also applicationDidEnterBackground:.
}
- (void)applicationDidReceiveMemoryWarning:(UIApplication *)application
{
-#ifdef DEBUGX
- NSLog(@"%s", __FUNCTION__);
-#endif
-
// Free up as much memory as possible by purging cached data objects that can be recreated
// (or reloaded from disk) later.
}
-- (void)dealloc
-{
-#ifdef DEBUGX
- NSLog(@"%s", __FUNCTION__);
-#endif
-
- [readerViewController release], readerViewController = nil;
-
- [mainWindow release], mainWindow = nil;
-
- [super dealloc];
-}
-
#pragma mark ReaderViewControllerDelegate methods
- (void)dismissReaderViewController:(ReaderViewController *)viewController
{
-#ifdef DEBUGX
- NSLog(@"%s", __FUNCTION__);
-#endif
-
// Do nothing
}
@@ -1,6 +1,6 @@
//
// ReaderDemoController.h
-// Reader v2.5.4
+// Reader v2.6.0
//
// Created by Julius Oklamcak on 2011-07-01.
// Copyright © 2011-2012 Julius Oklamcak. All rights reserved.
@@ -25,11 +25,6 @@
#import <UIKit/UIKit.h>
-#import "ReaderViewController.h"
-
-@interface ReaderDemoController : UIViewController <ReaderViewControllerDelegate>
-{
-@private // Instance variables
-}
+@interface ReaderDemoController : UIViewController
@end
Oops, something went wrong.

0 comments on commit 5820ca0

Please sign in to comment.