<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Amy on Medium]]></title>
        <description><![CDATA[Stories by Amy on Medium]]></description>
        <link>https://medium.com/@tsaiyu_dev?source=rss-f556323cc96------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*ohwrG9dojIBSRKRoAGZIjQ@2x.jpeg</url>
            <title>Stories by Amy on Medium</title>
            <link>https://medium.com/@tsaiyu_dev?source=rss-f556323cc96------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 22:50:29 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@tsaiyu_dev/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Assignment #07 作業＃07]]></title>
            <link>https://medium.com/peter-pan-swift-ios-class/assignment-07-%E4%BD%9C%E6%A5%AD-07-1ec01b856cf3?source=rss-f556323cc96------2</link>
            <guid isPermaLink="false">https://medium.com/p/1ec01b856cf3</guid>
            <category><![CDATA[women-in-tech]]></category>
            <category><![CDATA[swift]]></category>
            <category><![CDATA[ios-app-development]]></category>
            <dc:creator><![CDATA[Amy]]></dc:creator>
            <pubDate>Mon, 17 Apr 2023 08:25:30 GMT</pubDate>
            <atom:updated>2023-04-17T10:20:21.298Z</atom:updated>
            <content:encoded><![CDATA[<h4>問答 &amp; 填充題 App</h4><h4>project purpose: learn how to use array</h4><p>It’s game time! This week I am going to build a movie guessing app by using array. Here’s the movie guessing game:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/295/1*Vf4-EKARTpuFoJhK1nXICw.gif" /></figure><ol><li>ImageView (show movie posters)</li></ol><p>2. Label (show movie quotes and movie titles)</p><p>3. Slider (show the progress and the number of questions)</p><p>4. Button (click and show the next quote &amp; answer)</p><h4><strong>Design the basic layout of the game in the QuestionViewController.</strong></h4><p><strong>A. Create IBAOulet</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/743/1*hGK4n9I3aI8oF5WVELv7Kg.png" /></figure><p>B. Create IBAAction</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/880/1*XZrPxxjLm5WJqpKrMeGQIA.png" /></figure><h3><strong>Create a struct in a new file to compile all the quotes and movie titles</strong></h3><p>(Thanks to chatGPT. It saved me quite some time to collect all the information)</p><pre>import Foundation<br><br>struct MovieQuote {<br>    let quote: String<br>    let movieTitle: String<br>    let character: String<br>    let year: Int<br>    let answerImage: String<br>}<br><br>let movieQuestions = [<br> <br>     MovieQuote(quote: &quot;Life is like a box of chocolates; you never know what you&#39;re gonna get.&quot;, movieTitle: &quot;Forrest Gump&quot;, character: &quot;Forrest Gump&quot;, year: 1994, answerImage: &quot;pic1&quot;),<br>     MovieQuote(quote: &quot;Why so serious?&quot;, movieTitle: &quot;The Dark Knight&quot;, character: &quot;The Joker&quot;, year: 2008, answerImage: &quot;pic2&quot; ),<br>     MovieQuote(quote: &quot;You talking to me?&quot;, movieTitle: &quot;Taxi Driver&quot;, character: &quot;Travis Bickle&quot;, year: 1976, answerImage: &quot;pic3&quot;),<br>     MovieQuote(quote: &quot;There&#39;s no place like home.&quot;, movieTitle: &quot;The Wizard of Oz&quot;, character: &quot;Dorothy Gale&quot;, year: 1939, answerImage: &quot;pic4&quot;),<br>     MovieQuote(quote: &quot;May the Force be with you.&quot;, movieTitle: &quot;Star Wars&quot;, character: &quot;Obi-Wan Kenobi&quot;, year: 1977, answerImage: &quot;pic5&quot;),<br>     MovieQuote(quote: &quot;I&#39;ll have what she&#39;s having.&quot;, movieTitle: &quot;When Harry Met Sally...&quot;, character: &quot;Woman at Table&quot;, year: 1989, answerImage: &quot;pic6&quot;),<br>     MovieQuote(quote: &quot;You can&#39;t handle the truth!&quot;, movieTitle: &quot;A Few Good Men&quot;, character: &quot;Col. Nathan R. Jessup&quot;, year: 1992, answerImage: &quot;pic7&quot;),<br>     MovieQuote(quote: &quot;Keep your friends close, but your enemies closer.&quot;, movieTitle: &quot;The Godfather Part II&quot;, character: &quot;Michael Corleone&quot;, year: 1974, answerImage: &quot;pic8&quot;),<br>     MovieQuote(quote: &quot;I see dead people.&quot;, movieTitle: &quot;The Sixth Sense&quot;, character: &quot;Cole Sear&quot;, year: 1999, answerImage: &quot;pic9&quot;),<br>     MovieQuote(quote: &quot;I&#39;m the king of the world!&quot;, movieTitle: &quot;Titanic&quot;, character: &quot;Jack Dawson&quot;, year: 1997, answerImage: &quot;pic10&quot;),<br>     MovieQuote(quote: &quot;You had me at hello.&quot;, movieTitle: &quot;Jerry Maguire&quot;, character: &quot;Dorothy Boyd&quot;, year: 1996, answerImage: &quot;pic11&quot;),<br>     MovieQuote(quote: &quot;I&#39;m just a kid from Brooklyn.&quot;, movieTitle: &quot;Captain America: The First Avenger&quot;, character: &quot;Steve Rogers / Captain America&quot;, year: 2011, answerImage: &quot;pic12&quot;),<br>     MovieQuote(quote: &quot;Here&#39;s Johnny!&quot;, movieTitle: &quot;The Shining&quot;, character: &quot;Jack Torrance&quot;, year: 1980, answerImage: &quot;pic13&quot;),<br>     MovieQuote(quote: &quot;I&#39;ll be back.&quot;, movieTitle: &quot;The Terminator&quot;, character: &quot;The Terminator&quot;, year: 1984, answerImage: &quot;pic14&quot;),<br>     MovieQuote(quote: &quot;咱本島人最可憐，一下日本人、一下中國人，眾人吃、眾人騎，沒人疼&quot;, movieTitle: &quot;悲情城市&quot;, character: &quot;林文雄&quot;, year: 1989, answerImage: &quot;pic15&quot;),<br>     MovieQuote(quote: &quot;It&#39;s not who I am underneath, but what I do that defines me.&quot;, movieTitle: &quot;Batman Begins&quot;, character: &quot;Bruce Wayne / Batman&quot;, year: 2005, answerImage: &quot;pic16&quot;),<br>     MovieQuote(quote: &quot;Well, I got her number. How do you like them apples.&quot;, movieTitle: &quot;Good Will Hunting &quot;, character: &quot;Will&quot;, year: 1997, answerImage: &quot;pic17&quot;),<br>     MovieQuote(quote: &quot;It&#39;s a bird. It&#39;s a plane. It&#39;s Superman!&quot;, movieTitle: &quot;Superman&quot;, character: &quot;Narrator&quot;, year: 1978, answerImage: &quot;pic18&quot;),<br>     MovieQuote(quote: &quot;I feel the need...the need for speed.&quot;, movieTitle: &quot;Top Gun&quot;, character: &quot;Maverick&quot;, year: 1986, answerImage: &quot;pic19&quot;),<br>     MovieQuote(quote: &quot;上海就是浦東 浦東就是上海&quot;, movieTitle: &quot;讓子彈飛&quot;, character: &quot;老三&quot;, year: 2010, answerImage: &quot;pic20&quot;),<br>     MovieQuote(quote: &quot;Get busy living, or get busy dying&quot;, movieTitle: &quot;The Shawshank Redemption&quot;, character: &quot;Andy Dufresne&quot;, year: 1995, answerImage: &quot;pic21&quot;),<br>     <br>]</pre><p>Here’s the link to the entire code on Github:</p><p><a href="https://github.com/tsaiyu-dev/Guess-Movies">GitHub - tsaiyu-dev/Guess-Movies</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1ec01b856cf3" width="1" height="1" alt=""><hr><p><a href="https://medium.com/peter-pan-swift-ios-class/assignment-07-%E4%BD%9C%E6%A5%AD-07-1ec01b856cf3">Assignment #07 作業＃07</a> was originally published in <a href="https://medium.com/peter-pan-swift-ios-class">彼得潘的 Swift iOS / Flutter App 開發教室</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Assignment #06 作業#06]]></title>
            <link>https://medium.com/peter-pan-swift-ios-class/assignment-06-%E4%BD%9C%E6%A5%AD-06-1ea366efe87f?source=rss-f556323cc96------2</link>
            <guid isPermaLink="false">https://medium.com/p/1ea366efe87f</guid>
            <category><![CDATA[ios-app-development]]></category>
            <category><![CDATA[women-in-tech]]></category>
            <dc:creator><![CDATA[Amy]]></dc:creator>
            <pubDate>Mon, 10 Apr 2023 05:56:00 GMT</pubDate>
            <atom:updated>2023-04-10T15:06:33.075Z</atom:updated>
            <content:encoded><![CDATA[<h3>換算 App，比方小費，BMI，BMR，匯率，單位換算</h3><h3>Project target: string interpolation, optional binding &amp; how to hide the keyboard.</h3><p>學習目標：練習使用字串轉數字、optional binding 以及收鍵盤</p><p>For my final project, I’ve chosen to develop a calories tracking app that will enable users to monitor their dietary intake. Here’s how the app looks like:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/295/1*7qN6dU-47AawzNt85Kl0rg.gif" /></figure><p>Here’s the entire code:</p><pre>import UIKit<br><br>class ViewController: UIViewController {<br>    <br>    override func touchesEnded(_ touches: Set&lt;UITouch&gt;, with event: UIEvent?) {<br>           view.endEditing(true)<br>       }<br><br>    @IBOutlet weak var breakfastTextField: UITextField!<br>    @IBOutlet weak var lunchTextField: UITextField!<br>    @IBOutlet weak var dinnerTextField: UITextField!<br>    @IBOutlet weak var snackTextField: UITextField!<br>    @IBOutlet weak var exerciseTextField: UITextField!<br>    @IBOutlet weak var remainLabel: UILabel!<br>    @IBOutlet weak var goalTextField: UITextField!<br>    override func viewDidLoad() {<br>        <br>        super.viewDidLoad()<br>        // Do any additional setup after loading the view.<br>    }<br>    <br>    <br>    @IBAction func calculateCal(_ sender: Any) {<br>        if let breakfast = Double(breakfastTextField.text!),<br>                   let lunch = Double(lunchTextField.text!),<br>                   let dinner = Double(dinnerTextField.text!),<br>                   let snack = Double(snackTextField.text!),<br>                   let exercise = Double(exerciseTextField.text!),<br>           let goal = Double(goalTextField.text!) {<br>            <br>            let remain = goal - (breakfast + lunch + dinner + snack) + exercise<br>            remainLabel.text = String(format: &quot;%.0f&quot;, remain) + &quot;  calories left&quot;<br>        }<br>        <br>    }<br>    <br>}</pre><p>The app’s design consists of two main components.</p><p>Firstly, I created a layout by positioning the necessary UI features such as labels, image views, and buttons.</p><p>Then, I proceeded to build the IBA outlet that allows users to input their information, and IBA action that calculates the remaining calories.</p><pre>// define properties<br>    @IBOutlet weak var breakfastTextField: UITextField!<br>    @IBOutlet weak var lunchTextField: UITextField!<br>    @IBOutlet weak var dinnerTextField: UITextField!<br>    @IBOutlet weak var snackTextField: UITextField!<br>    @IBOutlet weak var exerciseTextField: UITextField!<br>    @IBOutlet weak var remainLabel: UILabel!<br>    @IBOutlet weak var goalTextField: UITextField!</pre><p>The second component involves writing code for string interpolation, optional binding, and keyboard hiding.</p><pre>@IBAction func calculateCal(_ sender: Any) {<br>       //optional bidning<br>        if let breakfast = Double(breakfastTextField.text!),<br>           let lunch = Double(lunchTextField.text!),<br>           let dinner = Double(dinnerTextField.text!),<br>           let snack = Double(snackTextField.text!),<br>           let exercise = Double(exerciseTextField.text!),<br>           let goal = Double(goalTextField.text!)</pre><pre>//hide the keyboard when clicking elsewhere<br>    override func touchesEnded(_ touches: Set&lt;UITouch&gt;, with event: UIEvent?) {<br>           view.endEditing(true)<br>       }</pre><p>Here’s the link to my github page</p><p><a href="https://github.com/tsaiyu-dev/Calories-Tracking">GitHub - tsaiyu-dev/Calories-Tracking</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1ea366efe87f" width="1" height="1" alt=""><hr><p><a href="https://medium.com/peter-pan-swift-ios-class/assignment-06-%E4%BD%9C%E6%A5%AD-06-1ea366efe87f">Assignment #06 作業#06</a> was originally published in <a href="https://medium.com/peter-pan-swift-ios-class">彼得潘的 Swift iOS / Flutter App 開發教室</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Assignment #05 作業#05]]></title>
            <link>https://medium.com/peter-pan-swift-ios-class/assignment-05-%E4%BD%9C%E6%A5%AD-05-912fcb706e5f?source=rss-f556323cc96------2</link>
            <guid isPermaLink="false">https://medium.com/p/912fcb706e5f</guid>
            <dc:creator><![CDATA[Amy]]></dc:creator>
            <pubDate>Mon, 27 Mar 2023 08:56:11 GMT</pubDate>
            <atom:updated>2023-04-17T13:30:41.707Z</atom:updated>
            <content:encoded><![CDATA[<h4>利用 page control，segmented control，button &amp; gesture 更換內容</h4><p>project target: page control, segmented control, button and gesture.</p><p>As my final project will be featuring the gyms in Taipei, this small project will be built upon the assignment from week 1.</p><ol><li>Build a new project on xCode.</li><li>Insert the gym pictures on “asset”.</li><li>Place all the needed features (buttons, label, imageView, segmented controls, page controls and swipe gestures). Click the “assistant” to start writing code.</li></ol><pre>import UIKit<br>import AVFoundation<br><br>class ViewController: UIViewController {<br>    <br>    let gymPics = [&quot;more fit 2&quot;, &quot;mike 2&quot;, &quot;對哇練&quot;]<br>    let gymOptions = [&quot;More Fit&quot;, &quot;Uncle Mike&quot;, &quot;對哇練&quot;]<br>    var index = 0</pre><p>4. Once everything is in place, build “IBAaction” and “IBAoutlet”</p><pre> @IBOutlet weak var gymLabel: UILabel!<br>    @IBOutlet weak var gymSeg: UISegmentedControl!<br>    @IBOutlet weak var gymPage: UIPageControl!<br>    @IBOutlet weak var gymImageView: UIImageView!</pre><p>Here’s the complete code.</p><pre>import UIKit<br>import AVFoundation<br><br>class ViewController: UIViewController {<br>    <br>    let gymPics = [&quot;more fit 2&quot;, &quot;mike 2&quot;, &quot;對哇練&quot;]<br>    let gymOptions = [&quot;More Fit&quot;, &quot;Uncle Mike&quot;, &quot;對哇練&quot;]<br>    var index = 0<br>    let player = AVPlayer()<br>    <br>    @IBOutlet weak var gymLabel: UILabel!<br>    @IBOutlet weak var gymSeg: UISegmentedControl!<br>    @IBOutlet weak var gymPage: UIPageControl!<br>    @IBOutlet weak var gymImageView: UIImageView!<br>    <br>    <br>    @IBAction func swipeLeft(_ sender: Any) {<br>        index = (index + gymPics.count - 1) % gymPics.count<br>        updateUI()<br>    }<br>    @IBAction func swipeRight(_ sender: Any) {<br>        index = (index + 1) % gymPics.count<br>        updateUI()<br>    }<br>   <br>    @IBAction func gymButton(_ sender: Any) {<br>        index = (index + 1) % gymPics.count<br>        updateUI()<br>    }<br>    <br>    @IBAction func gymButtonLast(_ sender: Any) {<br>        index = (index + gymPics.count - 1) % gymPics.count<br>        updateUI()<br>    }<br>    override func viewDidLoad() {<br>        super.viewDidLoad()<br>        let url = Bundle.main.url(/service/forresource:&quot;Sia - Unstoppable (Lyrics)&quot; , withExtension: &quot;mp3&quot;)!<br>        let playerItem = AVPlayerItem(url:url)<br>        player.replaceCurrentItem(with: playerItem)<br>        player.play()<br>       <br>        // Do any additional setup after loading the view.<br>    }<br><br>    @IBAction func PageChange(_ sender: Any) {<br>        index = gymPage.currentPage<br>      updateUI()<br>    }<br>    <br>    @IBAction func gymSegmentChange(_ sender: Any) {<br>        index = gymSeg.selectedSegmentIndex<br>        updateUI()<br>    }<br>    <br>    func updateUI() {<br>        gymImageView.image = UIImage(named: gymPics[index])<br>        gymLabel.text = gymOptions[index]<br>        gymSeg.selectedSegmentIndex = index<br>        gymPage.currentPage = index<br>    }<br>}<br><br></pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/296/1*zD9or4nbog7d25dFiCHfvA.gif" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=912fcb706e5f" width="1" height="1" alt=""><hr><p><a href="https://medium.com/peter-pan-swift-ios-class/assignment-05-%E4%BD%9C%E6%A5%AD-05-912fcb706e5f">Assignment #05 作業#05</a> was originally published in <a href="https://medium.com/peter-pan-swift-ios-class">彼得潘的 Swift iOS / Flutter App 開發教室</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[assignment #04 作業#04]]></title>
            <link>https://medium.com/peter-pan-swift-ios-class/assignment-04-%E4%BD%9C%E6%A5%AD-04-2bce465ab30b?source=rss-f556323cc96------2</link>
            <guid isPermaLink="false">https://medium.com/p/2bce465ab30b</guid>
            <category><![CDATA[swift]]></category>
            <category><![CDATA[women-in-tech]]></category>
            <category><![CDATA[ios-app-development]]></category>
            <dc:creator><![CDATA[Amy]]></dc:creator>
            <pubDate>Mon, 20 Mar 2023 10:44:12 GMT</pubDate>
            <atom:updated>2023-03-20T10:44:12.744Z</atom:updated>
            <content:encoded><![CDATA[<h4>定義 function，印出讓自己一秒落淚的情歌歌詞</h4><p>This week’s project is extremely easy. Create a function to sing a song. I’ve been listening to “Something in the Orange” by Zach Bryan recently. Shall we listen to this beautiful song before looking at my code?</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FlA8F9sIhGdg%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DlA8F9sIhGdg&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FlA8F9sIhGdg%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/0112979f71810dfa452cb005b09f3ecc/href">https://medium.com/media/0112979f71810dfa452cb005b09f3ecc/href</a></iframe><p>Here’s the function. There are four verses and a chorus.</p><pre>func firstVerse() {<br>    print(<br>    &quot;&quot;&quot;<br>    It&#39;ll be fine by dusk light I&#39;m telling you, baby<br>    These things eat at your bones and drive your young mind crazy<br>    But when you place your head between my collar and jaw<br>    I don&#39;t know much but there&#39;s no weight at all<br>    &quot;&quot;&quot;)<br>}<br><br>func secondVerse () {<br>    print (<br>    &quot;&quot;&quot;<br>    And I&#39;m damned if I do and I&#39;m damned if I don&#39;t<br>    &#39;Cause if I say I miss you I know that you won&#39;t<br>    But I miss you in the mornings when I see the sun<br>    Something in the orange tells me we&#39;re not done<br>    &quot;&quot;&quot;)<br>}<br><br>func chorus() {<br>    print(<br>    &quot;&quot;&quot;<br>    To you I&#39;m just a man, to me you&#39;re all I am<br>    Where the hell am I supposed to go?<br>    I poisoned myself again<br>    Something in the orange tells me you&#39;re never coming home<br>    &quot;&quot;&quot;)<br>}<br><br>func thirdVerse() {<br>    print(<br>    &quot;&quot;&quot;<br>    I need to hear you say you&#39;ve been waitin&#39; all night<br>    There&#39;s orange dancing in your eyes from bulb light<br>    Your voice only trembles when you try to speak<br>    Take me back to us dancing, this wood used to creak<br>    &quot;&quot;&quot;)<br>}<br><br>func lastVerse() {<br>    print(<br>    &quot;&quot;&quot;<br>    If you leave today, I&#39;ll just stare at the way<br>    The orange touches all things around<br>    The grass, trees and dew, how I just hate you<br>    Please turn those headlights around<br>    Please turn those headlights around<br>    &quot;&quot;&quot;)<br>}<br><br><br>firstVerse()<br>secondVerse()<br>chorus()<br>thirdVerse()<br>chorus()<br>chorus()<br>lastVerse()</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/531/1*bweNam5_Ddqk0GZ1yWkZmw.png" /><figcaption>this the result of my function</figcaption></figure><p>Reference:</p><ul><li><a href="https://medium.com/%E5%BD%BC%E5%BE%97%E6%BD%98%E7%9A%84%E8%A9%A6%E7%85%89-%E5%8B%87%E8%80%85%E7%9A%84-100-%E9%81%93-swift-ios-app-%E8%AC%8E%E9%A1%8C/%E5%AE%9A%E7%BE%A9-function-%E5%8D%B0%E5%87%BA%E8%AE%93%E8%87%AA%E5%B7%B1%E4%B8%80%E7%A7%92%E8%90%BD%E6%B7%9A%E7%9A%84%E6%83%85%E6%AD%8C%E6%AD%8C%E8%A9%9E-851ff4147fda">#64 定義 function，印出讓自己一秒落淚的情歌歌詞</a></li><li><a href="https://www.lyricfind.com/">LyricFind</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2bce465ab30b" width="1" height="1" alt=""><hr><p><a href="https://medium.com/peter-pan-swift-ios-class/assignment-04-%E4%BD%9C%E6%A5%AD-04-2bce465ab30b">assignment #04 作業#04</a> was originally published in <a href="https://medium.com/peter-pan-swift-ios-class">彼得潘的 Swift iOS / Flutter App 開發教室</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Assignment#03 作業03]]></title>
            <link>https://medium.com/peter-pan-swift-ios-class/assignment-03-%E4%BD%9C%E6%A5%AD03-aa1a3d57d67b?source=rss-f556323cc96------2</link>
            <guid isPermaLink="false">https://medium.com/p/aa1a3d57d67b</guid>
            <category><![CDATA[ios-development]]></category>
            <category><![CDATA[women-in-tech]]></category>
            <dc:creator><![CDATA[Amy]]></dc:creator>
            <pubDate>Thu, 16 Mar 2023 10:27:04 GMT</pubDate>
            <atom:updated>2023-04-17T13:30:24.407Z</atom:updated>
            <content:encoded><![CDATA[<h4>使用圖片，文字，emoji，邊框 &amp; 圓角製作漂亮卡片</h4><p>Week two involved learning some coding (finally!).</p><p>This project aims to help us practice creating a card. Please take a quick look at the card I made for Carrie’s birthday.”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/904/1*g2qn4egwpvypj4dXdPTjtA.png" /><figcaption>Today happened to be Carrie’s bday (Marh 16th) :)</figcaption></figure><ol><li>using “addsubview” to compile the image</li></ol><pre>pinkView.addSubview(messageLabel)<br>pinkView.addSubview(greetLabel)<br>pinkView.addSubview(cardmessageLable)<br>pinkView.addSubview(memorymessageLable)<br>pinkView.addSubview(signLabel)</pre><p>2. UIImageView</p><pre>let carrieImage = UIImage(named: &quot;carrie&quot;)<br>let carrieImageView = UIImageView(image: carrieImage)<br>carrieImageView.frame = CGRect(x: 0, y: 0, width: 600, height: 800)<br>carrieImageView.layer.borderWidth = 30<br>carrieImageView.layer.borderColor = CGColor(red: 255/255, green: 204/255, blue: 229/255, alpha: 0.5)<br>carrieImageView.layer.cornerRadius = 50<br>carrieImageView.clipsToBounds = true<br>var rect = CGRect(x:0, y: 0, width: 1200, height: 800)<br>let pinkView = UIView(frame: rect)<br>pinkView.backgroundColor = UIColor(red: 255/255, green: 204/255, blue: 229/255, alpha: 0.5)<br>pinkView.addSubview(carrieImageView)<br>rect = CGRect(x: 0, y: 0, width: 1200, height: 800)</pre><ol><li>using properties from UIView (frame)</li><li>using UILabel to create text and content (text color, font, )</li><li>borderwidth, bordercolor</li><li>adding emojis: This has been the most challenging part so far. Even though I’ve learned a bit about loops, I’m struggling to figure out how to write the formula to place the emojis exactly where I want them. In order to gain some insight, I decided to review some of my classmates’ work.</li></ol><pre>for i in 0...5 {<br>    print (i)<br>    let triangleLabel = UILabel(frame: CGRect(x: (i+7)*100, y: 15, width: 100, height: 100))<br>    triangleLabel.text = &quot;▲&quot;<br>    triangleLabel.font = UIFont.systemFont(ofSize: 35)<br>    triangleLabel.textColor = UIColor(red: 255/255, green: 178/255, blue: 102/255, alpha: 0.5)<br>    triangleLabel.transform = CGAffineTransform(rotationAngle: .pi / 180 * 45)<br>    pinkView.addSubview(triangleLabel)<br><br>}</pre><p>Reference:</p><p><a href="https://medium.com/%E5%BD%BC%E5%BE%97%E6%BD%98%E7%9A%84%E8%A9%A6%E7%85%89-%E5%8B%87%E8%80%85%E7%9A%84-100-%E9%81%93-swift-ios-app-%E8%AC%8E%E9%A1%8C/142-%E4%BD%BF%E7%94%A8%E5%9C%96%E7%89%87-%E6%96%87%E5%AD%97-emoji-%E9%82%8A%E6%A1%86-%E5%9C%93%E8%A7%92%E8%A3%BD%E4%BD%9C%E6%BC%82%E4%BA%AE%E5%8D%A1%E7%89%87-401741bf23f7"># 142 使用圖片，文字，emoji，邊框 &amp; 圓角製作漂亮卡片</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=aa1a3d57d67b" width="1" height="1" alt=""><hr><p><a href="https://medium.com/peter-pan-swift-ios-class/assignment-03-%E4%BD%9C%E6%A5%AD03-aa1a3d57d67b">Assignment#03 作業03</a> was originally published in <a href="https://medium.com/peter-pan-swift-ios-class">彼得潘的 Swift iOS / Flutter App 開發教室</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[assignment#02 作業＃02 Storyboard 電子書 App- Taipei Gym Guide]]></title>
            <link>https://medium.com/peter-pan-swift-ios-class/assignment-2-%E4%BD%9C%E6%A5%AD-2-storyboard-%E9%9B%BB%E5%AD%90%E6%9B%B8-app-taipei-gym-guide-25e2696542e4?source=rss-f556323cc96------2</link>
            <guid isPermaLink="false">https://medium.com/p/25e2696542e4</guid>
            <category><![CDATA[ios-app-development]]></category>
            <category><![CDATA[storyboard]]></category>
            <category><![CDATA[women-in-tech]]></category>
            <dc:creator><![CDATA[Amy]]></dc:creator>
            <pubDate>Mon, 13 Mar 2023 10:40:45 GMT</pubDate>
            <atom:updated>2023-03-14T02:01:23.915Z</atom:updated>
            <content:encoded><![CDATA[<p>Disclaimer: This is the initial stage of a project we’re working on. We learned more UI features last week, so this practice is more comprehensive. Here are the requirements for Assignment #2:</p><ul><li>It must include a tab bar controller and navigation controller.</li><li>It must include a table view controller with static cells.</li><li>Segue.</li><li>App Icon.</li><li>Applying the following features: view, button, label, image view, text field, text view, segmented control, slider, switch, table view, scroll view, progress view, stepper, date picker, visual effect view with blur.</li></ul><p>Here’s a quick peek at my work, Taipei Gym Guide</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/295/1*sLe-na9-vMx4uYbrhQfo1w.gif" /></figure><p>As a proud gym rat, I immediately had an idea for this assignment. I know how challenging it can be to find a good gym to work out, especially for those who are new to the city. Therefore, this app aims to provide a guideline for gyms in Taipei City. There are three main categories: day-pass, membership-based, and sports centers.</p><p>In addition to the gym guidelines, I’ve also listed some healthy meal box places. Overall, it’s a very useful app for gym lovers and people who need a healthy and balanced diet.</p><p>The biggest challenge lies in the design. Since no code is needed at this stage, I spent most of my time exploring and trying out different approaches and formats. As I mentioned at the beginning, this is still a draft for my future project, and the layout is still quite simple. However, I’m getting used to some of the basic yet useful features like scroll views and buttons.</p><p>Here’s the link to my GitHub:</p><p><a href="https://github.com/tsaiyu-dev/Taipie-Gym-Guide">GitHub - tsaiyu-dev/Taipie-Gym-Guide</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=25e2696542e4" width="1" height="1" alt=""><hr><p><a href="https://medium.com/peter-pan-swift-ios-class/assignment-2-%E4%BD%9C%E6%A5%AD-2-storyboard-%E9%9B%BB%E5%AD%90%E6%9B%B8-app-taipei-gym-guide-25e2696542e4">assignment#02 作業＃02 Storyboard 電子書 App- Taipei Gym Guide</a> was originally published in <a href="https://medium.com/peter-pan-swift-ios-class">彼得潘的 Swift iOS / Flutter App 開發教室</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Exercise #1 課後練習 #1]]></title>
            <link>https://medium.com/peter-pan-swift-ios-class/exercise-1-%E8%AA%B2%E5%BE%8C%E7%B7%B4%E7%BF%92-1-db5c40e874ae?source=rss-f556323cc96------2</link>
            <guid isPermaLink="false">https://medium.com/p/db5c40e874ae</guid>
            <category><![CDATA[ios-app-development]]></category>
            <category><![CDATA[storyboard]]></category>
            <dc:creator><![CDATA[Amy]]></dc:creator>
            <pubDate>Thu, 09 Mar 2023 10:29:34 GMT</pubDate>
            <atom:updated>2023-03-09T10:29:34.459Z</atom:updated>
            <content:encoded><![CDATA[<p>Disclaimer: This exercise will be extended into a larger project later. For now, it’s mainly an exercise to try out several features we’ve covered from the first session. What’s more interesting is that there’s zero code (well I mean I didn’t write any code at all). Pretty cool right.</p><p>This exercise includes the following features:</p><ol><li>App icon</li><li>Scroll View</li><li>Segue</li><li>Button</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/295/1*D8Mt8Ouv0jV2r6t9l4ugQA.gif" /><figcaption>yeap the person in monthly checkin is me :P</figcaption></figure><p>Here’s the link to Github:</p><p><a href="https://github.com/tsaiyu-dev/Assignment-2--Workout-App">GitHub - tsaiyu-dev/Assignment-2--Workout-App</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=db5c40e874ae" width="1" height="1" alt=""><hr><p><a href="https://medium.com/peter-pan-swift-ios-class/exercise-1-%E8%AA%B2%E5%BE%8C%E7%B7%B4%E7%BF%92-1-db5c40e874ae">Exercise #1 課後練習 #1</a> was originally published in <a href="https://medium.com/peter-pan-swift-ios-class">彼得潘的 Swift iOS / Flutter App 開發教室</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[assignment #01 作業＃01]]></title>
            <link>https://medium.com/peter-pan-swift-ios-class/assignment-01-%E4%BD%9C%E6%A5%AD-01-13b23904f8ea?source=rss-f556323cc96------2</link>
            <guid isPermaLink="false">https://medium.com/p/13b23904f8ea</guid>
            <category><![CDATA[ios-app-development]]></category>
            <dc:creator><![CDATA[Amy]]></dc:creator>
            <pubDate>Tue, 07 Mar 2023 14:54:10 GMT</pubDate>
            <atom:updated>2023-03-07T15:18:45.356Z</atom:updated>
            <content:encoded><![CDATA[<p>During our first class, we covered some basics. I was surprised to learn that we could create a “storybook” without writing any code. Our initial assignment was to practice creating a project on Xcode and activating it on the simulator. After that, we had to link our project to GitHub.</p><p>I also created an app called WeSplit as part of one of the challenges in Hacking with Swift. This app is designed to calculate the total amount of a check, including the tip, that each person needs to pay.</p><p>在我們的第一堂課上，彼得潘教了我們一些基礎知識。令我比較驚訝的是，我們學會了如何創建一個”storybook”，而不需要寫任何程式。</p><p>我們的第一個作業是練習在Xcode上創建一個專案並在模擬器上啟動它。接下來，我們必須將專案與GitHub鏈接起來。</p><p>我在前陣子自學期間練習了WeSplit的應用程式（是完全按照tutorial練習的），是在Hacking with Swift課程中的其中一個挑戰所完成的。這個應用程式的設計目的是計算餐費的總金額（包括小費）中每個人需要支付的金額。</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dziI-4vwRdlAvuI__DPs-A.jpeg" /></figure><p>Here’s the how the app looks like:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/296/1*P8KNwVydm_qKRGrxQnssYw.gif" /><figcaption>WeSplit (project from #100daysofswiftUI)</figcaption></figure><p>Here’s the link to my <a href="https://github.com/tsaiyu-dev/WeSplit">github</a>:</p><p><a href="https://github.com/tsaiyu-dev/WeSplit">GitHub - tsaiyu-dev/WeSplit</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=13b23904f8ea" width="1" height="1" alt=""><hr><p><a href="https://medium.com/peter-pan-swift-ios-class/assignment-01-%E4%BD%9C%E6%A5%AD-01-13b23904f8ea">assignment #01 作業＃01</a> was originally published in <a href="https://medium.com/peter-pan-swift-ios-class">彼得潘的 Swift iOS / Flutter App 開發教室</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Prelude]]></title>
            <link>https://medium.com/peter-pan-swift-ios-class/prelude-7fca6cbf57f9?source=rss-f556323cc96------2</link>
            <guid isPermaLink="false">https://medium.com/p/7fca6cbf57f9</guid>
            <category><![CDATA[ios-app-development]]></category>
            <category><![CDATA[self-taught-developer]]></category>
            <category><![CDATA[women-in-tech]]></category>
            <dc:creator><![CDATA[Amy]]></dc:creator>
            <pubDate>Tue, 07 Mar 2023 07:11:55 GMT</pubDate>
            <atom:updated>2023-03-07T14:42:54.773Z</atom:updated>
            <content:encoded><![CDATA[<p>I always feel a bit awkward when people ask me how and why I started coding. I majored in English Literature and East Asian Studies for my Bachelor’s degree and have been teaching English for over seven years. Coding was never a part of my life.</p><p>My journey started in 2022 when I met my ex and not long after I flew to New York City for couple months. Love can make people do crazy things, and I was uncertain whether I could be financially independent as an English teacher (especially since I was paid in NTD). My ex, who worked as a software engineer for a FANG company, suggested that I try tech.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ABLkXzDLJvvs_JW2I3jkZQ.jpeg" /><figcaption>Little Island, NYC</figcaption></figure><p>That’s how I got started! To test if I had what it takes, I began with some free resources. I highly recommend FreeCodeCamp, which covers HTML, CSS, JavaScript, and Python. I started with HTML and CSS, which are not technically “programming languages,” but they helped boost my confidence, and I looked forward to taking those lessons every day.</p><p>Fast-forward to post-breakup. Things obviously didn’t work out between us, but I didn’t stop learning to code. I continued to try other free or inexpensive online courses, such as <a href="https://www.udemy.com/">Udemy</a>, <a href="https://www.hackingwithswift.com/100/swiftui">HackingWithSwift</a> (highly recommended for learning SwiftUI), and <a href="https://www.edx.org/cs50">CS50: Introduction to Computer Science </a>(a well-known Harvard open online course).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/296/1*P8KNwVydm_qKRGrxQnssYw.gif" /><figcaption>This assignment is part of my 100DaysOfSwiftUI challenge.</figcaption></figure><p>You might be wondering why I signed up for 彼得潘的iOS App程式設計入門 (Peter Pan’s Introduction to iOS App Development) even though the above resources are fantastic and provide excellent quality classes. As the lessons became more challenging and overwhelming, I realized the importance of group support and networking.</p><p>So, that’s my background story. I’m extremely excited about my journey here.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7fca6cbf57f9" width="1" height="1" alt=""><hr><p><a href="https://medium.com/peter-pan-swift-ios-class/prelude-7fca6cbf57f9">Prelude</a> was originally published in <a href="https://medium.com/peter-pan-swift-ios-class">彼得潘的 Swift iOS / Flutter App 開發教室</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>