File tree Expand file tree Collapse file tree 2 files changed +1
-22
lines changed Expand file tree Collapse file tree 2 files changed +1
-22
lines changed Original file line number Diff line number Diff line change 117
117
#pragma mark - 设置资源搜索路径
118
118
@interface LView ()
119
119
120
- /* *
121
- * 设置 图片资源bundle查询路径
122
- */
123
- -(void ) setBundleSearchPath : (NSArray *) path ;
124
-
125
-
126
- /* *
127
- * 获取 图片资源bundle查询路径
128
- */
129
- -(NSArray *) bundleSearchPath ;
120
+ @property (nonatomic ,strong ) LVBundle* bundle;
130
121
131
122
/*
132
123
* packageName: 包名 比如:"ppt"
133
124
* info格式: { "url" : "http://g.tbcdn.cn/ju/lua/3.2.12/ppt4.4.0.js" , "time":"2015-11-18 09:53"}
134
125
*/
135
126
+(void ) downLoadPackage : (NSString *)package withInfo : (NSDictionary *)info ;
136
127
137
-
138
128
@end
139
129
140
130
#pragma mark - 各种系统回调, 回调会传递到lua脚本中执行脚本代码
193
183
#pragma mark - Property 系统使用的, 基本上不用关心细节
194
184
@interface LView ()
195
185
@property (nonatomic ,assign ) BOOL runInSignModel;// 加密模式,优先加载加密脚本
196
- @property (nonatomic ,strong ) LVBundle* bundle;
197
186
198
187
@property (nonatomic , weak ) UIView* conentView; // 运行环境view
199
188
@property (nonatomic , weak ) LView* lv_lview;
Original file line number Diff line number Diff line change @@ -682,16 +682,6 @@ -(id) argumentToObject:(int) index{
682
682
return 0 ;
683
683
}
684
684
685
- -(void ) setBundleSearchPath : (NSArray *) paths {
686
- for (NSString *path in paths) {
687
- [self .bundle addResourcePath: path];
688
- }
689
- }
690
-
691
- -(NSArray *) bundleSearchPath {
692
- return self.bundle .resourcePaths ;
693
- }
694
-
695
685
-(NSString *) description {
696
686
return [NSString stringWithFormat: @" <View(0x%x ) frame = %@ >" , (int )[self hash ], NSStringFromCGRect(self .frame) ];
697
687
}
You can’t perform that action at this time.
0 commit comments