您的位置:www.5596.com > 娱乐资讯 > 解析案例,充满了浓厚的恶意的作品

解析案例,充满了浓厚的恶意的作品

2019-09-21 13:05

用了整整一天,连续看完了,片子水准很高,故事也很精彩,绝对称得上是佳作。

1.movie.txt
[
{
"data":
[
{
"id": "185163",
"img": "http://img4.douban.com/view/movie_poster_cover/lpst/public/p2233706697.jpg",
"icon": "1-1.jpg",
"title": "速度与激情7"
},
{
"id": "178554",
"img": "http://img3.douban.com/view/movie_poster_cover/lpst/public/p2237747953.jpg",
"icon": "1-2.jpg",
"title": "复仇者联盟2:奥创纪元"
},
{
"id": "184885",
"img": "http://img4.douban.com/view/movie_poster_cover/lpst/public/p2257944916.jpg",
"icon": "1-3.jpg",
"title": "捉妖记"
},
{
"id": "179232",
"img": "http://img3.douban.com/view/movie_poster_cover/lpst/public/p2253038483.jpg",
"icon": "1-4.jpg",
"title": "煎饼侠"
},
{
"id": "184884",
"img": "http://img3.douban.com/view/movie_poster_cover/lpst/public/p2257475080.jpg",
"icon": "1-5.jpg",
"title": "王朝的女人·杨贵妃"
},
{
"id": "185107",
"img": "http://img4.douban.com/view/movie_poster_cover/lpst/public/p2246885606.jpg",
"icon": "1-6.jpg",
"title": "杀破狼2"
},
{
"id": "184895",
"img": "http://img4.douban.com/view/movie_poster_cover/lpst/public/p2239530046.jpg",
"icon": "1-7.jpg",
"title": "念念"
},
{
"id": "185212",
"img": "http://img3.douban.com/view/movie_poster_cover/lpst/public/p2257443441.jpg",
"icon": "1-8.jpg",
"title": "谜城"
},
{
"id": "166715",
"img": "http://img3.douban.com/view/movie_poster_cover/lpst/public/p2251450614.jpg",
"icon": "1-9.jpg",
"title": "道士下山"
},
{
"id": "184407",
"img": "http://img3.douban.com/view/movie_poster_cover/lpst/public/p2244110255.jpg",
"icon": "1-10.jpg",
"title": "横冲直撞好莱坞"
},
{
"id": "185400",
"img": "http://img3.douban.com/view/movie_poster_cover/lpst/public/p2259282065.jpg",
"icon": "1-11.jpg",
"title": "破风"
},
{
"id": "185346",
"img": "http://img4.douban.com/view/movie_poster_cover/lpst/public/p2250399288.jpg",
"icon": "1-12.jpg",
"title": "小时代4:灵魂尽头"
},
{
"id": "184239",
"img": "http://img4.douban.com/view/movie_poster_cover/lpst/public/p2238949728.jpg",
"icon": "1-13.jpg",
"title": "左耳"
},
{
"id": "107286",
"img": "http://img3.douban.com/view/movie_poster_cover/lpst/public/p2253155703.jpg",
"icon": "1-14.jpg",
"title": "栀子花开"
},
{
"id": "184195",
"img": "http://img4.douban.com/view/movie_poster_cover/lpst/public/p2232079769.jpg",
"icon": "1-15.jpg",
"title": "咱们结婚吧"
}
],
"title": "热门电影"
},
{
"data":
[
{
"id": "184906",
"img": "http://img3.douban.com/view/movie_poster_cover/lpst/public/p2266591722.jpg",
"icon": "2-1.jpg",
"title": "挑战者联盟"
},
{
"id": "184508",
"img": "http://img4.douban.com/view/movie_poster_cover/lpst/public/p2257436776.jpg",
"icon": "2-2.jpg",
"title": "偶像来了"
},
{
"id": "184244",
"img": "http://img3.douban.com/view/movie_poster_cover/lpst/public/p2249066690.jpg",
"icon": "2-3.jpg",
"title": "爸爸去哪儿第三季"
},
{
"id": "185018",
"img": "http://img3.douban.com/view/movie_poster_cover/lpst/public/p2250415721.jpg",
"icon": "2-4.jpg",
"title": "中国好声音 第4季"
},
{
"id": "185025",
"img": "http://img3.douban.com/view/movie_poster_cover/lpst/public/p2257441314.jpg",
"icon": "2-5.jpg",
"title": "蒙面歌王"
},
{
"id": "183980",
"img": "http://img4.douban.com/view/movie_poster_cover/lpst/public/p2244976758.jpg",
"icon": "2-6.jpg",
"title": "极限挑战"
},
{
"id": "43161",
"img": "http://img4.douban.com/view/photo/thumb/public/p2249051446.jpg",
"icon": "2-7.jpg",
"title": "真心英雄"
},
{
"id": "175640",
"img": "http://img4.douban.com/view/movie_poster_cover/lpst/public/p2261003217.jpg",
"icon": "2-8.jpg",
"title": "变形计"
},
{
"id": "180129",
"img": "http://img4.douban.com/view/movie_poster_cover/lpst/public/p2231248476.jpg",
"icon": "2-9.jpg",
"title": "金星脱口秀"
}
],
"title": "热门综艺"
}
]
2."ViewController.h"
@interface ViewController ()<UITableViewDelegate,UITableViewDataSource>
@property(nonatomic,strong)UITableView * tableView;
//存放数据的数组
@property(nonatomic,strong)NSMutableArray * dataArray;

虽然故事开头世界观并不明了,但是将观众的视野也随着主人公们的成长而逐步扩展的方式不仅不会让人因各种设定而晕头。更重要的是让观众不会因为一开始接触到信息对于某件事有一个非常肯定的看法——一切都还有疑问,真相等待揭露和思考。

@end

这样的处理方式为之后剧情逐渐颠覆观众认知做足了准备,但最重要的是不会因为生硬的“超展开”让观众只顾着惊讶而湮没了思考,着实是非常出色的叙事方式。

@implementation ViewController

尽管如此,着实是让我不会有再看一次心情的片子。

  • (void)viewDidLoad {
    [super viewDidLoad];
    self.tableView = [[UITableView alloc] initWithFrame:[UIScreen mainScreen].bounds style:UITableViewStylePlain];

    self.tableView.backgroundColor=[UIColor cyanColor];
    [self.view addSubview:self.tableView];
    self.tableView.delegate = self;
    self.tableView.dataSource = self;

    //注册cell
    [self.tableView registerClass:[UITableViewCell class] forCellReuseIdentifier:@"cell"];

    //解析JSON(movie)wend
    [self Movie];
    }
    -(void)Movie{

    //获取文档路径
    NSString * filepath = [[NSBundle mainBundle] pathForResource:@"movie" ofType:@"txt"];
    //转化为data
    NSData * fileData = [NSData dataWithContentsOfFile:filepath];
    //解析
    NSArray * array = [NSJSONSerialization JSONObjectWithData:fileData options:NSJSONReadingAllowFragments error:nil];
    //创建数组
    self.dataArray = [NSMutableArray arrayWithArray:array];

http://img3.douban.com/view/note/large/public/p8255544.jpg
(故事展开从孩子们的一次小小冒险开始,世界的黑匣子被逐渐打开。再回头来看这个场景简直又是个绝妙讽刺)

}

若从赤裸裸地揭露人类的丑恶类型的动画来说,经典之作就是《此时此刻的我》了。《此》的剧情过程也非常残酷,且其中各种悲剧完全就是人直接对人造成的,这点上和《自新》有所不同。但《此》虽然批判了人性,但是没有彻底否定人性,留给观众们的是一种悲伤和反思,主题最后毕竟还是希望人类不要重蹈过去悲剧的。

pragma mark -- 代理方法:

//分区

  • (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView{

    //根据数组元素来返回
    return self.dataArray.count;
    }
    //分区的行数

  • (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section{

    NSArray * array = [self.dataArray[section] objectForKey:@"data"];
    return array.count;

}

//分区的返回cell

  • (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath{

    UITableViewCell * cell = [tableView dequeueReusableCellWithIdentifier:@"cell"];
    //解析数据
    //拿到的是一个字典内部是一个数组
    //所以下面定义数组接收
    NSDictionary * dic = self.dataArray[indexPath.section];
    //数组内部有字典需要拿到
    NSArray * array = [dic valueForKey:@"data"];
    //拿到数组内部的字典
    NSDictionary * dic2 = [array objectAtIndex:indexPath.row];
    cell.textLabel.text = [dic2 objectForKey:@"title"];
    return cell;
    }

本文由www.5596.com发布于娱乐资讯,转载请注明出处:解析案例,充满了浓厚的恶意的作品

关键词: