http://buyersguide.macrumors.com
MacRoumors此連結網站整理了所有蘋果商品之週期,
也可透過buy now, 或dont buy來決定,
Will 發表在 痞客邦 留言(0) 人氣(71)

一個app通常具有多個畫面, 而每個畫面搭載的功能也不盡相同
若新增一個畫面必須遵循以下三個步驟
Will 發表在 痞客邦 留言(0) 人氣(1,127)
scratch someone's back
原文解釋: to do a favor for someone in return for a favor done for you
Will 發表在 痞客邦 留言(0) 人氣(443)
break a leg
原文解釋: something that you say to wish someone good luck,
especially before they perform in the theatre
Will 發表在 痞客邦 留言(0) 人氣(453)
質數定義為除了自己和1之外不能被任何數整除
用了布林變數isPrime來判斷, 若迴圈執行過程中
Will 發表在 痞客邦 留言(0) 人氣(3,498)
計算兩正整數之最大公因數,
詳如以下程式碼:
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)
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)
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)
此範例要介紹的是當iOS使用螢幕截圖時,
瞬間所閃爍的白光特效,
首先在interface範圍中宣告一個property
@property (strong, nonatomic) IBOutlet UIView *flashView;
Will 發表在 痞客邦 留言(0) 人氣(296)
學習新技術時碰上watchConnectivity,
它可使iOS app與appleWatch app兩者傳遞資料,
圖檔文字皆可, 但目前只使用過傳遞文字,
而由於就專案使用objectiveC製作,
線上的watchOS2較多Swift資源,
所以此範例在watch上則使用swift,
首先在viewdidload中得先加入以下程式碼, watch與主app都要
Will 發表在 痞客邦 留言(0) 人氣(321)