posted @ 2012-04-24 11:17
04 2012 档案
摘要:1 Decompile Main.swfthis.connect(URI.ip, URI.port);查看URI public static function get ip() : String { return _args["ip"] || _domain || "";}public static function get port() : int { return _args["port"] || _serverPort || 0; }从上面可以看出,ip port均由外面传入,下面去页面数据中找到这两个值ip=8x155.xd.
阅读全文
摘要:Key-Value Coding; Key-Value ObservingIn Xcode, create a new project of typeCocoa Application. Name the projectKVCFun. In the project, create a new file of typeObjective-C Class. Name the classAppController.At this point in our exploration of key-value coding, you simply need an instance ofAppControl
阅读全文
posted @ 2012-04-23 22:18
摘要:URL文件下载1 打开XCode 新建一个工程UrlDownloader2 打开MainMenu.xib 在视图上添加一个NSTextField,用于输入url地址 再创建一个NSButton下载按钮3 创建一个DownloadController文件编码如下://// DownloadController.h// UrlDownloader//// Created by Rogo on 4/20/12.// Copyright (c) 2012 Rogo.com. All rights reserved.//#import <Foundation/Foundation.h>@in
阅读全文
posted @ 2012-04-20 21:48
摘要:源码地址:https://com-rogo-home.googlecode.com/svn/trunk/ RogosBox For Sina程序地址: http://rogo.sinaapp.com/rogosbox-for-sina
阅读全文
posted @ 2012-04-19 16:16
摘要:源码地址:https://com-rogo-home.googlecode.com/svn/trunk/ RogosBox For QQ程序地址: http://rogo.sinaapp.com/qq
阅读全文
posted @ 2012-04-19 16:16
摘要:源码地址:https://com-rogo-home.googlecode.com/svn/trunk/ COCO程序地址: http://rogo.sinaapp.com/48-2
阅读全文
posted @ 2012-04-19 16:12
摘要:学习开发一个本地图片查看程序:1 打开XCode 创建一个Cocoa Application工程 命名为ImageViewer,next。2 在左边的导航中 点击MainMenu.xib文件。3 拖拽一个Image Well控件到ImageViewer窗体中,用于显示图片,调整控件位置跟大小。4 拖拽一个Button控件到ImageViewer窗体中,用于打开文件选择面板,调整控件位置跟大小。 双击Button控件,修改内容Choose Image...5 打开AppDelegate.h文件编码:6 打开AppDelegate.m文件编码:7 打开MainMenu.xib 连接窗口的Image
阅读全文
posted @ 2012-04-18 22:08
浙公网安备 33010602011771号