瀏覽代碼

Library: increase cache size to 3 times the number of items shown on a single screen

Felix Paul Kühne 12 年之前
父節點
當前提交
408cf59e55
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      AspenProject/VLCPlaylistGridView.m
  2. 1 1
      AspenProject/VLCPlaylistTableViewCell.m

+ 1 - 1
AspenProject/VLCPlaylistGridView.m

@@ -12,7 +12,7 @@
 #import "VLCAppDelegate.h"
 #import "AQGridView.h"
 
-#define MAX_CACHE_SIZE 18 // twice the number of items shown on iPad
+#define MAX_CACHE_SIZE 27 // three times the number of items shown on iPad
 
 @interface VLCPlaylistGridView (Hack)
 @property (nonatomic, retain) NSString *reuseIdentifier;

+ 1 - 1
AspenProject/VLCPlaylistTableViewCell.m

@@ -10,7 +10,7 @@
 
 #import "VLCPlaylistTableViewCell.h"
 
-#define MAX_CACHE_SIZE 14 // twice the number of items shown on iPhone 5
+#define MAX_CACHE_SIZE 21 // three times the number of items shown on iPhone 5
 
 @implementation VLCPlaylistTableViewCell