<?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 Ning on Medium]]></title>
        <description><![CDATA[Stories by Ning on Medium]]></description>
        <link>https://medium.com/@g810306?source=rss-7256c3edd8e3------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*g-85D3v9YQhOLHdlqdj3PQ.jpeg</url>
            <title>Stories by Ning on Medium</title>
            <link>https://medium.com/@g810306?source=rss-7256c3edd8e3------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 22:38:20 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@g810306/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[利用 viewDidLoad 客製 App 畫面]]></title>
            <link>https://medium.com/peter-pan-swift-ios-class/%E5%88%A9%E7%94%A8-viewdidload-%E5%AE%A2%E8%A3%BD-app-%E7%95%AB%E9%9D%A2-2a7db053d8db?source=rss-7256c3edd8e3------2</link>
            <guid isPermaLink="false">https://medium.com/p/2a7db053d8db</guid>
            <dc:creator><![CDATA[Ning]]></dc:creator>
            <pubDate>Sun, 20 Dec 2020 09:00:19 GMT</pubDate>
            <atom:updated>2020-12-20T16:55:47.542Z</atom:updated>
            <content:encoded><![CDATA[<p>在 viewDidLoad 裡寫程式加入有興趣的功能。</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/%E5%88%A9%E7%94%A8-controller-%E7%9A%84-viewdidload-%E8%A3%BD%E4%BD%9C%E5%90%B8%E7%9D%9B-app-%E7%95%AB%E9%9D%A2-8e4d02d86177">#91 自訂 controller 類別和利用 viewDidLoad 客製 App 畫面</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/612/1*aSk27MV0tWiNKAc0n7gCGQ.png" /></figure><blockquote>播放背景音樂</blockquote><pre><strong>let</strong> fileUrl = Bundle.main.url(/service/forresource: &quot;music&quot;, withExtension: &quot;mp4&quot;)!</pre><pre><strong>let</strong> playerItem = AVPlayerItem(url: fileUrl)</pre><pre>player.replaceCurrentItem(with: playerItem)</pre><pre>player.play()</pre><blockquote>製作灑鈔動畫</blockquote><pre>view.backgroundColor = UIColor.black</pre><pre><strong>let</strong> billEmitterCell = CAEmitterCell()</pre><pre>billEmitterCell.contents = UIImage(named: &quot;bill&quot;)?.cgImage</pre><pre>billEmitterCell.scale = 0.7 //鈔票大小</pre><pre>billEmitterCell.lifetime = 10.0 //出現時間(秒)</pre><pre>billEmitterCell.birthRate = 10 //一秒生幾個</pre><pre>billEmitterCell.velocity = -5 //移動速度</pre><pre>billEmitterCell.velocityRange = -20 //移動速度</pre><pre>billEmitterCell.yAcceleration = 40  //向下加速度</pre><pre>billEmitterCell.xAcceleration = 5 //向右加速度</pre><pre>billEmitterCell.spin = -0.5 // 轉速</pre><pre>billEmitterCell.spinRange = 1.0 //轉速範圍</pre><pre>billEmitterCell.emissionRange = .pi //左右落下</pre><pre><strong>let</strong> billEmitterLayer = CAEmitterLayer()</pre><pre>billEmitterLayer.emitterPosition = CGPoint(x: view.bounds.width / 2, y: -50)</pre><pre>billEmitterLayer.emitterSize = CGSize(width: view.bounds.width, height: 0)</pre><pre>billEmitterLayer.emitterShape = .line</pre><pre>billEmitterLayer.emitterCells = [billEmitterCell]</pre><pre>view.layer.addSublayer(billEmitterLayer)</pre><blockquote>利用 CABasicAnimation &amp; CAShapeLayer 繪製線條動畫</blockquote><p>將之前用UIBezierPath畫出生成的CAShapeLayer(蘋果LOGO)加上線條繪製的動畫</p><pre><strong>let</strong> animation1 = CABasicAnimation(keyPath: &quot;strokeEnd&quot;) //動畫效果</pre><pre>animation1.fromValue = 0 //動畫起點</pre><pre>animation1.toValue = 1 //動畫終點</pre><pre>animation1.duration = 5 //設定動畫時間(second)</pre><pre>animation1.repeatCount = .greatestFiniteMagnitude //重複動畫</pre><pre>animation1.timingFunction = CAMediaTimingFunction(name: .easeInEaseOut) //調整動畫的速度</pre><pre>appleLayer.add(animation1, forKey: <strong>nil</strong>) //將動畫加到 CAShapeLayer</pre><blockquote>用 image view 實現多張圖片連續播放的動畫</blockquote><p>將 Jobs.gif 轉成多張圖片，但因爲原本轉檔的網站，會把我找的gif切的怪怪的，所以有另外再找一個轉檔網站：<a href="https://www.ewdna.com/2014/06/gif-split-frame.html">https://www.ewdna.com/2014/06/gif-split-frame.html</a></p><pre><strong>let</strong> imageView = UIImageView(frame: CGRect(x: -50, y: 250, width: 480, height: 360))</pre><pre>view.addSubview(imageView)</pre><pre><strong>let</strong> animatedImage = UIImage.animatedImageNamed(&quot;p1epbniu0apds12kebt7h3p1v124-&quot;, duration: 5)</pre><pre>imageView.image = animatedImage</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/360/1*AO5eC7tAy5nvnHwwVUmMnQ.gif" /></figure><p><a href="https://github.com/g810306/w5">g810306/w5</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2a7db053d8db" width="1" height="1" alt=""><hr><p><a href="https://medium.com/peter-pan-swift-ios-class/%E5%88%A9%E7%94%A8-viewdidload-%E5%AE%A2%E8%A3%BD-app-%E7%95%AB%E9%9D%A2-2a7db053d8db">利用 viewDidLoad 客製 App 畫面</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[運用 UIBezierPath 繪製Apple Logo]]></title>
            <link>https://medium.com/peter-pan-swift-ios-class/%E9%81%8B%E7%94%A8-uibezierpath-%E7%B9%AA%E8%A3%BDapple-logo-621f46a802a6?source=rss-7256c3edd8e3------2</link>
            <guid isPermaLink="false">https://medium.com/p/621f46a802a6</guid>
            <dc:creator><![CDATA[Ning]]></dc:creator>
            <pubDate>Sun, 13 Dec 2020 18:03:08 GMT</pubDate>
            <atom:updated>2020-12-14T02:27:09.981Z</atom:updated>
            <content:encoded><![CDATA[<p>在做這項功課的時候應該是上上禮拜了，但是一直沒時間打成文章，現在加上漸層的效果，簡單的做個紀錄</p><blockquote>起</blockquote><ol><li>建立 SwiftUI App 專案</li><li>在 ContentView.swift 貼程式</li><li>點選右上角的 resume 預覽畫面</li><li>在 function makeUIView 裡繪圖</li></ol><p><a href="https://medium.com/%E5%BD%BC%E5%BE%97%E6%BD%98%E7%9A%84-swift-ios-app-%E9%96%8B%E7%99%BC%E5%95%8F%E9%A1%8C%E8%A7%A3%E7%AD%94%E9%9B%86/%E4%BD%BF%E7%94%A8-swiftui-%E9%A0%90%E8%A6%BD-uibezierpath-%E7%9A%84%E7%B9%AA%E5%9C%96%E7%B5%90%E6%9E%9C-5d5b8e679287">使用 SwiftUI 預覽 UIBezierPath 的繪圖結果</a></p><blockquote>承</blockquote><p>本來開心的找好圖要來找座標繪製，殊不知摸了半天還是搞不定那些線條，就在東摸摸西摸摸的時候看到了一線曙光！非常適合我這個控制不了UIBezierPath的人，太感動了，感謝大大的分享</p><p><a href="https://medium.com/%E5%BD%BC%E5%BE%97%E6%BD%98%E7%9A%84-swift-ios-app-%E9%96%8B%E7%99%BC%E6%95%99%E5%AE%A4/%E6%87%B6%E4%BA%BA%E7%A5%95%E6%8A%80-svg-%E8%BD%89-uibezierpath-%E7%95%AB%E5%87%BA-twitter-logo-36df553337ce">懶人祕技：SVG 轉 UIBezierPath 畫出 Twitter Logo</a></p><ol><li>下載圖片SVG檔</li><li>以Sketch打開SVG檔，再次輸出（Export) SVG檔</li><li>再以Sublime Text 打開新的SVG檔，複製&lt;path&gt; 標籤內的代碼串。（註： 顏色放在&lt;fill &gt;標籤裡。）</li></ol><pre>M146.907242,44.1023681 C156.356276,32.2693739 161.080793,19.5299184 161.080793,5.87700201 L161.080793,3.15061854 C161.080793,2.23365774 160.989464,1.32719648 160.813831,0.417235376 C154.217071,0.781219818 147.226893,2.87763021 139.825735,6.69246715 C132.435115,10.5213035 126.333639,15.3510971 121.51428,21.1643486 C111.896639,32.6403581 107.080793,44.9178333 107.080793,58.0247731 L107.080793,60.6111625 C107.080793,61.4371272 107.172122,62.2980904 107.347754,63.2150512 C122.143045,64.6674891 135.32954,58.2942615 146.907242,44.1023681 Z</pre><p>4.打開<a href="https://swiftvg.mike-engel.com/">https://swiftvg.mike-engel.com/</a>(Convert SVG path data to a Swift 3 UIBezierPath)</p><pre><strong>let</strong> shape = UIBezierPath()<br>shape.move(to: CGPoint(x: 146.91, y: 44.1))<br>        shape.addCurve(to: CGPoint(x: 161.08, y: 5.88), controlPoint1: CGPoint(x: 156.36, y: 32.27), controlPoint2: CGPoint(x: 161.08, y: 19.53))<br>        shape.addLine(to: CGPoint(x: 161.08, y: 3.15))<br>        shape.addCurve(to: CGPoint(x: 160.81, y: 0.42), controlPoint1: CGPoint(x: 161.08, y: 2.23), controlPoint2: CGPoint(x: 160.99, y: 1.33))<br>        shape.addCurve(to: CGPoint(x: 139.83, y: 6.69), controlPoint1: CGPoint(x: 154.22, y: 0.78), controlPoint2: CGPoint(x: 147.23, y: 2.88))<br>        shape.addCurve(to: CGPoint(x: 121.51, y: 21.16), controlPoint1: CGPoint(x: 132.44, y: 10.52), controlPoint2: CGPoint(x: 126.33, y: 15.35))<br>        shape.addCurve(to: CGPoint(x: 107.08, y: 58.02), controlPoint1: CGPoint(x: 111.9, y: 32.64), controlPoint2: CGPoint(x: 107.08, y: 44.92))<br>        shape.addLine(to: CGPoint(x: 107.08, y: 60.61))<br>        shape.addCurve(to: CGPoint(x: 107.35, y: 63.22), controlPoint1: CGPoint(x: 107.08, y: 61.44), controlPoint2: CGPoint(x: 107.17, y: 62.3))<br>        shape.addCurve(to: CGPoint(x: 146.91, y: 44.1), controlPoint1: CGPoint(x: 122.14, y: 64.67), controlPoint2: CGPoint(x: 135.33, y: 58.29))<br>        shape.close()</pre><blockquote>轉</blockquote><ol><li>利用 UIBezierPath 繪製路徑</li><li>調整蘋果大小及位置</li><li>生成能顯示在畫面上的形狀，CAShapeLayer</li><li>利用 mask 讓 CAShapeLayer 繪製的形狀漸層</li></ol><p><a href="https://medium.com/%E5%BD%BC%E5%BE%97%E6%BD%98%E7%9A%84-swift-ios-app-%E9%96%8B%E7%99%BC%E5%95%8F%E9%A1%8C%E8%A7%A3%E7%AD%94%E9%9B%86/%E5%88%A9%E7%94%A8-mask-%E8%AE%93-cashapelayer-%E7%B9%AA%E8%A3%BD%E7%9A%84%E5%BD%A2%E7%8B%80%E6%BC%B8%E5%B1%A4-6738910f43bc">利用 CAGradientLayer &amp; mask 讓 CAShapeLayer 繪製的形狀變漸層</a></p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/7a8bfd9e723109095476c506612e219b/href">https://medium.com/media/7a8bfd9e723109095476c506612e219b/href</a></iframe><blockquote>合</blockquote><p>漸層蘋果生成！！</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*E_ocjbs8cEoN4RM9onD6Ww.png" /></figure><p><a href="https://github.com/g810306/apple">g810306/apple</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=621f46a802a6" width="1" height="1" alt=""><hr><p><a href="https://medium.com/peter-pan-swift-ios-class/%E9%81%8B%E7%94%A8-uibezierpath-%E7%B9%AA%E8%A3%BDapple-logo-621f46a802a6">運用 UIBezierPath 繪製Apple Logo</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[定義 function，像是一顆星星]]></title>
            <link>https://medium.com/peter-pan-swift-ios-class/%E5%AE%9A%E7%BE%A9-function-%E5%83%8F%E6%98%AF%E4%B8%80%E9%A1%86%E6%98%9F%E6%98%9F-3f7e221e7838?source=rss-7256c3edd8e3------2</link>
            <guid isPermaLink="false">https://medium.com/p/3f7e221e7838</guid>
            <dc:creator><![CDATA[Ning]]></dc:creator>
            <pubDate>Sun, 29 Nov 2020 10:18:03 GMT</pubDate>
            <atom:updated>2020-11-30T14:51:43.879Z</atom:updated>
            <content:encoded><![CDATA[<blockquote>找出歌詞重覆的段落，將它定義成無參數的 function，讓自己不用輸入重覆的歌詞，利用 print 將歌詞印出。</blockquote><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2F70RTxbhqj5s%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D70RTxbhqj5s&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2F70RTxbhqj5s%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/d358f056b1e5bb5c876c482379a57d53/href">https://medium.com/media/d358f056b1e5bb5c876c482379a57d53/href</a></iframe><p>原始歌詞：</p><pre>跌倒真的會不想再站起來 然後對著鏡子說 好多人還在等我<br>我想我是一個倔強又平凡的人 我要經歷的 我正經歷著<br>那時候變得堅定我記得好清楚 是第一次有人叫我名字 開始有人為我加油</pre><pre>像是一顆星星 被保護著前進 那笑著笑著就想哭的心啊<br>幸好有一些人不需要我太多解釋 只要求我 幾十年去換一點點成就</pre><pre>大人們總告訴我該怎麼做 我一邊聽著聽著 一邊長成大人了<br>我不想對過去的自己說些什麼 努力就好了 也就足夠了<br>那時候變得堅定我記得好清楚 是第一次有人叫我名字 揮著手</pre><pre>像是一顆星星 被保護著前進 那笑著笑著就想哭的心啊<br>幸好有一些人不需要我太多解釋 只要求我 幾十年去換一點點成就</pre><pre>走過的那些日子 我有了我的故事</pre><pre>被保護著前進 那笑著笑著就想哭的心啊<br>幸好有一些人不需要我太多解釋 只要求我 幾十年去換一點點成</pre><pre>像是一顆星星 被保護著前進 那笑著笑著就想哭的心啊<br>幸好有一些人不需要我太多解釋 只要求我 幾十年去換一點點成就<br>最大的成就 是一些人會替我 記得 我做過什麼</pre><p>找出重覆的段落，用 function 印出像是一顆星星的歌詞：</p><pre>func 跌倒真的會不想再站起來 () {<br>    print(&quot;跌倒真的會不想再站起來 然後對著鏡子說 好多人還在等我&quot;)<br>    print(&quot;我想我是一個倔強又平凡的人 我要經歷的 我正經歷著&quot;)<br>    print(&quot;那時候變得堅定我記得好清楚 是第一次有人叫我名字 開始有人為我加油&quot;)<br>}<br>func 像是一顆星星() {<br>    print(&quot;像是一顆星星&quot;)<br>}<br>func 被保護著前進 () {<br>    print(&quot;被保護著前進 那笑著笑著就想哭的心啊&quot;)<br>    print(&quot;幸好有一些人不需要我太多解釋 只要求我 幾十年去換一點點成就&quot;)<br>}<br>func 大人們總告訴我該怎麼做() {<br>    print(&quot;大人們總告訴我該怎麼做 我一邊聽著聽著 一邊長成大人了&quot;)<br>    print(&quot;我不想對過去的自己說些什麼 努力就好了 也就足夠了&quot;)<br>    print(&quot;那時候變得堅定我記得好清楚 是第一次有人叫我名字 揮著手&quot;)<br>}<br>func 走過的那些日子() {<br>    print(&quot;走過的那些日子 我有了我的故事&quot;)<br>}<br>func 最大的成就() {<br>    print(&quot;最大的成就 是一些人會替我 記得 我做過什麼&quot;)<br>}<br>跌倒真的會不想再站起來()<br>像是一顆星星()<br>被保護著前進()<br>大人們總告訴我該怎麼做()<br>像是一顆星星()<br>被保護著前進()<br>走過的那些日子()<br>被保護著前進()<br>最大的成就()</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/810/1*ZcfezWYVH4175yqXHNvmFA.png" /></figure><blockquote>胡鬧改編版：像是一隻猩猩</blockquote><p>定義有參數的 function，可傳入字串修改歌詞。</p><pre>func 跌倒真的會不想再站起來 () {<br>    print(&quot;跌倒真的會不想再站起來 然後對著鏡子說 好多人還在等我&quot;)<br>    print(&quot;我想我是一個倔強又平凡的人 我要經歷的 我正經歷著&quot;)<br>    print(&quot;那時候變得堅定我記得好清楚 是第一次有人叫我名字 開始有人為我加油&quot;)<br>}<br>func 像是(name: String) {<br>    print(&quot;像是&quot; + name + &quot;&quot;)<br>}<br>func 被保護著前進 () {<br>    print(&quot;被保護著前進 那笑著笑著就想哭的心啊&quot;)<br>    print(&quot;幸好有一些人不需要我太多解釋 只要求我 幾十年去換一點點成就&quot;)<br>}<br>func 大人們總告訴我該怎麼做() {<br>    print(&quot;大人們總告訴我該怎麼做 我一邊聽著聽著 一邊長成大人了&quot;)<br>    print(&quot;我不想對過去的自己說些什麼 努力就好了 也就足夠了&quot;)<br>    print(&quot;那時候變得堅定我記得好清楚 是第一次有人叫我名字 揮著手&quot;)<br>}<br>func 走過的那些日子() {<br>    print(&quot;走過的那些日子 我有了我的故事&quot;)<br>}<br>func 最大的成就() {<br>    print(&quot;最大的成就 是一些人會替我 記得 我做過什麼&quot;)<br>}<br>跌倒真的會不想再站起來()<br>像是(name: &quot;一隻猩猩&quot;)<br>被保護著前進()<br>大人們總告訴我該怎麼做()<br>像是(name: &quot;一隻猩猩&quot;)<br>被保護著前進()<br>走過的那些日子()<br>被保護著前進()<br>最大的成就()</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/954/1*KvK7-YwM1t3NSG90QPsJDg.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3f7e221e7838" width="1" height="1" alt=""><hr><p><a href="https://medium.com/peter-pan-swift-ios-class/%E5%AE%9A%E7%BE%A9-function-%E5%83%8F%E6%98%AF%E4%B8%80%E9%A1%86%E6%98%9F%E6%98%9F-3f7e221e7838">定義 function，像是一顆星星</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[BoogieBot讓跳舞機器人跳起來]]></title>
            <link>https://g810306.medium.com/boogiebot%E8%AE%93%E8%B7%B3%E8%88%9E%E6%A9%9F%E5%99%A8%E4%BA%BA%E8%B7%B3%E8%B5%B7%E4%BE%86-9cf8825a33ce?source=rss-7256c3edd8e3------2</link>
            <guid isPermaLink="false">https://medium.com/p/9cf8825a33ce</guid>
            <dc:creator><![CDATA[Ning]]></dc:creator>
            <pubDate>Sun, 22 Nov 2020 12:07:12 GMT</pubDate>
            <atom:updated>2020-11-22T12:09:30.708Z</atom:updated>
            <content:encoded><![CDATA[<p>來聽點快樂青春洋溢的歌曲吧！</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FT8QTvEQZIfs%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DT8QTvEQZIfs&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FT8QTvEQZIfs%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/520c7ab15263163180a3ebf51d5bc45f/href">https://medium.com/media/520c7ab15263163180a3ebf51d5bc45f/href</a></iframe><p>看完舞蹈後就要讓Bot跳起來～</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/dda79d7b079d046b574ab750640564fe/href">https://medium.com/media/dda79d7b079d046b574ab750640564fe/href</a></iframe><pre>startBot()<br>startRecording()<br>setBotTitle(&quot;TFBoys&quot;)<br>setBotSubtitle(&quot;跟著我左手右手一個慢動作&quot;)<br>func leftDance() {<br>    fabulize()<br>    leftArmUp()<br>    leftArmDown()<br>    shakeItLeft()<br>    shakeItCenter()<br>    leftLegUp()<br>    leftLegDown()<br>}<br>func rightDance() {<br>    fabulize()<br>    rightArmUp()<br>    rightArmDown()<br>    shakeItRight()<br>    shakeItCenter()<br>    rightLegUp()<br>    rightLegDown()<br>}<br>func allDance() {<br>    fabulize()<br>    shakeItLeft()<br>    shakeItRight()<br>    shakeItLeft()<br>    shakeItCenter()<br>    jumpUp()<br>    jumpDown()<br>    jumpUp()<br>    jumpDown()<br>    jumpUp()<br>    jumpDown()<br>}<br>allDance()<br>leftDance()<br>rightDance()<br>allDance()<br>rightDance()<br>leftDance()<br>allDance()</pre><p>下好指令，利用function執行重複的舞步</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/300/1*ceU1GStO18E_zl8qQWm-bA.gif" /></figure><p>實在跳太慢，也沒有配樂，目前功力不夠，先讓iMovie協助一下加速舞步及加入音效XD</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FfWaFFsduztc%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DfWaFFsduztc&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FfWaFFsduztc%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/44a8a113e7e958ebf97938e1156e98ef/href">https://medium.com/media/44a8a113e7e958ebf97938e1156e98ef/href</a></iframe><p>還在研究如何幫他找一個伴跳雙人舞</p><p>To be continued…</p><p><a href="https://medium.com/%E5%BD%BC%E5%BE%97%E6%BD%98%E7%9A%84-swift-ios-app-%E9%96%8B%E7%99%BC%E6%95%99%E5%AE%A4/%E7%94%A8-swift-%E6%89%93%E9%80%A0%E8%B7%B3%E8%88%9E%E6%A9%9F%E5%99%A8%E4%BA%BA-boogiebot-199d07d9bb95">用 Swift 打造跳舞機器人 BoogieBot</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9cf8825a33ce" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[用storyboard做APP挺金曲歌王]]></title>
            <link>https://medium.com/peter-pan-swift-ios-class/%E7%94%A8storyboard%E5%81%9Aapp%E6%8C%BA%E9%87%91%E6%9B%B2%E6%AD%8C%E7%8E%8B-a173ad8646fb?source=rss-7256c3edd8e3------2</link>
            <guid isPermaLink="false">https://medium.com/p/a173ad8646fb</guid>
            <dc:creator><![CDATA[Ning]]></dc:creator>
            <pubDate>Wed, 18 Nov 2020 16:10:32 GMT</pubDate>
            <atom:updated>2020-11-24T07:46:25.368Z</atom:updated>
            <content:encoded><![CDATA[<p>憂鬱上班族終於再次抬起雙手敲打文章，廢話不多說就趕快來一一介紹這次使用到的元件～</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zTugqu-2tB_dz2Sni6r88Q.png" /></figure><blockquote>LaunchScreen.storyboard</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*B9R1Jz3A311UXU6N_DVTfg.png" /></figure><p>設定開頭畫面，參考彼得潘的UI細節補充，到Xcode左邊的LaunchScreen.storyboard加入image view，就可以設定進入APP的開始畫面</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/360/1*4YJtMI2yDTubuaBdVw-NZQ.gif" /><figcaption>稍縱即逝的opening</figcaption></figure><blockquote>tab bar controller</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/360/1*n8SycOMR54oZZ3L_j5w-Bg.gif" /></figure><p>在設定tab bar item時，明明image是選內建的，模擬器可以顯示，但是裝到手機上就顯示不出來了，不知道是不是因為我的手機還是ios13???</p><p>另外有詢問彼得潘，就是在進入頁面時，都是顯示最左邊上冊的頁面，能不能設定我的第一個頁面是中間的專輯介紹，答案是：學會寫程式就可以修改囉～期待那天的到來XD</p><blockquote>nevigation controller</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/360/1*bCBeXuSE8zoFBPw4XZVVSQ.gif" /></figure><blockquote>table view controller&amp; scroll view</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/360/1*dUv_FxqUQHZAqIIQlSR-qA.gif" /><figcaption>table view controller</figcaption></figure><p>上半部用了十二張圖，四個table view cell</p><p>下半部每一幕各是一個table view cell，總共有五個</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/360/1*N6kf-wWy5Ze2OBohYbGCzw.gif" /><figcaption><strong>table view controller mix scroll view</strong></figcaption></figure><p>橫向的scroll view結合直向的table view controller，就是常常在各大影音APP看到的畫面，每首歌曲前面的image view也有設定layer.cornerRadius，50X50的圖片，值設定為7就能稍微有點弧度，如果不想要四四方方的scroll view也可以比照設定喔～</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/510/1*-FGINR9VP601g55fNhaJ7Q.png" /></figure><p>筆記−</p><p>Scroll view⬇️</p><p><a href="https://medium.com/%E5%BD%BC%E5%BE%97%E6%BD%98%E7%9A%84-swift-ios-app-%E9%96%8B%E7%99%BC%E5%95%8F%E9%A1%8C%E8%A7%A3%E7%AD%94%E9%9B%86/%E5%9C%A8-storyboard-%E8%A8%AD%E5%AE%9A-content-size-%E5%AF%A6%E7%8F%BE%E6%B0%B4%E5%B9%B3%E6%8D%B2%E5%8B%95%E7%9A%84-scroll-view-2710fa247293">設定 content size，實現水平捲動，上下捲動和分頁的 scroll view</a></p><p>MV點選⬇️</p><p><a href="https://medium.com/%E5%BD%BC%E5%BE%97%E6%BD%98%E7%9A%84-swift-ios-app-%E9%96%8B%E7%99%BC%E5%95%8F%E9%A1%8C%E8%A7%A3%E7%AD%94%E9%9B%86/%E4%B8%8D%E5%AF%AB%E4%B8%80%E8%A1%8C-swift-%E7%A8%8B%E5%BC%8F-%E9%BB%9E%E6%93%8A%E5%9C%96%E7%89%87%E9%A1%AF%E7%A4%BA%E7%B6%B2%E9%A0%81-75eb168610eb">不寫一行 Swift 程式，點擊圖片顯示網頁</a></p><blockquote>text view</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/360/1*UYeMvSakeTa4dC-2ELj9Ng.gif" /></figure><p>字數如果比較多，可以用text view，他能夠在既有的文字框中上下滑動看到下面隱藏的字，使用text view如果沒有要讓文字可以編輯，要記得將editable取消</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/518/1*2Jw-1NtInjsnn8T-KcqUMQ.png" /></figure><blockquote>最後……</blockquote><p>元件介紹完畢，最後完整的跑一下整個APP</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/360/1*DuRW77eoLVHQ2GTVQg0INQ.gif" /></figure><p>順道一提，本來有要設定表格的背景圖片，但覺得太花了，最後還是拿掉，在設定的時候還失敗，一直想說明明步驟都一模一樣，到底哪裡有問題，結果是table view上面有個background，下面也有一個，搞錯別人的家世背景了XDD</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/512/1*TQR_ALAKs5J8-t4QuEsKlA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/516/1*SQC0hwS6z8dvZWrMriLO3A.png" /><figcaption>不要被右邊那傢伙給騙了，左邊才是對的！</figcaption></figure><p><a href="https://medium.com/%E5%BD%BC%E5%BE%97%E6%BD%98%E7%9A%84-swift-ios-app-%E9%96%8B%E7%99%BC%E5%95%8F%E9%A1%8C%E8%A7%A3%E7%AD%94%E9%9B%86/%E8%A8%AD%E5%AE%9A%E8%A1%A8%E6%A0%BC%E7%9A%84%E8%83%8C%E6%99%AF%E5%9C%96%E7%89%87-45508aa6f630">設定表格的背景圖片</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a173ad8646fb" width="1" height="1" alt=""><hr><p><a href="https://medium.com/peter-pan-swift-ios-class/%E7%94%A8storyboard%E5%81%9Aapp%E6%8C%BA%E9%87%91%E6%9B%B2%E6%AD%8C%E7%8E%8B-a173ad8646fb">用storyboard做APP挺金曲歌王</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[Kakao Friends APP，gif錄製，GitHub上傳]]></title>
            <link>https://g810306.medium.com/kakao-friends-app-gif%E9%8C%84%E8%A3%BD-github%E4%B8%8A%E5%82%B3-de5f7971fb6a?source=rss-7256c3edd8e3------2</link>
            <guid isPermaLink="false">https://medium.com/p/de5f7971fb6a</guid>
            <dc:creator><![CDATA[Ning]]></dc:creator>
            <pubDate>Sun, 08 Nov 2020 15:52:34 GMT</pubDate>
            <atom:updated>2020-11-08T16:10:33.863Z</atom:updated>
            <content:encoded><![CDATA[<h3>Kakao Friends gif錄製，GitHub上傳</h3><blockquote>上班很憂鬱，小物來療癒</blockquote><p>前陣子迷上Kakao Friends的可愛小桃子Apeach，平常看起來無辜可愛，卻常常欺負他的朋友們，特別是Ryan，總是賊頭賊腦的讓人摸不清他在想什麼。</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/334/1*MkZVl1boDsOE9qhDi32xcw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/306/1*5V8GbjyFZc5Mkw39eAtw5Q.png" /></figure><p>身為經常憂鬱煩悶的上班族，辦公桌當然也少不了他的身影～～～</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/968/1*wGNc3V_yXw1aUiEXL39GJQ.png" /></figure><p>所以這次的APP就決定來做Apeach與他朋友們的介紹！</p><blockquote>Kakao Friends APP</blockquote><p>一開始看到畫面充滿Kakao Friends還很開心，做到後來蠻後悔為什麼要選這個有八個角色的折磨自己，雖然有複製貼上可以用，但還是覺得心累～</p><p>在製作APP的時候還一度耍蠢，選了一個以為有去背的圖片，加入Assets.xcassets後，要從image view放圖，想說圖片怎麼一直有背景，糾結超久，結果是我載了有背景的圖以為有去背，真的不能用電腦用太晚，腦袋會秀逗&gt;&lt;</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/890/1*02QZ7m_3WzUQJEE7fGpjNQ.png" /></figure><p>APP使用元件：</p><p>image view/button/navigation item/bar button item</p><p>lebel/text field/text view，當時順便一起研究這三個元件的差異，所以文字的元件還沒有照他們各自的特性去使用，下次再來寫一篇這三個的研究心得</p><blockquote>Kakao Friends.gif</blockquote><p>這次的錄製是用LICEcap錄製的，操作一次就可以上手了</p><p><a href="https://medium.com/%E5%BD%BC%E5%BE%97%E6%BD%98%E7%9A%84-swift-ios-app-%E9%96%8B%E7%99%BC%E6%95%99%E5%AE%A4/%E9%8C%84%E8%A3%BD%E5%88%86%E4%BA%AB%E7%B2%BE%E9%87%87%E7%9A%84ios-app%E6%93%8D%E4%BD%9C%E5%BD%B1%E7%89%87%E5%92%8Cgif-ffae55ffdbe1">錄製分享精采的 iOS App 操作影片</a></p><p>不過疑惑的是，為何Xcode中的device沒有跟我的手機XS同樣尺寸的呢？難道拿X.XS.11pro的已經落伍了……求救彼得潘後，大神回覆之後可以用別的技術去處理，所以現在在模擬器以及我只用了一年多的手機畫面會有點偏差，就先忽略它吧！</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/360/1*Ilke_uN4qlRCI_ZWJIM88Q.gif" /></figure><blockquote>GitHub上傳</blockquote><p>上傳GitHub也是一陣亂，彼得潘有列出的上傳問題我應該都遇到了，不過有了下面的寶典，照著去做，問題都迎刃而解囉！</p><ul><li><a href="https://medium.com/%E5%BD%BC%E5%BE%97%E6%BD%98%E7%9A%84-swift-ios-app-%E9%96%8B%E7%99%BC%E5%95%8F%E9%A1%8C%E8%A7%A3%E7%AD%94%E9%9B%86/%E5%A6%82%E4%BD%95%E5%B0%87-ios-app-%E4%BD%9C%E6%A5%AD%E4%B8%8A%E5%82%B3%E5%88%B0-github-135416069dfd">如何將 iOS App 作業上傳到 GitHub</a></li><li><a href="https://github.com/g810306/kakao-friends">g810306/kakao-friends</a></li></ul><p>最後，只想說，雖然身為文組生，但是打文章還是很令人痛苦XDD</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=de5f7971fb6a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[UI元件研究]]></title>
            <link>https://g810306.medium.com/ui%E5%85%83%E4%BB%B6%E7%A0%94%E7%A9%B6-d88498da7523?source=rss-7256c3edd8e3------2</link>
            <guid isPermaLink="false">https://medium.com/p/d88498da7523</guid>
            <dc:creator><![CDATA[Ning]]></dc:creator>
            <pubDate>Sun, 08 Nov 2020 15:16:13 GMT</pubDate>
            <atom:updated>2020-11-08T15:16:13.505Z</atom:updated>
            <content:encoded><![CDATA[<blockquote><strong><em>Segmented Control</em></strong></blockquote><p>切換分類的元件，比方選擇性別。</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/482/1*2A9VBc8bKVmnQCmkvAzaGQ.png" /></figure><p>1 Segments：設定選項數目</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/202/1*v_5BvpIaXPTAIj9IjMvBBg.png" /><figcaption>segments=2</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/190/1*2RWeUYXl6Qfj5gN9iHJFTg.png" /><figcaption>segments=3</figcaption></figure><p>2 Segment：由左至右，第一個選項為segment 0，第二個為segment 1，以 此類推，可進一步針對每個選項調整內容<br>3 Title：修改選項的文字內容，也可直接點選元件修改</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/244/1*58u2Wvene-AOP0-C6XcTew.png" /></figure><p>4 Image：可將選項設定為影像而非文字，文字及影像只能擇一</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/132/1*lDcSDG5Tws0YLYFL6V04ug.png" /></figure><p>5 Selected：在某個選項勾選selected，則元件會預設選擇該選項</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/138/1*iUvolrkO-BeT_NL1csWZmA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/136/1*zd1ajhib7APXzbDgJCHgCg.png" /></figure><blockquote><strong><em>Slider</em></strong></blockquote><p>滑動設定數值的元件，比方控制音樂的音量，螢幕的亮度等。</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/484/1*VDn1mZVjUivCV2NmtYyYZg.png" /></figure><p>1 Value/Minimum/Maximum：設定slider圓鈕/最小/最大數值</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/204/1*IAD8j7LcoQi3GjpQ-kUfnQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/488/1*PtjjI7QLS44TncoDR2J7bQ.png" /></figure><p>2 Min/Max Image：設定slider最小/最大數值圖像</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/232/1*sqr6LvJSwhPWMf-34D9eMg.png" /></figure><p>3 Min/Max Track：設定目前數值至最小/最大數值軌道之顏色<br>4 Thumb Tint：設定圓鈕顏色</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/184/1*VL1eUj68JNw_HFArDbt2Eg.png" /></figure><blockquote><strong><em>Switch</em></strong></blockquote><p>開關，比方設定是否打開 9:30 起床的鬧鐘。</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/506/1*acJVkHm-2wff6MB8zBcZ1A.png" /></figure><p>1 State：預設狀態為on/off</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/82/1*NtFfaetD3a-Uc1KhnsMTzQ.png" /><figcaption>on</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/84/1*pL_8dbF0DJBFKJzcHUkI_A.png" /><figcaption>off</figcaption></figure><p>2 On Tint：狀態為on，switch所呈現之顏色</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/78/1*SdqGiSI9qRhJJErSb7_zYQ.png" /></figure><p>3 Thumb Tint：圓鈕顏色</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/76/1*S6ZF58ixJ7sdMdD4KusXrA.png" /></figure><blockquote><strong><em>Activity Indicator View</em></strong></blockquote><p>代表正在做某件事的進度條，比方資料下載中。</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/510/1*uJuIULbR5qoS3int8pUQWA.png" /></figure><p>1 Style：狀態圈之大小</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/110/1*Z-hkWoWtaZfkYo5NhXfzFg.png" /><figcaption>large</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/62/1*490Vm7qB_COa0Nh0bz1itQ.png" /><figcaption>medium</figcaption></figure><p>2 Color：狀態圈顏色選擇</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/54/1*_nldUP5fbZc4skasFNRS_Q.png" /></figure><p>3 Animating：狀態圈會轉動</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/145/1*y7ylABOISXPIGtZb2H5akA.gif" /></figure><blockquote><strong><em>Progress View</em></strong></blockquote><p>顯示進度的進度條，比方資料下載的進度。</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/520/1*qGwmjfkTK5QqCzjEKPjhyQ.png" /></figure><p>1 Style：調整進度條粗(default)細(bar)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/322/1*kYhYZvQ3OS1w7jA2uv_Khw.png" /><figcaption>default</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/318/1*Rd2YAzBrrmrQv1SOR5J7KA.png" /><figcaption>bar</figcaption></figure><p>2 Progress：目前進度</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/210/1*p4h-tebpCJDxlA49VTu3Yg.png" /><figcaption>progress=0.2</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/216/1*3Afkszpaj3ujNGD65IrJYw.png" /><figcaption>progress=0.8</figcaption></figure><p>3 Progress Tint：目前進度之顏色</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/204/1*z0SMKew9hbsFiOQuZdcd9w.png" /></figure><p>4 Track Tint：進度條顏色</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/206/1*XscDHnZ3-OsATpTI7DLKfQ.png" /><figcaption>yellow</figcaption></figure><p>5 Progress Image：目前進度條之圖像，若有設定progress tint則無法設定圖像</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/142/1*m3vCKbxgEf49_hjRGL4Zrw.png" /></figure><p>6 Track Image：將進度條以圖像呈現，若有設定track tint則無法設定圖像</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/136/1*iv5wVtfLDmKdwLzLqxBZ8Q.png" /></figure><blockquote><strong><em>Visual Effect View with Blur</em></strong></blockquote><p>毛玻璃效果。可讓背景模糊，凸顯主題。</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/512/1*HcGPuxRhDXdFOyTKl2vzCA.png" /></figure><p>Blur Style：毛玻璃樣式調整</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/274/1*dqduSo-xNCQBTRZoEKtqeg.png" /><figcaption>regualr</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/264/1*nHS0Mb4hmCVuGQjfcXp3Hg.png" /><figcaption>prominent</figcaption></figure><blockquote><strong><em>Page Control</em></strong></blockquote><p>小圓點，顯示有幾個分頁和目前在第幾個分頁。</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/518/0*oQRhDStO0ICLn0iP.png" /></figure><p>1 # of Pages：分頁數量</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/84/1*feU5UJblotfjBl0-PzbuIg.png" /><figcaption># of Pages=3</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/120/1*P2EpBeTFnFvuj2rKAKCmxw.png" /><figcaption># of Pages=5</figcaption></figure><p>2 Current：當前的分頁</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/184/1*KEjqnL2LLVdlMY7SMu2y-Q.png" /><figcaption>current=0</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/194/1*uQCP7C_Iwr7l53qpQPquHg.png" /><figcaption>current=2</figcaption></figure><p>3 Hides for Single Page：# of Pages=1時，則不顯示page control<br>4 Tint Color：所有分頁之小圓點顏色(下圖粉)<br>5 Current Page：當前分頁之小圓點顏色(下圖藍)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/174/1*sLkIJvWx9TDwgacXOWdNng.png" /></figure><blockquote><strong><em>Date Picker</em></strong></blockquote><p>時間選擇的元件。</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/476/1*cUbhT2Rmn1Ij3HvZoIO2_g.png" /></figure><p>1 Style</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/309/1*6cu9yfxNbNlP8AF4VS97gA.gif" /><figcaption>automatic</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/309/1*nbs80nGy_WZNNIQn1Yju5g.gif" /><figcaption>wheels</figcaption></figure><p>2 Mode</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/334/1*Ke_kMYAZd-RWQcVakXXxAA.png" /><figcaption>time</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/342/1*2zQ9fwebH8MTsUxId6q5kg.png" /><figcaption>date</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/342/1*Wq3vBCmc3NryJBdxew83DA.png" /><figcaption>day and time</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/342/1*Bm2hbPg_5SkiPtj2YWmi4Q.png" /><figcaption>count down timer</figcaption></figure><p>3 Locale：各國時間呈現方式</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/342/1*L4q656TxUhnUqx2gxwGHbw.png" /><figcaption>Chakma(India)</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/346/1*C1binxiN6qakEjndKSmYvw.png" /><figcaption>Chinese</figcaption></figure><p>4 Interval：分鐘間距</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/352/1*8AkY8IQOZiGQhggycwfXEQ.png" /><figcaption>6minutes</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/326/1*jEJnOaHi-Ghxn_zmTGfEHA.png" /><figcaption>15minutes</figcaption></figure><p>5 Date：預設為系統時間(current)，或自訂其他時間(custom)<br>6 Minimum/Maximum Date：設定date picker能選擇到多久以前/以後的時間</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d88498da7523" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>