-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
進捗画面へのUIパーツの配置とAssetsのImage追加 #109
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
配置が目に見えると良いですね✨
ProgressBarとCheckboxは仮の配置で、これから専用のクラスを作っていくって認識で合ってますよね😊?
エラーが出てる際は、エラー文をコピペするのとスクリーンショットがあると助かります👌
2箇所にコメントしました!
Stepippo.xcodeproj/project.pbxproj
Outdated
@@ -44,7 +44,7 @@ | |||
|
|||
/* Begin PBXFileReference section */ | |||
0B04AA79227A9D5100E18F0A /* ProgVC.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ProgVC.swift; sourceTree = "<group>"; }; | |||
0B04AA7B227A9DB200E18F0A /* Prog.storyboard */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; path = Prog.storyboard; sourceTree = "<group>"; }; | |||
0B04AA7B227A9DB200E18F0A /* Prog.storyboard */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Prog.storyboard; path = "/Users/katouayana/Xcode/Stepippo-iOS/Stepippo/Classes/Views/Prog.storyboard"; sourceTree = "<absolute>"; }; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ここ、あいなーさんのローカルパスになっちゃってますね🤔
LocationをAbsoluteに変更したのが原因かと思います。
他のファイルに合わせて元に戻して、パスも正しましょう👌
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ありがとうございます🙇🏻♀️🙏
色々といじっているうちに、
変更してしまっていたようです..><
元に戻して、パスも正せるようにしてみます💡
</accessibility> | ||
<rect key="contentStretch" x="0.0" y="0.0" width="0.5" height="1"/> | ||
</imageView> | ||
<textField opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="left" contentVerticalAlignment="center" text="進捗" borderStyle="roundedRect" textAlignment="natural" minimumFontSize="25" translatesAutoresizingMaskIntoConstraints="NO" id="IIC-1P-lHJ"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
画面タイトルは、NavigationBarのTitleに設定しますのでここではTextFieldは不要ですね👌
MiscVCをみていただければわかりますが、コードで設定する方法とStoryboardで設定する方法の2種類があります。
Storyboardで設定するメリットは、簡単・見れること
コードで設定するメリットは、あとでローカライズ(多言語対応)しやすかったり、条件分岐で可変にすることができるところです👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
詳しく教えていただき、
ありがとうございます^-^!
龍之介さんのMiscVCをもう一度見て、
コードとStoryboardとの設定の違いを、
ちゃんと理解したいと思います🙇🏻♀️✨
ありがとうございます😊!
はい、その認識で合っています!💡
ありがとうございますっ |
@eyener3 commitがPushされていないようです💡 |
pushしました^-^💡 |
fixes #87
(#の後にcloseしたいissueの番号を記述してください)
Summary(要約)
StoryboardへUIパーツの配置
AssetsへのImageを追加
Other Information(他の情報)
Tested(テストしたこと)
Must Reviewer(必須レビュアー)
@riscait