`
zl4393753
  • 浏览: 340048 次
  • 性别: Icon_minigender_1
  • 来自: 武汉
社区版块
存档分类
最新评论
文章列表
解决上述问题的方法是 打开 .xcodeproj文件(反键-显示包内容),打开project.pbxproj文件,找到 LIBRARY_SEARCH_PATHS 项, 删除该项即可!
maxos下启动sqlite数据库直接启动终端输入sqlite3即可 1. 创建数据库、表的语句: to create a new SQLite database named "ex1" with a single table named "tbl1", you might do this: $ sqlite3 ex1 SQLite version 3.6.11 Enter ".help" for instructions Enter SQL statements terminated with a ";" ...
这个问题折腾了我几天。。这就是初学要付出的代价吧。。。我的需求很简单,就是在不同的页面间传递值,a页面跳转到b页面,b页面作出选择后需要把值传递给a,开始用delegate,瞎折腾了一气没有成功,后来了解到可以通过NSNotification传值,测试后成功,非常好用,具体代码如下: 先在b页面合适的位置定义一个notification,然后发送notification: NSNotification* notification = [NSNotification notificationWithName:@"MyNotification" object:self]; ...
ComboBox for Grid (combo having local store) Many people have been having confusion over how to handle rendering of combo boxes having a separate valueField and displayField. This is how we have been using in our applications: Ext.ns("Ext.ux.renderer"); Ext.ux.renderer.ComboRenderer = ...
UIAlertView *someError = [[UIAlertView alloc] initWithTitle:@"Something wrong!" message:@"Your iPhone is broken!" delegate:self cancelButtonTitle:@"OK" otherButtonTitles:nil]; [someError show]; [someError release];
IOS 3.0以后,navigation controller自带toolbar, 原文如下:“In iOS 3.0 and later, a navigation interface can display a toolbar and populate it with items provided by the currently visible view controller. The toolbar itself is managed by the navigation controller object.” 显示toolbar以及toolbar基本的设置代码如下: [self.nav ...
- (void)viewDidLoad {     [super viewDidLoad];     self.title = @"Hello World"; }
[self.navigationController pushViewController:self.targetViewController animated:YES]; Comment: The navigationController object is a stack that contains viewControllers. The view at the top of the stack is the one that gets rendered. So all we are doing is pushing a viewController onto this stack. T ...
1. 下载Msysgit, msysgit是Google为Windows环境下开发的Git客户端程序 http://code.google.com/p/msysgit/ 2. 安装Msysgit软件,一路next,在此略过... 3. 新建一个目录,用于存放待会下载的源码,其实跟svn差不多 4. 右键点击刚才新建的文件夹,选择 “Git Bash”,会有一个类似windows command line 框弹出 5. 查询需要的源码,具体网址如下(这个可以收藏,^^): http://android.git.kernel.org/ 6. 下载具体的源码,比如我想要 Contacts 部分,就在刚 ...
1. 在res/drawable/目录下新建 mygradient.xml <?xml version="1.0" encoding="utf-8"?> <shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle" > <gradient android:startColor="#282828" androi ...
Global site tag (gtag.js) - Google Analytics