资源简介

mac osx 系统软件开发,NSCollectionView控件demo,可以创建分类标题栏。

资源截图

代码片段和文件信息

//
//  AppDelegate.m
//  NSCollectionCodeView
//
//  Created by zhaojw on 15/8/28.
//  Copyright (c) 2015年 zhaojw. All rights reserved.
//

#import “AppDelegate.h“


@interface AppDelegate ()

@property (weak) IBOutlet NSWindow *window;



@end

@implementation AppDelegate

- (void)applicationDidFinishLaunching:(NSNotification *)aNotification {
    // Insert code here to initialize your application
    

    _CollectionView = [[CollectionView alloc] initWithNibName:@“CollectionView“ bundle:nil];
    NSTabViewItem * item1 = [[NSTabViewItem alloc] init];
    [item1 setLabel:@“1“];
    [item1 setViewController:_CollectionView];
    [ShowView addTabViewItem:item1];
    [ShowView selectTabViewItem:item1];

    
    
    //[[self.window contentView]addSubview:_CollectionView.view];

}

- (void)a

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2016-04-20 11:29  NSCollectionCodeView\
     文件        8196  2016-09-07 09:47  NSCollectionCodeView\.DS_Store
     目录           0  2016-09-07 10:17  __MACOSX\
     目录           0  2016-09-07 10:17  __MACOSX\NSCollectionCodeView\
     文件         120  2016-09-07 09:47  __MACOSX\NSCollectionCodeView\._.DS_Store
     目录           0  2016-09-07 10:12  NSCollectionCodeView\NSCollectionCodeView\
     文件        8196  2016-09-07 09:47  NSCollectionCodeView\NSCollectionCodeView\.DS_Store
     目录           0  2016-09-07 10:17  __MACOSX\NSCollectionCodeView\NSCollectionCodeView\
     文件         120  2016-09-07 09:47  __MACOSX\NSCollectionCodeView\NSCollectionCodeView\._.DS_Store
     文件         340  2016-09-06 15:25  NSCollectionCodeView\NSCollectionCodeView\AppDelegate.h
     文件         171  2016-09-06 15:25  __MACOSX\NSCollectionCodeView\NSCollectionCodeView\._AppDelegate.h
     文件         926  2016-09-06 15:27  NSCollectionCodeView\NSCollectionCodeView\AppDelegate.m
     文件         171  2016-09-06 15:27  __MACOSX\NSCollectionCodeView\NSCollectionCodeView\._AppDelegate.m
     目录           0  2016-09-06 15:26  NSCollectionCodeView\NSCollectionCodeView\base.lproj\
     文件       50917  2016-09-06 15:26  NSCollectionCodeView\NSCollectionCodeView\base.lproj\MainMenu.xib
     文件         366  2016-09-07 10:06  NSCollectionCodeView\NSCollectionCodeView\CollectionView.h
     文件         171  2016-09-07 10:06  __MACOSX\NSCollectionCodeView\NSCollectionCodeView\._CollectionView.h
     文件        9531  2016-09-07 10:12  NSCollectionCodeView\NSCollectionCodeView\CollectionView.m
     文件         171  2016-09-07 10:12  __MACOSX\NSCollectionCodeView\NSCollectionCodeView\._CollectionView.m
     文件       15044  2016-09-07 10:10  NSCollectionCodeView\NSCollectionCodeView\CollectionView.xib
     文件         325  2016-09-06 15:20  NSCollectionCodeView\NSCollectionCodeView\CollectionViewItem.h
     文件         171  2016-09-06 15:20  __MACOSX\NSCollectionCodeView\NSCollectionCodeView\._CollectionViewItem.h
     文件         526  2016-09-07 09:49  NSCollectionCodeView\NSCollectionCodeView\CollectionViewItem.m
     文件         171  2016-09-07 09:49  __MACOSX\NSCollectionCodeView\NSCollectionCodeView\._CollectionViewItem.m
     文件        2344  2016-09-07 10:09  NSCollectionCodeView\NSCollectionCodeView\CollectionViewItem.xib
     文件         241  2016-09-06 16:22  NSCollectionCodeView\NSCollectionCodeView\HeadersView.h
     文件         171  2016-09-06 16:22  __MACOSX\NSCollectionCodeView\NSCollectionCodeView\._HeadersView.h
     文件        1044  2016-09-07 10:11  NSCollectionCodeView\NSCollectionCodeView\HeadersView.m
     文件         171  2016-09-07 10:11  __MACOSX\NSCollectionCodeView\NSCollectionCodeView\._HeadersView.m
     目录           0  2015-08-28 16:25  NSCollectionCodeView\NSCollectionCodeView\Images.xcassets\
     目录           0  2015-08-28 16:25  NSCollectionCodeView\NSCollectionCodeView\Images.xcassets\AppIcon.appiconset\
............此处省略47个文件信息

评论

共有 条评论