MacOS 开发 - 系统图片

原创 2017年09月15日 19:20:16

系统图片1

系统图片2


使用方法

NSImage *computerimage = [NSImage imageNamed:NSImageNameStatusNone];


没法使用的图片:

  • NSImageNameGoBackTemplate,NSImageNameGoForwardTemplate

  • touchBar有关的:NSImageNameTouchBarAddDetailTemplate 等等


上面使用的图片名:

NSArray *array0 = @[NSImageNameQuickLookTemplate,NSImageNameBluetoothTemplate,NSImageNameIChatTheaterTemplate,NSImageNameSlideshowTemplate,NSImageNameActionTemplate , NSImageNameSmartBadgeTemplate , NSImageNameIconViewTemplate,NSImageNameListViewTemplate,NSImageNameColumnViewTemplate,NSImageNameFlowViewTemplate , NSImageNamePathTemplate , NSImageNameInvalidDataFreestandingTemplate,NSImageNameLockLockedTemplate,NSImageNameLockUnlockedTemplate,NSImageNameGoRightTemplate,NSImageNameGoLeftTemplate ,NSImageNameRightFacingTriangleTemplate,NSImageNameLeftFacingTriangleTemplate , NSImageNameAddTemplate,NSImageNameRemoveTemplate,NSImageNameRevealFreestandingTemplate,NSImageNameFollowLinkFreestandingTemplate,NSImageNameEnterFullScreenTemplate,NSImageNameExitFullScreenTemplate,NSImageNameStopProgressTemplate,NSImageNameStopProgressFreestandingTemplate,NSImageNameRefreshTemplate,NSImageNameRefreshFreestandingTemplate , NSImageNameBonjour,NSImageNameComputer,NSImageNameFolderBurnable,NSImageNameFolderSmart,NSImageNameFolder, NSImageNameNetwork];

    NSArray *array1 = @[ NSImageNameMobileMe,NSImageNameMultipleDocuments,NSImageNameUserAccounts,NSImageNamePreferencesGeneral,NSImageNameAdvanced,NSImageNameInfo,NSImageNameFontPanel,NSImageNameColorPanel,NSImageNameUser,NSImageNameUserGroup,NSImageNameEveryone,NSImageNameUserGuest,NSImageNameMenuOnStateTemplate];

    NSArray *array2 = @[NSImageNameMenuMixedStateTemplate,
                        NSImageNameApplicationIcon,NSImageNameTrashEmpty,NSImageNameTrashFull,NSImageNameHomeTemplate,NSImageNameBookmarksTemplate,NSImageNameCaution,NSImageNameStatusAvailable,NSImageNameStatusPartiallyAvailable,NSImageNameStatusUnavailable,NSImageNameStatusNone,NSImageNameShareTemplate];


    NSArray *array3 = @[ NSImageNameGoRightTemplate,NSImageNameGoLeftTemplate,NSImageNameRightFacingTriangleTemplate,NSImageNameLeftFacingTriangleTemplate];


    NSArray *array4 =@[
                       NSImageNameAddTemplate,NSImageNameRemoveTemplate,NSImageNameRevealFreestandingTemplate,NSImageNameFollowLinkFreestandingTemplate,NSImageNameEnterFullScreenTemplate,NSImageNameExitFullScreenTemplate,NSImageNameStopProgressTemplate,NSImageNameStopProgressFreestandingTemplate,NSImageNameRefreshTemplate,NSImageNameRefreshFreestandingTemplate];

    NSArray *array5 =@[ NSImageNameBonjour,NSImageNameComputer,NSImageNameFolderBurnable,NSImageNameFolderSmart,NSImageNameFolder,NSImageNameNetwork,NSImageNameDotMac];

    NSArray *array6 =@[NSImageNameMobileMe,NSImageNameMultipleDocuments,NSImageNameUserAccounts,NSImageNamePreferencesGeneral,NSImageNameAdvanced,NSImageNameInfo,NSImageNameFontPanel,NSImageNameColorPanel,NSImageNameUser,NSImageNameUserGroup,NSImageNameEveryone,NSImageNameUserGuest,NSImageNameMenuOnStateTemplate,NSImageNameMenuMixedStateTemplate,
                        NSImageNameApplicationIcon];

    NSArray *array7 =@[ NSImageNameTrashEmpty,NSImageNameTrashFull,NSImageNameHomeTemplate,NSImageNameBookmarksTemplate,NSImageNameCaution,NSImageNameStatusAvailable,NSImageNameStatusPartiallyAvailable,NSImageNameStatusUnavailable,NSImageNameStatusNone,NSImageNameShareTemplate];
版权声明:本文为博主原创文章,转载请附上本文链接地址。

相关文章推荐

MacOS 开发 - 状态栏 NSStatusBar & NSStatusItem

简介 创建和使用 1在 AppDelegatem 中持有这个变量 2在 applicationDidFinishLaunching 中初始化 1 设置 toolTip 3给 statusItem 添加...

MacOS 开发 - NSButtonType

NSButtonTypetypedef NS_ENUM(NSUInteger, NSButtonType) { NSButtonTypeMomentaryLight = 0, N...

macOS系统下搭建Android开发环境

在开始搭建Android开发环境之前,或者在学习Android开发之前,建议先学习Java入门知识。 Mac OS X系统在10.12.0起正式更名为“macOS”。 下面将从Android SD...

在正常系统如windows/MacOS/Linux等体验假勒索病毒WamaCry(永恒之蓝)

在正常系统如windows/MacOS/Linux等体验假勒索病毒WamaCry(永恒之蓝)参考网址:1 https://github.com/bitdust/WamaCry2 https://git...

MacOS系统使用系列-3.Mac命令行命令学习

1.文件查找 find命令 $ find http://www.ruanyifeng.com/blog/2009/10/5_ways_to_search_for_files_using_the_...

Windows8和MacOS10.9双系统安装及Mac常用软件安装--联想E49A

本篇内容所描述的内容只适合联想E49A笔记本,经过本篇的内容之后,对于Mac OS 10.9的使用达到正常工作使用的标准。 结果如下:显卡、网卡(RTL8168)、声卡、电池、USB都正常驱动了;无线...

Mac安装3系统: MacOS+Ubuntu+Windows

Mac安装3系统: macOS Sierra 10.12.4 + windows7 + ubuntu 16.10 最近把好久没用的MacBookPro老本拾掇出来升级了内存,换了最新系统Sierra,...
内容举报
返回顶部
收藏助手
不良信息举报
您举报文章:MacOS 开发 - 系统图片
举报原因:
原因补充:

(最多只允许输入30个字)