Time of Update: 2018-12-06
葉子類目葉子類目 葉子類目:下面沒有子類目的類目。調用taobao.itemcats.get.v2(擷取後台供賣家發布商品的標準商品類目)參考 後台類目前台類目屬性工具: 請點擊屬性工具,圖形化介面理解更直觀。來自 http://open.taobao.com/dev/index.php/%E5%8F%B6%E5%AD%90%E7%B1%BB%E7%9B%AE
Time of Update: 2018-12-06
文章目錄 Bells And Whistles Bells And WhistlesThe iPhone has a set of nice transition animations which makes the experience using it very pleasant. But after a while one get so used of them that one stop noticing that they
Time of Update: 2018-12-06
在多線程操作中,有一個著名的錯誤,叫做“Tried to obtain the web lock from a thread other than the main thread or the web thread. This may be a result of calling to UIKit from a secondary
Time of Update: 2018-12-06
在Finder中顯示隱藏檔案很多使用Mac的同學都知道,Mac OS
Time of Update: 2018-12-06
關於iphone的防錯性編程 使用assert()assert宏的原型定義在assert.h中,其作用是如果它的條件返回錯誤,則終止程式執行. 原型定義: 1#include "assert.h"2void assert( int expression
Time of Update: 2018-12-06
自訂了一個UITableViewCell,但是在顯示在TableView中時,第一個Cell左上方和右上方顯示的時候,沒有圓角,檢查了一下代碼,將Cell子類中設定frame的語句屏蔽掉就可以了:- (id)initWithStyle:(UITableViewCellStyle) style reuseIdentifier: (NSString *) reuseIdentifier { if (self = [super initWithStyle:style
Time of Update: 2018-12-06
Default命名方法.png這個就不多說了,方法和icon是一樣的,只列出相關的尾碼預設為Default,也可用UILaunchImageFile key設定,在這用Default舉例旋轉 方向-PortraitUpsideDown-LandscapeLeft-LandscapeRight-Portrait-LandscapeNone也就是說你可以Default-Portrait.png
Time of Update: 2018-12-06
iPhone的特殊URLJUL在iPhone中,可以直接用UIApp開啟URL地址。如下所示: [ UIApp openURL: [ NSURL URLWithString:@"http://www.apple.com" ] ]; 或者: [ UIApp openURL: [ NSURL URLWithString:@"mailto:apple@mac.com?Subject=hello" ] ];
Time of Update: 2018-12-06
淺談iPhone和iPad開發中的表徵圖設定表徵圖大小問題我們的辛辛苦苦做出來的應用程式在iPhone上的表示僅僅是一個表徵圖,對這個表徵圖不可以不謹慎對待,不能因為大小不對頭這些小問題而失真啊什麼的。那麼,你知道表徵圖的大小和格式嗎?本文適用於iPhone,iPod Touch,iPad等各種iOS裝置。圖片大小 (px)檔案名稱用途重要程度512x512iTunesArtworkiTunes 商店中展示可以沒有,推薦有57x57Icon.pngiPhone/iPod touch上的App
Time of Update: 2018-12-06
1. 首先要明確的是,不使用pushViewController的預設動畫,所以在調用這個函數時,要將animated設定為NO.2. 使用普通的來CATransition實現轉換效果,代碼如下:CATransition *animation = [CATransition animation];[animation setDuration:0.3];[animation setType: kCATransitionMoveIn];[animation setSubtype:
Time of Update: 2018-12-06
(轉)multipart form-data boundary 說明 收藏原文連結:http://yefeng.javaeye.com/blog/315847含義 ENCTYPE="multipart/form-data" 說明: 通過 http 協議上傳檔案 rfc1867協議概述,jsp 應用舉例,用戶端發送內容構造 1、概述在最初的 http 協議中,沒有上傳檔案方面的功能。 rfc1867 (http://www.ietf.org/rfc/rfc1867.txt) 為 http
Time of Update: 2018-12-06
contentSize是scrollview可以滾動的地區,比如frame = (0 ,0 ,320 ,480) contentSize = (320 ,960),代表你的scrollview可以上下滾動,捲動區域為frame大小的兩倍。contentOffset是scrollview當前顯示地區頂點相對於frame頂點的位移量,比如上個例子你拉到最下面,contentoffset就是(0
Time of Update: 2018-12-06
UIAlertView的動畫效果實現代碼首先要加入QuartzCore.frameworkp.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: #ce3124}p.p2 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; min-height: 13.0px}p.p3 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px
Time of Update: 2018-12-06
Sizes of iPhone UI ElementsElementSize (in points)Window (including status bar)320 x 480 ptsStatus Bar(How to hide the status bar)20 ptsView inside window (visible status bar)320 x 460Navigation Bar44 ptsNav Bar Image / Toolbar
Time of Update: 2018-12-06
Instagram 代碼背後的免費午餐(續)我之前的一篇部落格詳細介紹了 Instagram 代碼使用過的所有開源項目。巧的是,昨晚 Hacker News 熱榜也出現了篇類似的博文。看來全世界的 iOS 開發人員都挺關心這些開源項目的。結合 Hacker News 這篇博文的內容,我繼續來作些補充。1. MBProgressHUD , ASIHttpRequest , JSON Framework , 這三個太有名了,上篇部落格裡也介紹過。4. Flurry – Detailed
Time of Update: 2018-12-06
Delete .svn folders on your MacSometimes you need to get rid of .svn hidden folders on your Mac. In my case it was about resyncing my local working copy with client subversion repository. Everything was broken at both ends.A couple of terminal
Time of Update: 2018-12-06
擷取所有html:NSString *lJs = @"document.documentElement.innerHTML"; 擷取網頁title:NSString *lJs2 = @"document.title"; UIWebView *lWebView = [self getCurrentWebView]; NSString *lHtml1 = [lWebView
Time of Update: 2018-12-06
授權機制說明目錄隱藏1 授權機制說明1.1 OAuth1.1.1 案頭應用的OAuth使用方式1.1.2 桌xAuth使用方式1.2 HTTP普通鑒權(Basic Authentication)方式 已不再支援授權機制說明大部分REST API的訪問如發表微博,擷取私信都需要使用者身份。目前使用者身份鑒權有OAuth和Basic Auth兩種方式。OAuthOAuth是一種國際通用的授權方式,它的特點是不需要使用者在第三方應用輸入使用者名稱及密碼。OAuth的技術說明可參看官方網站http://
Time of Update: 2018-12-06
使UITableView最上面留出UINavigationBar空間的兩種方法 使UINavigationBar透明,TableView在其下面,可以擴大UITableView的視野.1) UIView *headerView = [[UIView alloc] initWithFrame: CGRectMake(0, 0, 320, 44)]; m_tableView.tableHeaderView = headerView; 2)
Time of Update: 2018-12-06
1:id 就像身分證號,是唯一的, name 就像姓名一樣可以同名 2:一個元素定義了 id ,引用該元素時直接用 id 屬性,而 name 通常用在 form 中,且必須由 document.form.*** 而來,也就是說, name 屬性定義的元素在指令碼中是 document 對象的子物件。 3:name 用於 form 內元素,提交需要 id 用於 form