XSLT存档  

不及格的程序员-八神

 查看分类:  ASP.NET XML/XSLT JavaScripT   我的MSN空间Blog
06 2012 档案
What's the difference between declaring a variable “id” and “NSObject *”?
摘要:With a variable typedid, you can send it any known message and the compiler will not complain. With a variable typedNSObject *, you can only send it messages declared by NSObject (not methods of any subclass) or else it will generate a warning. In general,idis what you want.idmeans "an object&q 阅读全文
posted @ 2012-06-25 13:05 不及格的程序员-八神 阅读(692) 评论(0) 推荐(1)
IAP程序在内测期间的各种问题
摘要:获取app的iap购置项,是通过app的Bundle identifier标识来向apple服务器获取的,在购买指定商品之前,产品队例必须已经获取了产品标识,否则会出错的。我分别设置了我们账号的Bundle identifier,与一个日本账号的Bundle identifier,结果获取的购买项都是各自在iTunes connect中设置好的。但是当我设置成iSlash的Bundle identifier时候,却什么也取不到,不知道为什么呢?。我后来证实也可以获得呵呵!另外在获取购买项时,有时会出现获取不到localizedTitle的情况,苹果很抽风。而且有时会买不到商品的情况,就是你获取 阅读全文
posted @ 2012-06-23 10:41 不及格的程序员-八神 阅读(329) 评论(0) 推荐(0)
nil localizedTitle in SKProduct
摘要:昨天北京时间6月21日,在测试APP内购的时候 SKProduct 的属性localizedTitle突然为null了,其它属性正常,而前一天代码还好使,反重调试无果....今天果断再次google,发现美国那边也不只一人出现同样的问题,所以断定是苹果出了问题.http://stackoverflow.com/questions/11134303/nil-localizedtitle-in-skproducthttps://devforums.apple.com/thread/155695?start=0&tstart=0https://discussions.apple.com/me 阅读全文
posted @ 2012-06-22 08:56 不及格的程序员-八神 阅读(1431) 评论(0) 推荐(0)
In-App Purchase
摘要:IntroductionIn-App Purchase allows you to embed a store directly within your application. You implement In-App Purchase in your application using the Store Kit framework. Store Kit connects to the App Store on your application's behalf to securely process payments from the user. Store Kit prompt 阅读全文
posted @ 2012-06-08 10:02 不及格的程序员-八神 阅读(503) 评论(0) 推荐(1)
StoryBoard 弹出模式窗口的诡异问题
摘要:在StoryBoard中设置弹出Model ViewController时,将segue的presentation项选择为除了UIModalPresentationCurrentContext和Default(它代表目标视图控制器的presentation属性设置,如果目标属性为CurrentContext那么也会发生)之外,当内存紧缺时,父视图都不会viewDidUnload,而XCode3.2则不在呼这一设置,让我很是费解啊。如果想在多于二层的视层控制器保证最后一个视图可以半透显示在上层的话,你必须将最开始的那层视图控制器设置为CurrentContext,但是也导致了它会视图释放掉,然后 阅读全文
posted @ 2012-06-07 17:12 不及格的程序员-八神 阅读(928) 评论(0) 推荐(1)
What is the new iPad retina display?
摘要:being retina display does not depend only on the ppi. it also depends on the viewing distance.using the formula a = 2tan-1(h/2d) at 15 inches(2.54厘米) away qualifies for a retina display.the eyes cannot discern the pixels at the distance, which is the essence of Retina Display.Retina 屏幕究竟是如何定义的?为何分辨率 阅读全文
posted @ 2012-06-06 10:02 不及格的程序员-八神 阅读(549) 评论(0) 推荐(0)
来电归属地 黑名单‘s
摘要:陏着类似"来电归属地"这样的App越来越多,由于是采用企业开发账号,那么当账号过期之后它们的程序将不能再启动了,它们只有一年的使用时间. 对于这样的壳应用在app store上,对用户的利益是无法保障的,应该被禁止。 items assets kind software-package url http://65.49.26.76/ipa/BlackList.ipa kind full-size-image needs-shine url http://65.49.26.76/tubiao@2x.png kind display-image needs-shine u... 阅读全文
posted @ 2012-06-05 09:52 不及格的程序员-八神 阅读(762) 评论(2) 推荐(0)
Objective-C Advancements in Depth
摘要: 阅读全文
posted @ 2012-06-04 16:39 不及格的程序员-八神 阅读(402) 评论(0) 推荐(0)