Device tokens
摘要: Generated by APNs for each deviceDifferent from UDID entered into Program PortalDevice token value may changeApp is restored to a new deviceSame device is erased then app is reinstalled without restore uniquely identifies deviceCall registration API at each app launch and then send to server every t
阅读全文
posted @
2012-05-31 15:16 不及格的程序员-八神 阅读(40) |
评论 (0) 编辑
Including QuickTime Movies In A Web Page
摘要: Including QuickTime Movies In A Web PageNow that you've finished compressing your movie, you can deploy it to the web.QuickTime movies can be included in a web page allowing visitors to your website to experience media seamlessly inside their browser. This is accomplished by adding some HTML to
阅读全文
posted @
2012-05-30 14:22 不及格的程序员-八神 阅读(45) |
评论 (0) 编辑
IEEE printf specification
摘要: 败家苹果参考直接引用http://pubs.opengroup.org/onlinepubs/009695399/functions/printf.html文档来说明格式化的使用,可该文档没有微软的MSDN说的清楚明确,看看下面MSDN给出的格式说明可以说明一切。%[flags][width][.perc] [F|N|h|l]type1.type 含义如下: d 有符号10进制整数 i 有符号10进制整数 o 有符号8进制整数 u 无符号10进制整数 x 无符号的16进制数字,并以小写abcdef表示 X 无符号的16进制数字,并以大写ABCDEF表示 F/f 浮点数 E/e ...
阅读全文
posted @
2012-05-22 14:12 不及格的程序员-八神 阅读(55) |
评论 (0) 编辑
Core 's Framework
摘要: Core Graphics FrameworkThe Core Graphics framework (CoreGraphics.framework) contains the interfaces for the Quartz 2D drawing API.Quartzis the same advanced, vector-based drawing engine that is used in Mac OS X. It provides support for path-based drawing, anti-aliased rendering, gradients, images, c
阅读全文
posted @
2012-05-17 09:33 不及格的程序员-八神 阅读(90) |
评论 (0) 编辑
The Mac Application Environment
摘要: The Mac Application EnvironmentMac OS X incorporates the latest technologies for creating powerful and fun-to-use apps. But the technologies by themselves are not enough to make every app great. What sets an app apart from its peers is how it helps the user achieve some tangible goal. After all, use
阅读全文
posted @
2012-05-03 11:09 不及格的程序员-八神 阅读(90) |
评论 (0) 编辑
Animations
摘要: AnimationsBoth UIKit and Core Animation provide support for animations, but the level of support provided by each technology varies.In UIKit, animations are performed using UIView objects.Table 4-1Animatable UIView propertiesPropertyChanges you can makeframeModify this property to change the view’s
阅读全文
posted @
2012-05-02 15:33 不及格的程序员-八神 阅读(134) |
评论 (0) 编辑
Managing Nib Objects in iOS
摘要: Managing Nib Objects in iOSTop-Level ObjectsObjects in the nib file are created with a retain count of 1 and then autoreleased. As it rebuilds the object hierarchy, UIKit reestablishes connections between the objects usingsetValue:forKey:, which uses the available setter method or retains the object
阅读全文
posted @
2012-04-23 13:55 不及格的程序员-八神 阅读(103) |
评论 (0) 编辑
Specifying High-Resolution Images in iOS
摘要: Specifying High-Resolution Images in iOSAny iPhone application built for iOS 4.0 and later should include high-resolution versions of its image resources. When the application is run on a device that has a high-resolution screen, high-resolution images provide extra detail and look better because th
阅读全文
posted @
2012-04-20 16:46 不及格的程序员-八神 阅读(104) |
评论 (0) 编辑
XCode源代码管理与在Windows上架设Git服务器
摘要: 先在windows上安装git与copssh.1 - Git,Windows下的Git,还是msys-git比较好。2 - SSH,可以用CopSSH,可以在Windows上启动SSH服务,而不仅是客户端。安装这两个工具的过程没有什么难度。这里假定Git是安装在C:\Git目录下,CopSSH安装在C:\ICW目录下。那么当你安装好以后,git已经可以从远程得到版本库,SSH也有一个用户可以登录了。假定这个用户是git(CopSSH默认没有任何用户可以登录,需要手动激活一个设好密码的Windows用户,注意千万不要选administrator,否则你要悲剧,不能登录了,参见我博客:window
阅读全文
posted @
2012-04-19 17:31 不及格的程序员-八神 阅读(218) |
评论 (0) 编辑
Mac OSX 10.7.3 bugs.
摘要: 1. 我目前设置了双显示在mac系统上,另外一个显示器是原来pc的,时常切换,但在切换成pc时,mac系统内的鼠标滚动出现不平滑状态。。。。2.xocde 4.3 bugs, 当xcode窗口跨越两个显示器,这时点击xcode file菜单中的源代码控制器进行代码提交之后,xcode窗口位置会向最左面屏幕偏出许多。。。
阅读全文
posted @
2012-04-18 09:08 不及格的程序员-八神 阅读(149) |
评论 (0) 编辑
UINavigatorController 里面的下的模式视图不能半透明下面的视图。
摘要: RootViewController.h 作为UINavigatorController根视图,模式弹出新窗口时,新窗口透明的部分无效。 唉!!!!1 untitled *vc = [[untitled alloc] initWithNibName:@"untitled" bundle:nil];2 self.modalPresentationStyle = UIModalPresentationCurrentContext;3 vc.modalTransitionStyle = UIModalTransitionStyleCrossDissolve;4 //[self..
阅读全文
posted @
2012-04-13 13:44 不及格的程序员-八神 阅读(150) |
评论 (0) 编辑
dispatch_async 线程分发注意事项.
摘要: 1 // NOTE: GameCenter does not guarantee that callback blocks will be execute on the main thread. 2 // As such, your application needs to be very careful in how it handles references to view 3 // controllers. If a view controller is referenced in a block that executes on a secondary queue, 4 // t...
阅读全文
posted @
2012-04-11 09:43 不及格的程序员-八神 阅读(134) |
评论 (0) 编辑
XCode调试多线程遭遇海森伯效应一例
摘要: 1 dispatch_async(dispatch_get_global_queue(0, 0), ^{ 2 3 dispatch_async(dispatch_get_main_queue(), ^{ 4 ... 5 [self myMethod]; 6 7 }); 8 9 -(void)myMethod10 {11 self.view.frame = CGRectMake(0, ...
阅读全文
posted @
2012-04-10 11:19 不及格的程序员-八神 阅读(143) |
评论 (0) 编辑
通用版程序在the new iPad与Xcode4.3中的不兼容。
摘要: 开发的一款通用版程序由于the new ipad的出现,运行出现了不兼容现像。原有程序启动图片default.png,default@2x.png,default~ipad.png,出现启动画面偏移问题,解决方式添加default@2x~ipad.png.用xcode4.3版打开项目,调度运行项目,程序布局面目全非,用原来的xcode3.2版则没有问题。
阅读全文
posted @
2012-04-09 14:13 不及格的程序员-八神 阅读(125) |
评论 (3) 编辑
Viewing iPhone-Optimized PNGs
摘要: Technical Q&A QA1681Viewing iPhone-Optimized PNGsQ: When I build my iPhone OS application, Xcode optimizes the PNG files within my application's bundle, meaning that Preview can't display them. How can I view these optimized files?A:When I build my iPhone OS application, Xcode optimizes
阅读全文
posted @
2012-03-21 09:39 不及格的程序员-八神 阅读(102) |
评论 (0) 编辑
越狱与非越狱设备写权限区别
摘要: 越狱设备具有程序所在文件夹的读写权限,而非越狱设备只能写document目录,对于程序文件夹的写也是白写,不会记忆的。
阅读全文
posted @
2012-02-02 15:05 不及格的程序员-八神 阅读(317) |
评论 (0) 编辑
Infinity Blade2 (无尽之刃2)通关
摘要: 时隔一年之后这款游戏终于在今天出了第二版了,将它认为是历史上最强的iPhone 3D游戏一点都不过份。首先从南太平洋的新西兰store区下载,4小时后我将其通关。游戏故事曲折,不过还是没能将整个故事讲述请楚,最后还是留下后手与悬念,主角再次陷入痛苦,而它的搭档爱莎又会踏上拯救他的路程。更多图片在相册中 进入相册 http://www.cnblogs.com/ioriwellings/gallery/339591.html
阅读全文
posted @
2011-12-01 16:02 不及格的程序员-八神 阅读(405) |
评论 (0) 编辑
iOS编程陷井2,模拟器不可靠
摘要: 同样的代码,模拟器下不工作,真机下可以循环播放。MPMoviePlayerController *theMovie = [[MPMoviePlayerControlleralloc] initWithContentURL:[NSURLfileURLWithPath:[[NSBundlemainBundle] pathForResource:@"***"ofType:@"mp4"] ]];theMovie.repeatMode=MPMovieRepeatModeOne;theMovie.view.frame = self.view.bounds;[self
阅读全文
posted @
2011-11-25 15:04 不及格的程序员-八神 阅读(228) |
评论 (1) 编辑
苹果Lion 操作系统还没到成熟时
摘要: 无线路由识别问题iMac27下无线路由器设置40MHz通道能连上,但无法正确获取IP地址,但我的iPhone4,iPad,iPod均能连接,后来手动设置成20MHZ成功正确获取ip. 这个问题浪费我半天时间,因为iMac是双系统,win7没有此问题可以正确识别无线路由器,所以只好在路由上的设置作各种测试,网上查了一下,遇到此问题的不只我一个。app store软件升级断点续传问题在从xcode4.0升级到4.2的过程中,每次将要完成时都会重头开始再来。。。反复好几次,最后才算成功,600多MB啊,玩呢?
阅读全文
posted @
2011-11-18 10:58 不及格的程序员-八神 阅读(194) |
评论 (0) 编辑
object file format unrecognized, invalid, or unsuitable Command
摘要: 在build ios项目时,出现了这样的错误,仔细检测过不是因为开发证书的问题,而是缺少文件造成的,将xcode目录中的签名文件copy到系统目录即可。这是在一台新装的mac上产生的,估计是因为新装的xcode没有装完全造成的。sudo mv /usr/bin/codesign_allocate /usr/bin/codesign_allocate_oldsudo ln -s /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/codesign_allocate /usr/bin
阅读全文
posted @
2011-11-03 11:27 不及格的程序员-八神 阅读(175) |
评论 (0) 编辑
My new iMac 27
摘要: iMac 27 12GB Memory.用来贴补家用,有需要开发项目的可以与我联系 asp.net、组件开发 ,java,javascript,xml/xslt,objective-c 什么都行.目前上架产品包括:少儿有声阅读系列《单刀会》《白蛇传》《空城记》,新闻阅读有 “辽宁日报” “辽宁日报HD”,开发中的还有时尚生活导报。
阅读全文
posted @
2011-11-02 13:15 不及格的程序员-八神 阅读(202) |
评论 (0) 编辑
键盘控制
摘要: Beginning iOS 4 Application Development6. Keyboard inputswhAt yOu will leArn in thiS chApterHow to customize the keyboard for diff erent types of inputsHow to hide the keyboard when you are done typingHow to detect when a keyboard is visible or notHow to use ScrollView to contain other viewsHow to s
阅读全文
posted @
2011-10-22 11:55 不及格的程序员-八神 阅读(94) |
评论 (0) 编辑
iPad 开发陷井1
摘要: 在我开发通用版儿童教育类 iOS App<<单刀会>>中遇到了如下小陷井:在iOS设备中播放视频,iPad与iPhone在界面与形为上有一点小差别....,iPad默认情况会在视频控制器右上角多出一个切换全屏的按钮。同样的代码形成的效果见截图:MPMoviePlayerController *theMovie = [[MPMoviePlayerController alloc] initWithContentURL:[NSURL fileURLWithPath:[[NSBundle mainBundle] pathForResource:@"Desc"
阅读全文
posted @
2011-09-20 15:46 不及格的程序员-八神 阅读(262) |
评论 (0) 编辑
Multimedia Programming Guide & Audio
摘要: iOS offers a rich set of tools for working with sound in your application. These tools are arranged into frameworks according to the features they provide, as follows:■ Use theMedia Player framework to play songs, audio books, or audio podcasts froma user’s iPod library. For details, seeMedia Playe.
阅读全文
posted @
2011-08-22 11:48 不及格的程序员-八神 阅读(64) |
评论 (0) 编辑
Multi-Platform Support for the iPhone and iPad.
摘要: Copy from Beginning iOS 4 Application Development,author:Wei-Meng Lee, Microsoft MVP ,come from Singapore.technique 1 — mODifying the Device tArget SettingThe Targeted Device Family setting provides three different values: iPhone, iPad, or iPhone/iPad.#if (__IPHONE_OS_VERSION_MAX_ALLOWED >= 30200
阅读全文
posted @
2011-07-27 17:07 不及格的程序员-八神 阅读(101) |
评论 (0) 编辑
Emulator And Simulator
摘要: emulator 仿真器。通过软件方式,精确地在一种处理器上仿真另一种处理器或者硬件的运行方式。其目的是完全仿真被仿真硬件在接收到各种外界信息的时候的反应。我们现在常见的MAME、ePSXe等都是这一类。 仿真器多用于电视游戏和街机,也有一些用于掌上电脑。仿真器一般需要ROM才能执行,ROM的最初来源是一些原平台的ROM芯片,通过一些手段将原程序拷贝下来(这个过程一般称之为“dump”)然后利用仿真器加载这些ROM来实现仿真过程。 仿真器运行的程序一般是与目标机器码相同的二进制码,比如arm指令.很明显示的例子就是android 的apk可执行文件,可以装进emulator和真机中,而simu
阅读全文
posted @
2011-07-04 15:36 不及格的程序员-八神 阅读(114) |
评论 (0) 编辑
iOS 编程陷井.
摘要: 作者:不及格的程序员-八神要注意不支持的特性 比如你的手持设备不支持发送短信或邮件的话,创建该类型的类时将返回nil...,这与我们平常习惯性的理解不同,如果是我设计我会让它抛出异常可能会更好,至少不需要查api文档就知道怎么回事。设备的方向 当你在window上连续添加两个景色模式的视图控制器的时候,第二个视图的方向会保持人像模式,并且它的shouldAutorrotateToInterfaceOrientation方法不会被触发...根视图中的输出口 这个算不算,可以根据开发人员的个人理解而定,按传统编程想法,当从nib文件实例化一个视图控制器时,我觉得视图中的所有输出口控件都会自动初始化
阅读全文
posted @
2011-05-25 10:46 不及格的程序员-八神 阅读(1333) |
评论 (1) 编辑
与iPhone的差距!
摘要: 作者:不及格的程序员-八神功能简单数学题难倒智能手机(是呼是直指Android,很多用户都会看到该条消息,都会测试在自已的手机中测试,结果会很失望)8.03减去7.96等于多少?答案是0.07。14.52减去14.49等于多少?答案是0.03。这道简单的小数减法题,相信很多小学生都可以很快、很轻易、很从容地解答出来,但让人想不到的是,一部分智能手机却在这个算术题上栽了大跟头。软件及商店总有一些第三方自称是统计机构的组织站出来说某某平台的软件市场的上架软件数量,持续增长大有超过iturn appstore的趋式.数量不是关键,而在于质量啊,到现在我还没有找到在ANDROID平台上出类萃的新闻类软
阅读全文
posted @
2011-05-12 12:57 不及格的程序员-八神 阅读(3355) |
评论 (35) 编辑
Objective-c 为什么以.m为扩展名?
摘要: 大部人都说是因为c的方法声明放到.h文件中,而实现的方法(method)要放到.m文件中.也有一部人说是因为Objective-c很有特点的使用了message方式调用方法,所以文件名就定.m吧.but Brad Cox said : "Because .o and .c were taken. Simple as that."!!!
阅读全文
posted @
2011-05-05 17:33 不及格的程序员-八神 阅读(350) |
评论 (2) 编辑
Google-StyleGuide 一个不错的开源项目.
摘要: 推荐一个大众化语言学习的站点: http://code.google.com/p/google-styleguide/它使用xml+xslt的方式解析成HTML页面,并且循续渐近式的介绍每种(比较大众化的,目前收录了 C++ , JavaScript, Objective-C , 和Python )编程语言 .可以作为内部培训资料或是初学者使用.样例:BackgroundObjective-C is a very dynamic, object-oriented extension of C. It's designed to be easy to use and read, whil
阅读全文
posted @
2011-05-05 13:12 不及格的程序员-八神 阅读(406) |
评论 (0) 编辑
iPhone 游戏 Infinity Blade1.21 通关
摘要: 我喜欢有外星科技情节的一切,比如星际战舰,星际之门,星际旅行,第九区,独立日,还有这个游戏。。。游戏设计者在这1.0的后续版本中加入了这些新的情节,貌视最后的BOSS是主人公的祖先?
阅读全文
posted @
2011-05-03 15:01 不及格的程序员-八神 阅读(155) |
评论 (1) 编辑
iPhone应用程序中未知的崩溃日志 2
摘要: Thread 0 name: Dispatch queue: com.apple.main-threadThread 0 Crashed:0 libsystem_c.dylib 0x35f008b2 tiny_free_list_add_ptr + 1221 ??? 0x04010038 0 + 671744562 libsystem_c.dylib 0x35f04e76 szone_malloc_should_clear + 1663 libsystem_c.dylib 0x35f05f82 szone_calloc + 344 libsystem_c.dylib 0x35f291c0 ma
阅读全文
posted @
2011-05-03 14:25 不及格的程序员-八神 阅读(136) |
评论 (1) 编辑
在我的iOS App中捕获这样的错误日志,什么原因呢?
摘要: 2011-04-18 上午10点Thread 0 Crashed:0 libobjc.A.dylib 0x33a06466 objc_msgSend + 181 UIKit 0x313bdffe -[UIApplication _cancelGestureRecognizersForView:] + 182 UIKit 0x313b22e2 -[UIView(Hierarchy) _willMoveToWindow:] + 343 CoreFoundation 0x30435fe6 -[NSObject(NSObject) performSelector:withObject:withObje
阅读全文
posted @
2011-04-18 10:23 不及格的程序员-八神 阅读(156) |
评论 (0) 编辑
.Net Framework Json序列化的方式比较
摘要: "<p><a href=\"http://www.google.com\">google</a><img src=\"http://pic.cnblogs.com\" /></p>"同样一段html代码使用两种序列化方式有不同的结果.DataContractJsonSerializer 与 JavaScriptSerializer 结果分别为:"<p><a href=\"http:\/\/www.google.com\">
阅读全文
posted @
2011-04-12 13:18 不及格的程序员-八神 阅读(287) |
评论 (0) 编辑
一个UINavigationController和UITabBarController的小秘密.
摘要: 在UITabBarController设置自定义视图控制器时,导航类型为UINavigationController时,当你push一个不是当前活动tab控制器时,tab视图控制器不会有动作,但当你切换到那个tab控制器时,之前push的视图这时才会显示出来...,被delay了.
阅读全文
posted @
2011-04-09 11:07 不及格的程序员-八神 阅读(370) |
评论 (0) 编辑
今天是星期几,从iOS API 到 .net Framework.
摘要: 早已不用Javascript/VBscript获取星期几的函数了,getDay/Weekday.它们功能太单一,而且不扶持本地化.在iOS中获取某日期的API:NSDateFormatter *dateFormatter = [[NSDateFormatter alloc] init];dateFormatter.locale = [[[NSLocale alloc] initWithLocaleIdentifier:@"zh-CN"] autorelease];[dateFormatter setDateFormat: @"yyyy.MM.dd EEEE&quo
阅读全文
posted @
2011-04-01 11:23 不及格的程序员-八神 阅读(1703) |
评论 (1) 编辑
iPhone 游戏 Infinity Blade1.0 通关
摘要: 该游戏画面真是超赞,不过可玩度不是很高.一共也就6,7关,而且要想买武器,必须反复存盘重新开始好几遍,才能存够钱...,所以我用一个周六的时间反复的打啊,一定要忍.好的武器和防具是必须的,敌人很快就会倒在你的脚下,看看我的屠龙宝刀15万啊,杀伤力巨大.
阅读全文
posted @
2011-03-30 09:00 不及格的程序员-八神 阅读(213) |
评论 (4) 编辑
为什么总有iPhone游戏那么好玩呢? iSlash,Slice It
摘要: iSlash确实不错,我把它推荐给我媳妇,这家伙两天之内就将该游戏秒杀了,不得不配服啊,忍耐力很强啊.Slice It也是不错,不过越到最后遇难而不得不求助电脑指示,所以我与媳妇最后都不太兴致了,不过我儿子应该会乐此不皮吧,因为它的画面太卡通了.给我儿子又买了几个玩具车:
阅读全文
posted @
2011-03-21 17:25 不及格的程序员-八神 阅读(211) |
评论 (3) 编辑
终于在中国大陆的互联网络中用Facebook and tWitter 's iPhone 客户端登录了。
摘要: 一直要作这件事,终于成功了我是一个有超过10年工作经历的Advanced Developer,显然这个问题不是很困难,所以我做到了。所以呢之后便可以在iPhone中访问任何被中国网络禁止的内容了,包括http://groups.google.com, facebook, tWitter,这些对软件开发都非常有用。注:当然还要监控每个客户端都访问了哪些api URL,例如tWitter API.
阅读全文
posted @
2011-03-14 09:49 不及格的程序员-八神 阅读(428) |
评论 (0) 编辑
XCode V4 发布了, 苹果的却是个变态.
摘要: 如果你用的是IBM PC,下载页面会提示你:如果你用的是Apple PC,但还不是苹果开发者,下载页面会提示你:如果你已经是苹果开发者,直接copy下载地址发给别人,页面会提示他:不过这个最新版的开发工具XCode V4将UI设计界面工具(Interface Builder)也集成了,而且对编译器方面也作了调整(增加了LVMM compiler 2.0,都说速度很快 ),不过在使用之后Xcode整体速度下降了许多,没有之前快了,响应缓慢,使用习惯也要变了,格局都变了.以下是各版本XCODE的安装包大小,越来越大了.XCode V4与SDK4.3的安装包尺寸是4.28G. iphone_sdk_
阅读全文
posted @
2011-03-10 16:08 不及格的程序员-八神 阅读(582) |
评论 (2) 编辑
Apple iOS产品硬件参数.
摘要: iPhone(4G、8G、16G) 2007-2008年相继上市.iPhone 3G2008年7月11日,苹果公司推出3G iPhone。8GB版售价为199美元,16GB版售价为299美元. CPU:620 MHz (underclocked to 412 MHz) Samsung 32-bit RISC ARM 1176JZ(F)-S v1.0,与第一代iPhone相同.内存:128M显卡:PowerVR MBX Lite 3D GPUiPhone 3GS2009年6月9日,苹果公司推出iPhone 3GS.CPU :833 MHz (underclocked to 600 MHz) AR
阅读全文
posted @
2011-03-03 09:30 不及格的程序员-八神 阅读(136) |
评论 (0) 编辑
小记 iOS 视图控制器的内存申请与释放普遍规则
摘要: 作者:不及格的程序员-八神内存管理在iOS程序开发扮演非常重要角色,对这块处理不好的程序会在实际设备上发生Crash情况.对于经常在视图控制器中用retain声名的输出口一定要注意,在dealloc中release它们.Obj-C声明的属性,具有如下特性,将新对象赋值当前属性,并自动释放属性中的旧对象.在appDelegate.m中如果有一个window输出口,或者另外加了一个导航视图控制器或是其它什么视图控制器时,在 dealloc 方法中,执行这些输出口的release方法.而不必在applicationDidFinishLaunching中执行释放.在单独的自定义视图控制器中,如果在接到
阅读全文
posted @
2011-03-01 14:01 不及格的程序员-八神 阅读(227) |
评论 (0) 编辑
iPhone游戏 Fragger "扔手雷" 通关
摘要: 这个小游戏我觉得根愤怒的小鸟有的一拼,而且它的操作方式又很类似早期的PC网络游戏疯狂坦克.我在疯狂坦克中的排名是1000以内,所以我是金牌,玩这个游戏又找到了当年的感觉.以图片记录一该游戏中的关卡,个人觉得它们都是不错的设计.
阅读全文
posted @
2011-02-24 17:39 不及格的程序员-八神 阅读(265) |
评论 (0) 编辑
iPhone 游戏 Dungeon Hunter2 "地牢猎手" 今日通关
摘要: 这是一个在手机上来说,相当大的游戏了,光是开发团队就有数十人,包括美工,动画,设计,测试,本地化团队还包含了中国与韩国开发团队,而且游戏画面与可玩度都很不错.
阅读全文
posted @
2011-02-24 13:40 不及格的程序员-八神 阅读(148) |
评论 (0) 编辑
iPhone游戏 Mr.Karoshi"过劳死"通关.
摘要: 该游戏创意不错,可玩度挺高,不过游戏的行进思想,与早在70-80年代的游戏pc有些类似,比如淘金,都有满足一些特定条件才有什么样的游戏提示.但是也有一些有意思的就是太变态,要自杀,自杀还不算,死之前一定要将别人先杀死,自已才能有方法死.这个电视画面是值得回忆的...完整下载:/Files/ioriwellings/Mr.Karoshi.rar
阅读全文
posted @
2011-02-24 09:54 不及格的程序员-八神 阅读(217) |
评论 (0) 编辑
MonoDevelop/MonoTouch SDK开发iOS程序体验!
摘要: 作者:不及格的程序员-八神首先从http://monotouch.net/官网下载了三个必须的安装文件 Mono for mac 框架,这个大约70M大小,再下载MonoDevelop,这个开发IDE大概10多M,最后下载了Monotouch SDK,这个大约22M.之后就是一步步安装了很顺利,由于我的mac mini 装的是中文系统,当第一次打开MonoDevelop时,界面居然是乱码,文字全是方块,或是空字符.后来在设置窗口中的User interface language设置成了英文,界面算是正常了.乱码的界面:正常的界面:下面创建一个Hello World的程序吧.托一个按钮,给按钮加
阅读全文
posted @
2010-12-08 15:14 不及格的程序员-八神 阅读(4007) |
评论 (40) 编辑
C# 扩展方法 借签于 Objective-C 扩展类.
摘要: 作者:不及格的程序员-八神C#借签了多种语言的特性与功能,下面简单介绍它从Objective-C中引入的扩展方法.下面的示例演示C#中为 System.String 类定义的一个扩展方法:而在Objective-C 中扩展类方式同样可以实现同样功能:真是非常有趣的一件事情,比尔与乔布斯本是两个水火不相融的两个极端,它们都是非常讨厌对方的.在彼此的家中也不会出现对方的任何产品,可是在平台开发中它们却存在着影子.现在非常喜欢用Objective-c开发,而不是使用mono的任何产品,后者提供了android与ios平台的C#开发方式,但是价格也不便宜.不过Xcode的调试跟踪功能还不如Visual
阅读全文
posted @
2010-12-07 10:36 不及格的程序员-八神 阅读(2178) |
评论 (42) 编辑