随笔分类 - Mac 开发基础
摘要:方法一:可以直接在以下这个方法里面做判断,如果rowIndex等于数据源数组的长度的时候就是到底部了- (id)tableView:(NSTableView *)theTableView objectValueForTableColumn: (NSTableColumn *)theColumn row:(NSInteger)rowIndex{ if (rowIndex == thirdArr.count-1) { NSLog(@"id the end"); } return [[t...
        阅读全文
            
摘要:打开target,修改Build Settings中的Build Options选项中的Compiler for C/C++/Object-C选项的Debug为LLVM GCC 4.2即可
        阅读全文
            
摘要:1. iOS APP Project or Mac APP Project编译错误提示:“The run destination My Mac 64-bit is not valid for Running the scheme '***'.The scheme '***' contains no buildables that can be built for the SDKs supported by the run destination My Mac 64-bit. Make sure your targets all specify SDKs that
        阅读全文
            
摘要:// create a table view and a scroll viewNSScrollView * tableContainer = [[NSScrollView alloc] initWithFrame:NSMakeRect(10, 10, 380, 200)];NSTableView * tableView = [[NSTableView alloc] initWithFrame:NSMakeRect(0, 0, 364, 200)];// create columns for our tableNSTableColumn * column1 = [[NSTableColumn 
        阅读全文
            
摘要:[self.window.contentView enterFullScreenMode:[self.windowscreen]
        阅读全文
            
                    
                
浙公网安备 33010602011771号