ibtoolTranslation 0.0.4 → 0.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b765884f068211d4e6c91d49868716f618ebd6de
4
- data.tar.gz: 3e8f8b8eaf19eceb2ee8ae155ff9e37040c339ea
3
+ metadata.gz: 2a4fce635ef5a8d653ec8291fc6241de3a82a3ec
4
+ data.tar.gz: b0bd0fa247872a30f78211a48db3ac891dc6be61
5
5
  SHA512:
6
- metadata.gz: 6e5132a41eb3a273c2d428ee34b0cba63013415a06944a847e229c45d9e9af8192168d4fba8a17324af2d080faa9c3c77c783030f3be82fdb54147b232fbb260
7
- data.tar.gz: 99b2f7fe1394390e4d0b79afdc63afd4b5d15fa917987b1cf7e97588bc993e17ef7f1c485d8ebb453ddf56b3163c1fd8ba1d4bac52825ae85884cf5a5a4346c7
6
+ metadata.gz: 7f94a916883da4f02e654b20f67732d07da0a4e57a0a2cd67900155673dd725a203a333b1188e8a52a6afba3eb2aa1a26c8170ede6d23ca3ed88027d4416b293
7
+ data.tar.gz: 6cc8c902dd4e17ce5accbed51bec0694e3cfba337812ee1d4cfd178fdd2891512a3390e181a09d4542bc59e50a037d5842606b7ab4e0f5858bcad1fabe88aecc
data/README.md CHANGED
@@ -8,7 +8,7 @@ You edit the Translation.strings that is generated when hit the following comman
8
8
 
9
9
  Add this line to your application's Gemfile:
10
10
 
11
- gem 'ibtool_translation'
11
+ gem 'ibtoolTranslation'
12
12
 
13
13
  And then execute:
14
14
 
@@ -16,14 +16,14 @@ And then execute:
16
16
 
17
17
  Or install it yourself as:
18
18
 
19
- $ gem install ibtool_translation
19
+ $ gem install ibtoolTranslation
20
20
 
21
21
  ## Usage
22
22
 
23
23
  1) Generate "Translation.strings" file.
24
24
 
25
25
  ``` sh
26
- ruby Translation.rb path/to/your_storyboard_directory/ <translate from lang> <translate to lang>
26
+ ibtoolTranslation create -d path/to/your_storyboard_directory/ -f <translate from lang> -t <translate to langs>
27
27
  ```
28
28
 
29
29
  2) Edit "Translation.strings" file.
@@ -37,18 +37,9 @@ ruby Translation.rb path/to/your_storyboard_directory/ <translate from lang> <tr
37
37
  3) Again run (1) command.
38
38
 
39
39
  ``` sh
40
- ruby Translation.rb path/to/your_storyboard_directory/ <translate from lang> <translate to lang>
40
+ ibtoolTranslation update -d path/to/your_storyboard_directory/ -f <translate from lang> -t <translate to langs>
41
41
  ```
42
42
 
43
- ### Example
44
-
45
- e.g.) Translate storyboard files from English to Japanese.
46
-
47
- ``` sh
48
- ruby Translation.rb ExampleProject/storyboard/ en ja
49
- ```
50
-
51
-
52
43
  ## Contributing
53
44
 
54
45
  1. Fork it ( http://github.com/<my-github-username>/ibtool_translation/fork )
@@ -10,19 +10,21 @@ module IbtoolTranslation
10
10
  default_task :update
11
11
 
12
12
  option :dir, :type => :string, :aliases => '-d',:required => true, :desc => 'directory of the reference'
13
+ option :string :type => :boolean :aliases => '-s' :default => false :desc => 'use localizable strings'
13
14
  option :from, :type => :string , :aliases => '-f',:required => true, :desc => 'storyboard of the reference'
14
15
  option :to, :type => :array, :aliases => '-t',:required => true, :desc => 'storyboards of the result'
15
16
  desc "update", "update storyboard"
16
17
  def update
17
- IbtoolTranslation::Core.new.update(options[:dir], options[:from], options[:to])
18
+ IbtoolTranslation::Core.new.update(options[:dir], options[:from], options[:to], option[:string])
18
19
  end
19
20
 
20
21
  option :dir, :type => :string, :aliases => '-d',:required => true, :desc => 'directory of the reference'
22
+ option :string :type => :boolean :aliases => '-s' :default => false :desc => 'use localizable strings'
21
23
  option :from, :type => :string , :aliases => '-f',:required => true, :desc => 'storyboard of the reference'
22
24
  option :to, :type => :array, :aliases => '-t',:required => true, :desc => 'storyboards of the result'
23
25
  desc "create", "create Translation.strings"
24
26
  def create
25
- IbtoolTranslation::Core.new.create(options[:dir], options[:from], options[:to])
27
+ IbtoolTranslation::Core.new.create(options[:dir], options[:from], options[:to], option[:string])
26
28
  end
27
29
  end
28
30
  end
@@ -8,8 +8,10 @@ Gem::Specification.new do |spec|
8
8
  spec.version = IbtoolTranslation::VERSION
9
9
  spec.authors = ["akuraru"]
10
10
  spec.email = ["akuraru@gmail.com"]
11
- spec.summary = %q{Write a short summary. Required.}
12
- spec.description = %q{Write a longer description. Optional.}
11
+ spec.summary = %q{This is the script that can be used to internationalize the storyboard.}
12
+ spec.description = %q{This is the script that can be used to internationalize the storyboard.
13
+
14
+ You edit the Translation.strings that is generated when hit the following command. The typing the same command again to be translated.}
13
15
  spec.homepage = ""
14
16
  spec.license = "MIT"
15
17
 
@@ -1,3 +1,3 @@
1
1
  module IbtoolTranslation
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
@@ -2,24 +2,40 @@ require "ibtoolTranslation/version"
2
2
  require 'kconv'
3
3
  require 'fileutils'
4
4
 
5
+ $debug = false
6
+ $/
7
+
5
8
  module IbtoolTranslation
6
9
  class Core
7
- def create(dirName, sourceDir, lps)
8
- self.func(dirName, dirName + sourceDir + ".lproj", lps)
9
- self.deleteStringsFile(dirName, dirName + sourceDir + ".lproj", lps)
10
- end
11
- def update(dirName, sourceDir, lps)
12
- self.func(dirName, dirName + sourceDir + ".lproj", lps)
13
- self.func2(dirName, dirName + sourceDir + ".lproj", lps)
14
- self.deleteStringsFile(dirName, dirName + sourceDir + ".lproj", lps)
15
- end
16
- def func(dirName, sourceDir, lps)
17
- storyboards = self.storyboards sourceDir
10
+ def create(dirName, sourceDir, lps, string)
11
+ lprojs = lps.map {|lp| dirName + lp + ".lproj"}
12
+ sourceLproj = dirName + sourceDir + ".lproj"
13
+ storyboards = self.storyboards sourceLproj
14
+
15
+ self.makeDirectory(lprojs)
16
+ self.createTranslation(sourceLproj, lprojs, storyboards)
17
+ unless (string)
18
+ self.deleteStringsFile(sourceLproj, lprojs)
19
+ end
20
+ end
21
+ def update(dirName, sourceDir, lps, string)
22
+ lprojs = lps.map {|lp| dirName + lp + ".lproj"}
23
+ sourceLproj = dirName + sourceDir + ".lproj"
24
+ storyboards = self.storyboards sourceLproj
18
25
 
19
- lps.each {|lp|
20
- lproj = dirName + lp + ".lproj"
21
- FileUtils.mkdir_p(lproj)
22
-
26
+ self.makeDirectory(lprojs)
27
+ self.createTranslation(sourceLproj, lprojs, storyboards)
28
+ self.translateStrings(sourceLproj, lprojs, storyboards)
29
+ unless (string)
30
+ self.translateStoryboards(sourceLproj, lprojs, storyboards)
31
+ self.deleteStringsFile(sourceLproj, lprojs)
32
+ end
33
+ end
34
+ def makeDirectory(lprojs)
35
+ lprojs.each {|lproj| FileUtils.mkdir_p(lproj) }
36
+ end
37
+ def createTranslation(sourceDir, lprojs, storyboards)
38
+ lprojs.each {|lproj|
23
39
  transText = self.transText("#{lproj}/Translation.strings")
24
40
  baseData = self.baseDataForTransText(transText)
25
41
  storyboards.each { |fileName|
@@ -31,31 +47,33 @@ module IbtoolTranslation
31
47
  self.writeTransText("#{lproj}/Translation.strings", transText)
32
48
  }
33
49
  end
34
- def func2(dirName, sourceDir, lps)
35
- storyboards = self.storyboards sourceDir
36
-
37
- lps.each {|lp|
38
- lproj = dirName + lp + ".lproj"
50
+ def translateStrings(sourceDir, lprojs, storyboards)
51
+ lprojs.each {|lproj|
39
52
  transText = self.transText("#{lproj}/Translation.strings")
40
53
  storyboards.each { |fileName|
41
- self.fun2(lproj, fileName, transText)
54
+ self.translateStringsFile(lproj, fileName, transText)
55
+ puts fileName unless $debug
56
+ }
57
+ }
58
+ end
59
+ def translateStoryboards(sourceDir, lprojs, storyboards)
60
+ lprojs.each {|lproj|
61
+ storyboards.each { |fileName|
42
62
  `ibtool --write #{lproj}/#{fileName}.storyboard -d #{lproj}/#{fileName}.strings #{sourceDir}/#{fileName}.storyboard`
43
- puts fileName
44
63
  }
45
64
  }
46
65
  end
47
- def deleteStringsFile(dirName, sourceDir, lps)
66
+ def deleteStringsFile(sourceDir, lprojs)
48
67
  storyboards = self.storyboards sourceDir
49
68
 
50
- lps.each {|lp|
51
- lproj = dirName + lp + ".lproj"
69
+ lprojs.each {|lproj|
52
70
  storyboards.each { |fileName|
53
71
  File::delete("#{lproj}/#{fileName}.strings")
54
72
  }
55
73
  }
56
74
  end
57
75
 
58
- def fun2(lproj, fileName, transText)
76
+ def translateStringsFile(lproj, fileName, transText)
59
77
  translationData = self.translationData("#{lproj}/#{fileName}.strings")
60
78
  translationDict = self.translationDict(transText)
61
79
 
@@ -1,4 +1,7 @@
1
1
  require './lib/IbtoolTranslation'
2
+ require 'fileutils'
3
+
4
+ $debug = true
2
5
 
3
6
  describe IbtoolTranslation::Core, "load" do
4
7
  baseDataArray = ["B", "hoge\\npiyo\\nfuga", "to D", "numberOfLines : 2", "D", "NumberOfLines", "Root View Controller", "C", "numberOfLines : 1", "Beyond Segue", "numberOfLines : 0"]
@@ -14,26 +17,50 @@ describe IbtoolTranslation::Core, "load" do
14
17
  "Beyond Segue";
15
18
  "numberOfLines : 0";
16
19
  '
17
-
18
- context "func" do
20
+ context "reset and update ja" do
19
21
  before do
20
22
  @i = IbtoolTranslation::Core.new
21
23
  @i.deleteDir "./storyboards/ja.lproj/"
22
- @i.update("./storyboards/", "en", ["ja"])
24
+ @i.update("./storyboards/", "en", ["ja"], false)
23
25
  end
24
26
  it "ja transText is " do
25
27
  @i.transText("./storyboards/ja.lproj/Translation.strings").should == baseDataText
26
28
  end
29
+ it "Main.strings don't exist" do
30
+ FileTest.exist?("./storyboards/ja.lproj/Main.strings").should == false
31
+ end
32
+ it "storyboard same" do
33
+ @i.transText("./storyboards/en.lproj/Main.storyboard").should == @i.transText("./storyboards/ja.lproj/Main.storyboard")
34
+ end
27
35
  end
28
- context "update" do
36
+ context "update dd" do
29
37
  before do
30
38
  @i = IbtoolTranslation::Core.new
31
- @i.update("./storyboards/", "en", ["dd"])
39
+ @i.update("./storyboards/", "en", ["dd"], false)
40
+ end
41
+ it "Main.strings don't exist" do
42
+ FileTest.exist?("./storyboards/ja.lproj/Main.strings").should == false
32
43
  end
33
44
  it "storyboard not same" do
34
45
  @i.transText("./storyboards/en.lproj/Main.storyboard").should_not == @i.transText("./storyboards/dd.lproj/Main.storyboard")
35
46
  end
36
47
  end
48
+ context "create" do
49
+ before do
50
+ @i = IbtoolTranslation::Core.new
51
+ @i.deleteDir "./storyboards/ja.lproj/"
52
+ @i.create("./storyboards/", "en", ["ja"], false)
53
+ end
54
+ it "ja transText is " do
55
+ @i.transText("./storyboards/ja.lproj/Translation.strings").should == baseDataText
56
+ end
57
+ it "Main.strings don't exist" do
58
+ FileTest.exist?("./storyboards/ja.lproj/Main.strings").should == false
59
+ end
60
+ it "Main.storyboard don't exist" do
61
+ FileTest.exist?("./storyboards/ja.lproj/Main.storyboard").should == false
62
+ end
63
+ end
37
64
  it "storyboards" do
38
65
  IbtoolTranslation::Core.new.storyboards("./storyboards/en.lproj/").should == ["Main"]
39
66
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ibtoolTranslation
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - akuraru
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-02-18 00:00:00.000000000 Z
11
+ date: 2014-02-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor
@@ -52,7 +52,9 @@ dependencies:
52
52
  - - '>='
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
- description: Write a longer description. Optional.
55
+ description: "This is the script that can be used to internationalize the storyboard.\n
56
+ \ \nYou edit the Translation.strings that is generated when hit the following
57
+ command. The typing the same command again to be translated."
56
58
  email:
57
59
  - akuraru@gmail.com
58
60
  executables:
@@ -64,7 +66,6 @@ files:
64
66
  - Gemfile
65
67
  - Guardfile
66
68
  - LICENSE.txt
67
- - Makefile
68
69
  - README.md
69
70
  - Rakefile
70
71
  - bin/ibtoolTranslation
@@ -79,7 +80,6 @@ files:
79
80
  - storyboards/fr.lproj/Main.storyboard
80
81
  - storyboards/fr.lproj/Main.strings
81
82
  - storyboards/fr.lproj/Translation.strings
82
- - storyboards/ja.lproj/Main.storyboard
83
83
  - storyboards/ja.lproj/Translation.strings
84
84
  homepage: ''
85
85
  licenses:
@@ -104,6 +104,6 @@ rubyforge_project:
104
104
  rubygems_version: 2.0.3
105
105
  signing_key:
106
106
  specification_version: 4
107
- summary: Write a short summary. Required.
107
+ summary: This is the script that can be used to internationalize the storyboard.
108
108
  test_files:
109
109
  - spec/ibtoolTranslation_spec.rb
data/Makefile DELETED
@@ -1,3 +0,0 @@
1
- build:
2
- gem build ibtoolTranslation.gemspec;
3
- sudo gem install ibtoolTranslation-0.0.1.gem;
@@ -1,279 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
- <document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="4514" systemVersion="13B3116" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" initialViewController="W4H-FJ-WP2">
3
- <dependencies>
4
- <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="3747"/>
5
- </dependencies>
6
- <scenes>
7
- <!--Table View Controller - Root View Controller-->
8
- <scene sceneID="G8d-y9-IpG">
9
- <objects>
10
- <tableViewController id="qKe-kL-ggu" sceneMemberID="viewController">
11
- <tableView key="view" opaque="NO" clipsSubviews="YES" clearsContextBeforeDrawing="NO" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="static" style="plain" separatorStyle="default" rowHeight="44" sectionHeaderHeight="22" sectionFooterHeight="22" id="YPE-tX-y7Y">
12
- <rect key="frame" x="0.0" y="0.0" width="320" height="480"/>
13
- <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
14
- <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
15
- <sections>
16
- <tableViewSection id="OJ2-Vk-BEm">
17
- <cells>
18
- <tableViewCell contentMode="scaleToFill" selectionStyle="blue" accessoryType="disclosureIndicator" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" textLabel="i4d-Fw-rmD" style="IBUITableViewCellStyleDefault" id="3bf-ye-zyF">
19
- <rect key="frame" x="0.0" y="64" width="320" height="44"/>
20
- <autoresizingMask key="autoresizingMask"/>
21
- <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="3bf-ye-zyF" id="K53-sk-I1T">
22
- <rect key="frame" x="0.0" y="0.0" width="287" height="43"/>
23
- <autoresizingMask key="autoresizingMask"/>
24
- <subviews>
25
- <label opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="left" text="NumberOfLines" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="i4d-Fw-rmD">
26
- <rect key="frame" x="15" y="0.0" width="270" height="43"/>
27
- <autoresizingMask key="autoresizingMask"/>
28
- <fontDescription key="fontDescription" type="system" pointSize="18"/>
29
- <color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
30
- <nil key="highlightedColor"/>
31
- </label>
32
- </subviews>
33
- </tableViewCellContentView>
34
- <connections>
35
- <segue destination="dPf-DS-gFX" kind="push" id="dJ9-i2-EHa"/>
36
- </connections>
37
- </tableViewCell>
38
- <tableViewCell contentMode="scaleToFill" selectionStyle="default" accessoryType="disclosureIndicator" indentationWidth="10" textLabel="qNj-A8-wwY" style="IBUITableViewCellStyleDefault" id="Sjg-KH-mCr">
39
- <rect key="frame" x="0.0" y="108" width="320" height="44"/>
40
- <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
41
- <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="Sjg-KH-mCr" id="Kg4-k8-nYF">
42
- <rect key="frame" x="0.0" y="0.0" width="287" height="43"/>
43
- <autoresizingMask key="autoresizingMask"/>
44
- <subviews>
45
- <label opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="left" text="Beyond Segue" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="qNj-A8-wwY">
46
- <rect key="frame" x="15" y="0.0" width="270" height="43"/>
47
- <autoresizingMask key="autoresizingMask"/>
48
- <fontDescription key="fontDescription" type="system" pointSize="18"/>
49
- <color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
50
- <nil key="highlightedColor"/>
51
- </label>
52
- </subviews>
53
- </tableViewCellContentView>
54
- <connections>
55
- <segue destination="Bbu-Ps-kCX" kind="push" id="DGv-Aj-UFH"/>
56
- </connections>
57
- </tableViewCell>
58
- </cells>
59
- </tableViewSection>
60
- </sections>
61
- </tableView>
62
- <navigationItem key="navigationItem" title="Root View Controller" id="j2k-px-61e"/>
63
- <connections>
64
- <segue destination="8NF-7x-eCV" kind="push" id="IUM-ey-N7Z"/>
65
- </connections>
66
- </tableViewController>
67
- <placeholder placeholderIdentifier="IBFirstResponder" id="Vlp-dO-GoL" userLabel="First Responder" sceneMemberID="firstResponder"/>
68
- </objects>
69
- <point key="canvasLocation" x="-52" y="91"/>
70
- </scene>
71
- <!--View Controller-->
72
- <scene sceneID="7IZ-5y-tjp">
73
- <objects>
74
- <viewController id="dPf-DS-gFX" customClass="ViewController" sceneMemberID="viewController">
75
- <layoutGuides>
76
- <viewControllerLayoutGuide type="top" id="r8f-2z-uKL"/>
77
- <viewControllerLayoutGuide type="bottom" id="pS5-GB-VdP"/>
78
- </layoutGuides>
79
- <view key="view" contentMode="scaleToFill" id="d9m-UX-XY2">
80
- <rect key="frame" x="0.0" y="64" width="320" height="416"/>
81
- <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
82
- <subviews>
83
- <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="BYa-F5-6Bd">
84
- <rect key="frame" x="20" y="41" width="285" height="66"/>
85
- <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
86
- <color key="backgroundColor" red="0.84705882349999995" green="0.84705882349999995" blue="0.84705882349999995" alpha="1" colorSpace="calibratedRGB"/>
87
- <string key="text">hoge
88
- piyo
89
- fuga</string>
90
- <fontDescription key="fontDescription" type="system" pointSize="17"/>
91
- <color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
92
- <nil key="highlightedColor"/>
93
- </label>
94
- <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" lineBreakMode="tailTruncation" numberOfLines="2" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" preferredMaxLayoutWidth="285" translatesAutoresizingMaskIntoConstraints="NO" id="Q7j-JV-BS6">
95
- <rect key="frame" x="20" y="148" width="285" height="66"/>
96
- <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
97
- <color key="backgroundColor" red="0.84705882349999995" green="0.84705882349999995" blue="0.84705882349999995" alpha="1" colorSpace="calibratedRGB"/>
98
- <string key="text">hoge
99
- piyo
100
- fuga</string>
101
- <fontDescription key="fontDescription" type="system" pointSize="17"/>
102
- <color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
103
- <nil key="highlightedColor"/>
104
- </label>
105
- <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" preferredMaxLayoutWidth="285" translatesAutoresizingMaskIntoConstraints="NO" id="cfA-L8-XId">
106
- <rect key="frame" x="20" y="251" width="285" height="66"/>
107
- <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
108
- <color key="backgroundColor" red="0.84705882349999995" green="0.84705882349999995" blue="0.84705882349999995" alpha="1" colorSpace="calibratedRGB"/>
109
- <string key="text">hoge
110
- piyo
111
- fuga</string>
112
- <fontDescription key="fontDescription" type="system" pointSize="17"/>
113
- <color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
114
- <nil key="highlightedColor"/>
115
- </label>
116
- <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" text="numberOfLines : 1" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="qHq-IC-lJQ">
117
- <rect key="frame" x="10" y="12" width="142" height="21"/>
118
- <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
119
- <fontDescription key="fontDescription" type="system" pointSize="17"/>
120
- <nil key="highlightedColor"/>
121
- </label>
122
- <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" text="numberOfLines : 2" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="R5Y-km-7IB">
123
- <rect key="frame" x="10" y="119" width="142" height="21"/>
124
- <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
125
- <fontDescription key="fontDescription" type="system" pointSize="17"/>
126
- <nil key="highlightedColor"/>
127
- </label>
128
- <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" text="numberOfLines : 0" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="zg1-nu-NGb">
129
- <rect key="frame" x="10" y="222" width="142" height="21"/>
130
- <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
131
- <fontDescription key="fontDescription" type="system" pointSize="17"/>
132
- <nil key="highlightedColor"/>
133
- </label>
134
- <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="bbl-KF-HsK">
135
- <rect key="frame" x="0.0" y="300" width="320" height="116"/>
136
- <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
137
- <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
138
- </view>
139
- </subviews>
140
- <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
141
- <constraints>
142
- <constraint firstItem="bbl-KF-HsK" firstAttribute="leading" secondItem="d9m-UX-XY2" secondAttribute="leading" id="9dH-oS-Dmv"/>
143
- <constraint firstItem="bbl-KF-HsK" firstAttribute="top" secondItem="r8f-2z-uKL" secondAttribute="bottom" constant="300" id="M4C-y9-7N6"/>
144
- <constraint firstAttribute="trailing" secondItem="bbl-KF-HsK" secondAttribute="trailing" id="Tf6-sB-Mnd"/>
145
- <constraint firstItem="pS5-GB-VdP" firstAttribute="top" secondItem="bbl-KF-HsK" secondAttribute="bottom" id="yhJ-nl-YsL"/>
146
- </constraints>
147
- </view>
148
- <extendedEdge key="edgesForExtendedLayout"/>
149
- <navigationItem key="navigationItem" id="zZU-Xt-F9r"/>
150
- <connections>
151
- <outlet property="checkView" destination="bbl-KF-HsK" id="Orm-ax-r9q"/>
152
- </connections>
153
- </viewController>
154
- <placeholder placeholderIdentifier="IBFirstResponder" id="LRy-mU-KHy" userLabel="First Responder" sceneMemberID="firstResponder"/>
155
- </objects>
156
- <point key="canvasLocation" x="494" y="-968"/>
157
- </scene>
158
- <!--Navigation Controller-->
159
- <scene sceneID="EJJ-XS-yT5">
160
- <objects>
161
- <navigationController definesPresentationContext="YES" id="W4H-FJ-WP2" sceneMemberID="viewController">
162
- <navigationBar key="navigationBar" contentMode="scaleToFill" id="R4K-wl-pTU">
163
- <autoresizingMask key="autoresizingMask"/>
164
- </navigationBar>
165
- <connections>
166
- <segue destination="qKe-kL-ggu" kind="relationship" relationship="rootViewController" id="ujK-qc-HeL"/>
167
- </connections>
168
- </navigationController>
169
- <placeholder placeholderIdentifier="IBFirstResponder" id="ZwO-hp-HaM" userLabel="First Responder" sceneMemberID="firstResponder"/>
170
- </objects>
171
- <point key="canvasLocation" x="-586" y="91"/>
172
- </scene>
173
- <!--View Controller-->
174
- <scene sceneID="sfR-ie-obi">
175
- <objects>
176
- <viewController storyboardIdentifier="C" useStoryboardIdentifierAsRestorationIdentifier="YES" id="8NF-7x-eCV" sceneMemberID="viewController">
177
- <layoutGuides>
178
- <viewControllerLayoutGuide type="top" id="Ub0-eC-d3R"/>
179
- <viewControllerLayoutGuide type="bottom" id="mCe-xR-ycg"/>
180
- </layoutGuides>
181
- <view key="view" contentMode="scaleToFill" id="A9M-n0-kvA">
182
- <rect key="frame" x="0.0" y="64" width="320" height="416"/>
183
- <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
184
- <subviews>
185
- <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" text="C" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="pIG-ob-jFS">
186
- <rect key="frame" x="0.0" y="0.0" width="320" height="220"/>
187
- <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
188
- <fontDescription key="fontDescription" type="system" pointSize="100"/>
189
- <color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
190
- <nil key="highlightedColor"/>
191
- </label>
192
- </subviews>
193
- <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
194
- </view>
195
- <extendedEdge key="edgesForExtendedLayout" bottom="YES"/>
196
- <navigationItem key="navigationItem" id="gTY-qx-kty"/>
197
- <connections>
198
- <segue destination="73V-H2-uPu" kind="push" id="glt-uI-S6F"/>
199
- </connections>
200
- </viewController>
201
- <placeholder placeholderIdentifier="IBFirstResponder" id="vsy-0K-x5d" userLabel="First Responder" sceneMemberID="firstResponder"/>
202
- </objects>
203
- <point key="canvasLocation" x="494" y="-288"/>
204
- </scene>
205
- <!--View Controller-->
206
- <scene sceneID="839-E8-2Br">
207
- <objects>
208
- <viewController storyboardIdentifier="D" useStoryboardIdentifierAsRestorationIdentifier="YES" id="73V-H2-uPu" sceneMemberID="viewController">
209
- <layoutGuides>
210
- <viewControllerLayoutGuide type="top" id="HYe-o5-9Xc"/>
211
- <viewControllerLayoutGuide type="bottom" id="RTJ-TJ-CiF"/>
212
- </layoutGuides>
213
- <view key="view" contentMode="scaleToFill" id="QHs-ip-Izx">
214
- <rect key="frame" x="0.0" y="64" width="320" height="416"/>
215
- <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
216
- <subviews>
217
- <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" text="D" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="cm9-XA-eke">
218
- <rect key="frame" x="0.0" y="0.0" width="320" height="220"/>
219
- <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
220
- <fontDescription key="fontDescription" type="system" pointSize="100"/>
221
- <color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
222
- <nil key="highlightedColor"/>
223
- </label>
224
- </subviews>
225
- <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
226
- </view>
227
- <extendedEdge key="edgesForExtendedLayout" bottom="YES"/>
228
- <navigationItem key="navigationItem" id="wCB-0e-HIF"/>
229
- </viewController>
230
- <placeholder placeholderIdentifier="IBFirstResponder" id="XyR-ap-ISf" userLabel="First Responder" sceneMemberID="firstResponder"/>
231
- </objects>
232
- <point key="canvasLocation" x="913" y="-288"/>
233
- </scene>
234
- <!--Beyond Segue View Controller-->
235
- <scene sceneID="EkT-ip-QWf">
236
- <objects>
237
- <viewController id="Bbu-Ps-kCX" customClass="BeyondSegueViewController" sceneMemberID="viewController">
238
- <layoutGuides>
239
- <viewControllerLayoutGuide type="top" id="6HY-0V-q3D"/>
240
- <viewControllerLayoutGuide type="bottom" id="Cfa-bD-G6A"/>
241
- </layoutGuides>
242
- <view key="view" contentMode="scaleToFill" id="bM1-RV-CNM">
243
- <rect key="frame" x="0.0" y="64" width="320" height="416"/>
244
- <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
245
- <subviews>
246
- <button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="C8a-M3-w6x">
247
- <rect key="frame" x="145" y="256" width="30" height="30"/>
248
- <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
249
- <state key="normal" title="to D">
250
- <color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
251
- </state>
252
- <connections>
253
- <action selector="touchtToD:" destination="Bbu-Ps-kCX" eventType="touchUpInside" id="FlC-gE-Fbe"/>
254
- </connections>
255
- </button>
256
- <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" text="B" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="31M-uE-y4S">
257
- <rect key="frame" x="0.0" y="0.0" width="320" height="220"/>
258
- <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
259
- <fontDescription key="fontDescription" type="system" pointSize="100"/>
260
- <color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
261
- <nil key="highlightedColor"/>
262
- </label>
263
- </subviews>
264
- <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
265
- </view>
266
- <extendedEdge key="edgesForExtendedLayout" bottom="YES"/>
267
- <navigationItem key="navigationItem" id="Uuo-XQ-iTZ"/>
268
- </viewController>
269
- <placeholder placeholderIdentifier="IBFirstResponder" id="i1A-ih-j2e" userLabel="First Responder" sceneMemberID="firstResponder"/>
270
- </objects>
271
- <point key="canvasLocation" x="494" y="431"/>
272
- </scene>
273
- </scenes>
274
- <simulatedMetricsContainer key="defaultSimulatedMetrics">
275
- <simulatedStatusBarMetrics key="statusBar"/>
276
- <simulatedOrientationMetrics key="orientation"/>
277
- <simulatedScreenMetrics key="destination"/>
278
- </simulatedMetricsContainer>
279
- </document>