アラサー独身男の転職活動日記

タイトルのままです。転職に向けて勉強頑張ります。

Gourmap プライバシーポリシー

Privacy Policy

Hiroki Yamaguchi built the Gourmap app as a Free app. This SERVICE is provided by Hiroki Yamaguchi at no cost and is intended for use as is.

This page is used to inform visitors regarding my policies with the collection, use, and disclosure of Personal Information if anyone decided to use my Service.

If you choose to use my Service, then you agree to the collection and use of information in relation to this policy. The Personal Information that I collect is used for providing and improving the Service. I will not use or share your information with anyone except as described in this Privacy Policy.

The terms used in this Privacy Policy have the same meanings as in our Terms and Conditions, which are accessible at Gourmap unless otherwise defined in this Privacy Policy.

Information Collection and Use

For a better experience, while using our Service, I may require you to provide us with certain personally identifiable information, including but not limited to your device Internet Protocol (“IP”) address, device name, operating system version, the configuration of the app when utilizing my Service, the time and date of your use of the Service, and other statistics.. The information that I request will be retained on your device and is not collected by me in any way.

The app does use third-party services that may collect information used to identify you.

Link to the privacy policy of third-party service providers used by the app

Log Data

I want to inform you that whenever you use my Service, in a case of an error in the app I collect data and information (through third-party products) on your phone called Log Data. This Log Data may include information such as your device Internet Protocol (“IP”) address, device name, operating system version, the configuration of the app when utilizing my Service, the time and date of your use of the Service, and other statistics.

Cookies

Cookies are files with a small amount of data that are commonly used as anonymous unique identifiers. These are sent to your browser from the websites that you visit and are stored on your device's internal memory.

This Service does not use these “cookies” explicitly. However, the app may use third-party code and libraries that use “cookies” to collect information and improve their services. You have the option to either accept or refuse these cookies and know when a cookie is being sent to your device. If you choose to refuse our cookies, you may not be able to use some portions of this Service.

Service Providers

I may employ third-party companies and individuals due to the following reasons:

  • To facilitate our Service;
  • To provide the Service on our behalf;
  • To perform Service-related services; or
  • To assist us in analyzing how our Service is used.

I want to inform users of this Service that these third parties have access to their Personal Information. The reason is to perform the tasks assigned to them on our behalf. However, they are obligated not to disclose or use the information for any other purpose.

Security

I value your trust in providing us your Personal Information, thus we are striving to use commercially acceptable means of protecting it. But remember that no method of transmission over the internet, or method of electronic storage is 100% secure and reliable, and I cannot guarantee its absolute security.

Links to Other Sites

This Service may contain links to other sites. If you click on a third-party link, you will be directed to that site. Note that these external sites are not operated by me. Therefore, I strongly advise you to review the Privacy Policy of these websites. I have no control over and assume no responsibility for the content, privacy policies, or practices of any third-party sites or services.

Children’s Privacy

These Services do not address anyone under the age of 13. I do not knowingly collect personally identifiable information from children under 13 years of age. In the case I discover that a child under 13 has provided me with personal information, I immediately delete this from our servers. If you are a parent or guardian and you are aware that your child has provided us with personal information, please contact me so that I will be able to do the necessary actions.

Changes to This Privacy Policy

I may update our Privacy Policy from time to time. Thus, you are advised to review this page periodically for any changes. I will notify you of any changes by posting the new Privacy Policy on this page.

This policy is effective as of 2022-01-08

Contact Us

If you have any questions or suggestions about my Privacy Policy, do not hesitate to contact me at yama.ri0023ef@gmail.com.

This privacy policy page was created at privacypolicytemplate.net and modified/generated by App Privacy Policy Generator

エンジニア転職活動日記 #3 画面をつくってみた

こんにちは、ひろです。

今日は画面を作った時の備忘録を残してみようと思います。

 

1.プロジェクトの作成

 

前回インストールまでやったXcodeを起動してみると、こんな画面がでます。

f:id:hiro_921225:20210505145329p:plain

新規作成したいので

  create a new Xcode project

を選択。すると、

f:id:hiro_921225:20210505145501p:plain

どのプロジェクトを選ぶか聞かれます。

ここはAppを選択して、次へ。

f:id:hiro_921225:20210506224318p:plain

TapButtonという名前でprojectを作ってみました。

InterfaceはStoryboardにして、次へ。

f:id:hiro_921225:20210506224958p:plain

これでやっと立ち上がりました。

 

2.レイアウトの作成

 

今回作成するのは、

・Aボタンを押すと文字が変化する

・Bボタンを押すと画面移動する

機能にしたいと思います。

 

まずはレイアウトから。

Storyboardを開き、Label 1つと Button 2つを配置していきます。

f:id:hiro_921225:20210514161016p:plain

右上の+を押して選択画面を出し、ドラッグ&ドロップします。

こんな画面にしてみました。

f:id:hiro_921225:20210514162206p:plain

ボタン、ラベルのプロパティは以下で編集。

f:id:hiro_921225:20210514162223p:plain
f:id:hiro_921225:20210514162213p:plain
左:ラベルのプロパティ 右:ボタンのプロパティ

 

3.ボタンの機能で文字を変える

 

次はAボタンを作成します。

Aボタンを押すと、画面上のラベル「Aボタンを押してください」を

「やったね!」という文字に変えてみます。

ここからようやくプログラムの記述です。

 

1つのStoryboardには1つのViewControllerというファイルを紐付けなければ

いけません。今回は1画面目なので、デフォルトで準備されています。

ViewController.swiftというファイルを選択すると、以下の画面になります。

f:id:hiro_921225:20210514163437p:plain

viewDidLoadという関数が、画面起動後に実行される関数になります。

今回は「ボタンを押してから」動かすので、使いません。

 

さて、このswiftファイルには先ほど追加したボタンやラベルが紐づいていないので、

紐付けを行なっていきます。

Storyboardを開いて

 control + option + command + enter

を押して、画面を並べていきます。

f:id:hiro_921225:20210514163844p:plain

Storyboardに紐づいたswiftファイルが表示される

Storyboard上のラベルを、controlを押しながら

swiftファイルの12行目くらいにドラッグ&ドロップします。

すると、

f:id:hiro_921225:20210514164353p:plain

こんな感じのポップアップが出るので、名前を入れてconnectを押します。

f:id:hiro_921225:20210514164458p:plain

これでOutletが作成できました。

Outletというのは、Storyboard上の部品のことだと認識しています。

それをSwiftファイルに紐づける=Outletを作成する

と思ってますが、大体あってるとは思います。

同様にボタンのOutletも作成していきます。

f:id:hiro_921225:20210514164809p:plain

こんなものでしょうか。

次に、ボタンを押した時の動作を作成します。

Storyboard上のボタンを、controlを押しながら

swiftファイルの21行目くらいにドラッグ&ドロップします。

f:id:hiro_921225:20210514165023p:plain

 今度はこのような画面になるので、名前を入れてconnectを押します。

f:id:hiro_921225:20210514165151p:plain

A、BボタンそれぞれのActionが作成できました。

Actionは、部品を動作させた時に実行される関数という認識をしています。

 

Outlet作成はviewDidLoad関数の上、Action作成はviewDidLoad関数の下

という形で覚えています。

 

Aボタンを押した時に文字を変化させるので、それを記述してみます。

f:id:hiro_921225:20210514165642p:plain

初期起動で文字を戻す記述も書いてみました。

では実際に動かしてみます。画面左上の再生ボタンを押すと、シュミレータが起動します。

少し右にどのシュミレータを起動するか選択するところがあるので、

Storyboardと同じiPhone11を選択します。

f:id:hiro_921225:20210514170126p:plain
f:id:hiro_921225:20210514170131p:plain
ちゃんと動きました!

これで動作確認まで完了です!

 

 

今回はここまでにします。

やってることはめちゃくちゃ簡単ですが、実際にシュミレータとかで動かしてみると

やっぱり嬉しいもんですね。笑

 

今週いっぱい仕事が夜勤+長時間残業で全然自分の時間がなかったです。

勉強もトレーニングもまったく、、、

今週末でしっかり取り返していきます!

Youtube開かずがんばるぞー!笑

エンジニア転職活動日記 #2 Xcodeのインストール

こんにちは、ひろです。

GW中ということもあり、ついついだらだらしてしまいます。

でも転職はしたい、、、ので今日も頑張ることにしました。

 

勉強するに先立ってまずは環境構築ということで、

Xcodeをインストールした時のことを記録してみます。

 

Xcodeのインストール】

 

これがめちゃくちゃ重たく、今年で9歳を迎えるおじいちゃんMBA

「ストレージ容量が足りない」と渋られてしまいました。

写真やら動画やらのデータをすべて外部ストレージに移行したのですが、

「その他」データがなかなか減らない。。。

f:id:hiro_921225:20210505134132p:plain

こいつです。(この画像はファイル整理・Xcodeインストール後のものです)

どうやらこのその他ファイルは

 ・pdfなどの書類ファイル

 ・キャッシュファイル(アクセス頻度が高いものを一時保存したやつ)...etc

のような、明確にカテゴライズできないファイル全体を指すらしいです。

 

ここからは自分のやったダイエット方法についてです。

(もっといい方法あれば教えてください)

 

①Finderを開く

②容量を食っているフォルダを開く

 (システムとか触るの怖かったので、ユーザのとこ開きました)

③Command + Shift + .(ピリオド)で隠しファイルを出す

④可視ファイル、隠しファイル共にいらないデータを削除しまくる

⑤ゴミ箱を空にする

 

これでいけました。

Finderは容量大きい順に勝手に並び替えてくれるので、便利ですよね。

自分の場合30GBくらい空いたので、無事にXcodeのインストールに成功しました。

 

f:id:hiro_921225:20210505140059p:plain

Xcode、ほんとにめちゃくちゃ重たいです。

インストールにはめちゃくちゃ時間がかかるので、

仕事行く前にインストール開始して、帰ってから確認するとかがいいと思います。

 

なんと環境構築はこれにて終了です。

iPhoneアプリ開発に必要なツールはほぼ揃っているとのこと。

 

あとはやる気と根性、ですか。。。

頑張らないと。。。

 

では。

エンジニア転職活動日記 #1 はじめまして

はじめまして、ひろといいます。

エンジニア転職したいなあということで重い腰をとうとうあげてみました。

備忘録もかねて、学習記録をつけていこうかと思っております。

3日坊主にならんようにがんばります。。。笑

 

さて、まず自己紹介を。

名前・・・ひろ

年齢・・・28歳

性別・・・男

現職・・・会社員(技術)

居住地・・・東海地方

趣味・・・アニメ見ること、パチンコ・パチスロ

 

休みの日はほぼパチ屋にいるパチンカスでしたが、

コロナのこともあり、時間とお金も無駄に感じて、自粛しはじめました。

(負けすぎて軍資金がなくなったってのは内緒)

勉強するのにちょうどいいですね。笑

 

転職したいと思った動機は、

①現職の働き方(休日や残業、業務内容)がどうしても合わないと感じたこと

②現職の業界動向に関して不安を覚えたこと

③エンジニアってなんか楽しそう!

こんな感じです。

ふわっとしてますが(笑)、割と本気で頑張るつもりです。

何やるの?って話ですが、最初はiPhoneアプリ開発の勉強をします。

 

ブログなんて初めて書きますが、情報発信の練習として、

あまり気負わずに頑張ろうかと思っております。

マナー等わかってませんが、何卒お手柔らかにお願いいたします。。。

 

それでは。