Commit b47a3b6b authored by Wei Han's avatar Wei Han

fixed tutorial's assets

parent ae46b699
{ {
"images" : [ "images" : [
{ {
"filename" : "img_tutorial_ai01_3x.png", "filename" : "img_tutorial_ai01.png",
"idiom" : "universal", "idiom" : "universal",
"scale" : "1x" "scale" : "1x"
}, },
......
{ {
"images" : [ "images" : [
{ {
"filename" : "img_tutorial_ai02_3x.png", "filename" : "img_tutorial_ai02.png",
"idiom" : "universal", "idiom" : "universal",
"scale" : "1x" "scale" : "1x"
}, },
......
{ {
"images" : [ "images" : [
{ {
"filename" : "img_tutorial_ai03_3x.png", "filename" : "img_tutorial_ai03.png",
"idiom" : "universal", "idiom" : "universal",
"scale" : "1x" "scale" : "1x"
}, },
......
{ {
"images" : [ "images" : [
{ {
"filename" : "img_tutorial_ma01_3x.png", "filename" : "img_tutorial_ma01.png",
"idiom" : "universal", "idiom" : "universal",
"scale" : "1x" "scale" : "1x"
}, },
......
{ {
"images" : [ "images" : [
{ {
"filename" : "img_tutorial_ma02_3x.png", "filename" : "img_tutorial_ma02.png",
"idiom" : "universal", "idiom" : "universal",
"scale" : "1x" "scale" : "1x"
}, },
......
{ {
"images" : [ "images" : [
{ {
"filename" : "img_tutorial_ma03_3x.png", "filename" : "img_tutorial_ma03.png",
"idiom" : "universal", "idiom" : "universal",
"scale" : "1x" "scale" : "1x"
}, },
......
...@@ -135,13 +135,13 @@ ...@@ -135,13 +135,13 @@
- (void)setupTutorialData { - (void)setupTutorialData {
// Using black placeholder images for testing // Using black placeholder images for testing
NSBundle *bundle = [NSBundle bundleForClass:[self class]]; NSBundle *bundle = [NSBundle bundleForClass:[self class]];
UIImage *img1 = [UIImage imageNamed:@"img_tutorial_ma01_3x" UIImage *img1 = [UIImage imageNamed:@"img_tutorial_ma01"
inBundle:bundle inBundle:bundle
compatibleWithTraitCollection:nil]; compatibleWithTraitCollection:nil];
UIImage *img2 = [UIImage imageNamed:@"img_tutorial_ma02_3x" UIImage *img2 = [UIImage imageNamed:@"img_tutorial_ma02"
inBundle:bundle inBundle:bundle
compatibleWithTraitCollection:nil]; compatibleWithTraitCollection:nil];
UIImage *img3 = [UIImage imageNamed:@"img_tutorial_ma03_3x" UIImage *img3 = [UIImage imageNamed:@"img_tutorial_ma03"
inBundle:bundle inBundle:bundle
compatibleWithTraitCollection:nil]; compatibleWithTraitCollection:nil];
......
...@@ -134,13 +134,13 @@ ...@@ -134,13 +134,13 @@
#pragma mark - Tutorial Data #pragma mark - Tutorial Data
- (void)setupTutorialData { - (void)setupTutorialData {
NSBundle *bundle = [NSBundle bundleForClass:[self class]]; NSBundle *bundle = [NSBundle bundleForClass:[self class]];
UIImage *img1 = [UIImage imageNamed:@"img_tutorial_ai01_3x" UIImage *img1 = [UIImage imageNamed:@"img_tutorial_ai01"
inBundle:bundle inBundle:bundle
compatibleWithTraitCollection:nil]; compatibleWithTraitCollection:nil];
UIImage *img2 = [UIImage imageNamed:@"img_tutorial_ai02_3x" UIImage *img2 = [UIImage imageNamed:@"img_tutorial_ai02"
inBundle:bundle inBundle:bundle
compatibleWithTraitCollection:nil]; compatibleWithTraitCollection:nil];
UIImage *img3 = [UIImage imageNamed:@"img_tutorial_ai03_3x" UIImage *img3 = [UIImage imageNamed:@"img_tutorial_ai03"
inBundle:bundle inBundle:bundle
compatibleWithTraitCollection:nil]; compatibleWithTraitCollection:nil];
...@@ -150,7 +150,7 @@ ...@@ -150,7 +150,7 @@
({ ({
TutorialStep *s = [TutorialStep new]; TutorialStep *s = [TutorialStep new];
s.text = @"Select an area in layout plan to add issue."; s.text = @"Select an area in layout plan to add issue.";
s.anchorPoint = CGPointMake(0.5, 0.49); s.anchorPoint = CGPointMake(0.52, 0.49);
s.bubbleAbove = NO; s.bubbleAbove = NO;
s; s;
}), }),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment