PIXNET Logo登入

Will的部落格

跳到主文

Will程式語言學習筆記

部落格全站分類:數位生活

  • 相簿
  • 部落格
  • 留言
  • 名片
  • 3月 28 週一 201623:41
  • 何時該下手買apple(蘋果)產品

http://buyersguide.macrumors.com
MacRoumors此連結網站整理了所有蘋果商品之週期,
也可透過buy now, 或dont buy來決定,
(繼續閱讀...)
文章標籤

Will 發表在 痞客邦 留言(0) 人氣(71)

  • 個人分類:其他
▲top
  • 3月 09 週三 201621:03
  • iOS - app畫面/頁面切換

Screen Shot 2016-03-09 at 9.11.01 PM.png
一個app通常具有多個畫面, 而每個畫面搭載的功能也不盡相同
若新增一個畫面必須遵循以下三個步驟
(繼續閱讀...)
文章標籤

Will 發表在 痞客邦 留言(0) 人氣(1,127)

  • 個人分類:其他
▲top
  • 3月 01 週二 201621:52
  • 16. 英文片語 - scratch someone's back

scratch someone's back



原文解釋: to do a favor for someone in return for a favor done for you
(繼續閱讀...)
文章標籤

Will 發表在 痞客邦 留言(0) 人氣(443)

  • 個人分類:English idiom - 日常英文片語, 成語 2
▲top
  • 3月 01 週二 201621:36
  • 15. 英文片語 - break a leg

break a leg



原文解釋: something that you say to wish someone good luck, 
              especially before they perform in the theatre
(繼續閱讀...)
文章標籤

Will 發表在 痞客邦 留言(0) 人氣(453)

  • 個人分類:English idiom - 日常英文片語, 成語 2
▲top
  • 2月 29 週一 201601:57
  • 5. 列印2到n的質數

質數定義為除了自己和1之外不能被任何數整除
用了布林變數isPrime來判斷, 若迴圈執行過程中
(繼續閱讀...)
文章標籤

Will 發表在 痞客邦 留言(0) 人氣(3,498)

  • 個人分類:常見面試考題
▲top
  • 2月 18 週四 201622:47
  • 4. 計算兩正整數之最大公因數

計算兩正整數之最大公因數,
詳如以下程式碼: 
int main(void)
{
int u, v, tmp;

scanf("%d %d", &u, &v);

while (v != 0)
{
tmp = u % v;
u = v;
v = tmp;
}

printf("%d\n", u);

return 0;
}

(繼續閱讀...)
文章標籤

Will 發表在 痞客邦 留言(0) 人氣(588)

  • 個人分類:常見面試考題
▲top
  • 1月 27 週三 201617:12
  • 14. 英文片語 - had it coming

had it coming
原文解釋: if someone had it coming, something bad happened to them
              which they deserved (often + to )
中文解釋: 即將到來,也同樣帶有活該之意思,相似詞有deserves it, sucks for you等等。
已下為例句:
1. I feel sorry that he got fired. But he surely had it coming with all those unexcused absences.
2. Maybe I had it coming , you know ? bad karma.
3. The guy really had it coming.
4. She should have it coming on her, for she's been too conceited.
5. I told you not to eat so much chocolate, but you didn't listen. You had it coming.
6. The boy that often bullies other students was kicked out of school. He really had it coming.
(繼續閱讀...)
文章標籤

Will 發表在 痞客邦 留言(1) 人氣(567)

  • 個人分類:English idiom - 日常英文片語, 成語 2
▲top
  • 1月 27 週三 201615:43
  • 13. 英文片語 - serve someone right

serve someone right
原文解釋: [for an act or event] to punish someone fairly (for doing something)
中文解釋: 帶有活該, 自作自受之意思。
已下為例句:
1. It serves you right to have lost your purse . you're always too careless with it.
2. You touched her and she slapped you . it serves you right.
3. I once told you to work hard , but you always turned a deaf ears to me. it serves you right.
4. Punish him; it will serve him right for what he has done to you.
5. After the way she treated him, it would serve her right if he left her.
6. It would serve you right if your children never spoke to you again.
7. John copied off my test paper. It would serve him right if he fails the test.
(繼續閱讀...)
文章標籤

Will 發表在 痞客邦 留言(0) 人氣(2,367)

  • 個人分類:English idiom - 日常英文片語, 成語 2
▲top
  • 1月 14 週四 201622:38
  • iOS - 屏幕閃屏(flash)特效

此範例要介紹的是當iOS使用螢幕截圖時,
瞬間所閃爍的白光特效,
首先在interface範圍中宣告一個property
@property (strong, nonatomic) IBOutlet UIView *flashView;
(繼續閱讀...)
文章標籤

Will 發表在 痞客邦 留言(0) 人氣(296)

  • 個人分類:其他
▲top
  • 1月 14 週四 201622:05
  • 使用watchConnectivity讓watch與iosApp間傳輸資料

學習新技術時碰上watchConnectivity,
它可使iOS app與appleWatch app兩者傳遞資料,
圖檔文字皆可, 但目前只使用過傳遞文字,
而由於就專案使用objectiveC製作, 
線上的watchOS2較多Swift資源, 
所以此範例在watch上則使用swift,
首先在viewdidload中得先加入以下程式碼, watch與主app都要
(繼續閱讀...)
文章標籤

Will 發表在 痞客邦 留言(0) 人氣(321)

  • 個人分類:watchConnectivity
▲top
«1234...25»

個人資訊

Will
暱稱:
Will
分類:
數位生活
好友:
累積中
地區:

熱門文章

  • (4,984)9. 英文片語 - lost one's train of thought
  • (27,174)Linux - cd指令(切換工作目錄)
  • (590)24. 英文片語 - out of one's element
  • (666)33. 英文片語 - be packed like sardines
  • (4,394)35. 英文片語 - get something off one's chest
  • (4,594)38. 英文片語 - butt head with someone
  • (4,348)41. 英文片語 - have my heart set on (something)
  • (6,170)50. 英文片語 - be that as it may
  • (604)55. 英文片語 - stick to
  • (662)56. 英文片語 - spit it out

文章分類

toggle SWIFT (2)
  • 網路服務與應用 (1)
  • 多媒體應用 (2)
toggle appleWatch學習筆記 (1)
  • watchConnectivity (1)
toggle 面試考題 (4)
  • 遞迴 (4)
  • C:選擇題 (2)
  • 常見面試考題 (8)
  • C:traceCode (2)
toggle appOnSale (1)
  • iOS (8)
toggle Java (1)
  • 檔案處理 (1)
toggle 英語學習 (2)
  • English idiom - 日常英文片語, 成語 (100)
  • English idiom - 日常英文片語, 成語 2 (16)
toggle Objective-C (2)
  • 類別, 物件與方法 (2)
  • 繼承 (2)
toggle 程式設計競賽題目 (3)
  • chapter1 (5)
  • chapter3 (1)
  • chapter2 (5)
toggle Linux (4)
  • Linux基本指令 (5)
  • Linux壓縮指令 (2)
  • Linux網路指令 (3)
  • Linux檔案與目錄管理 (1)
toggle 資料結構&演算法 (1)
  • sort排序 (2)
toggle android學習筆記 (7)
  • 其他 (1)
  • 網路服務相關 (1)
  • 用Intent啟動程式中其他activity (1)
  • SQLite資料庫 (2)
  • 事件處理 (5)
  • 多媒體相關 (1)
  • 控制元件相關 (11)
toggle iOS學習筆記 (7)
  • 其他 (14)
  • 初階UI設計 - 操作型元件 (13)
  • 初階UI設計 - 顯示型元件 (5)
  • 初階手勢gesture運用 (3)
  • 初階UI設計 - 指示型元件 (5)
  • 初階iOS內建裝置-多媒體功能 (7)
  • 初階iOS網路服務應用- 資料接收與傳送 (4)
  • 未分類文章 (1)

最新文章

  • iOS - NShopper (任天堂Switch商城特價遊戲查詢)
  • iOS - Bitcoin Miner (iOS比特幣挖礦程式)
  • iOS - Electronic Music Radio (免費電子音樂, 線上廣播)
  • iOS - Music Addict Radio (免費音樂, 完整曲風, 線上廣播)
  • iOS(Swift) - 播放影片
  • iOS(Swift) - 播放音樂
  • iOS(Swift) - 下載圖片並使用非同步傳輸
  • iOS - 2016/06/01之後app必須支援IPv6之問題
  • iOS - 後搖滾廣播電App(PostRock)
  • iOS - 調音器App(ThePitchPerfect)

動態訂閱

文章精選

文章搜尋

誰來我家

參觀人氣

  • 本日人氣:
  • 累積人氣: