Cocoa API解説(macOS/iOS)

iOS , Mac アプリケーション開発のために使われる主要フレームワークの日本語情報です。

目次

allFrameworks

ロードされているフレームワークのバンドルの配列を返します
+ (NSArray *)allFrameworks;

解説

ロードされているフレームワークのバンドルの配列を返します。

返り値

( NSArray * )

フレームワークのバンドルの配列

引数

クラス

NSBundle

Class Methods

使用可能

10.0
iOS2.0

参照

例文

#pragma mark -allFrameworks:
-(void)method002
{
    NSArray *array = [NSBundle allFrameworks];
    NSLog(@"%s : %@",__FUNCTION__ ,[array description]);
    //=>[OOOAppDelegate method002] : (
    //=>["NSBundle </System/Library/PrivateFrameworks/DataAccessExpress.framework> (loaded)",
    //=>["NSBundle </System/Library/PrivateFrameworks/SpringBoardServices.framework> (loaded)",
    //=>["NSBundle </System/Library/PrivateFrameworks/GeoServices.framework> (loaded)",
    //=>["NSBundle </System/Library/PrivateFrameworks/PersistentConnection.framework> (loaded)",
    //=>["NSBundle </System/Library/Frameworks/Foundation.framework> (loaded)",
    //=>["NSBundle </System/Library/Frameworks/MobileCoreServices.framework> (loaded)",
    //=>["NSBundle </System/Library/PrivateFrameworks/AccountSettings.framework> (loaded)",
    //=>["NSBundle </System/Library/Frameworks/AddressBook.framework> (loaded)",
    //=>["NSBundle </System/Library/PrivateFrameworks/WebCore.framework> (loaded)",
    //=>["NSBundle </System/Library/PrivateFrameworks/ManagedConfiguration.framework> (loaded)",
    //=>["NSBundle </System/Library/PrivateFrameworks/AssetsLibraryServices.framework> (loaded)",
    //=>["NSBundle </System/Library/PrivateFrameworks/AggregateDictionary.framework> (loaded)",
    //=>["NSBundle </System/Library/Frameworks/UIKit.framework> (loaded)",
    //=>["NSBundle </System/Library/Frameworks/CoreText.framework> (loaded)",
    //=>["NSBundle </System/Library/Frameworks/CoreTelephony.framework> (loaded)",
    //=>["NSBundle </System/Library/Frameworks/CoreLocation.framework> (loaded)",
    //=>["NSBundle </System/Library/PrivateFrameworks/AppSupport.framework> (loaded)",
    //=>["NSBundle </System/Library/PrivateFrameworks/FaceCoreLight.framework> (loaded)",
    //=>["NSBundle </System/Library/PrivateFrameworks/WebKit.framework> (loaded)",
    //=>["NSBundle </System/Library/Frameworks/CoreImage.framework> (loaded)",
    //=>["NSBundle </System/Library/Frameworks/CoreFoundation.framework> (loaded)",
    //=>["NSBundle </System/Library/PrivateFrameworks/JavaScriptCore.framework> (loaded)",
    //=>["NSBundle </System/Library/PrivateFrameworks/CoreTime.framework> (loaded)",
    //=>["NSBundle </System/Library/PrivateFrameworks/DataMigration.framework> (loaded)",
    //=>["NSBundle </System/Library/Frameworks/QuartzCore.framework> (loaded)",
    //=>["NSBundle </usr/lib> (loaded)",
    //=>["NSBundle </System/Library/PrivateFrameworks/ProofReader.framework> (loaded)",
    //=>["NSBundle </System/Library/Frameworks/OpenGLES.framework> (loaded)",
    //=>["NSBundle </System/Library/PrivateFrameworks/ProtocolBuffer.framework> (loaded)",
    //=>["NSBundle </System/Library/PrivateFrameworks/PrintKit.framework> (loaded)",
    //=>["NSBundle </System/Library/PrivateFrameworks/OpenCL.framework> (loaded)",
    //=>["NSBundle </System/Library/Frameworks/CoreVideo.framework> (loaded)",
    //=>["NSBundle </System/Library/Frameworks/CFNetwork.framework> (loaded)",
    //=>["NSBundle </System/Library/Frameworks/CoreMedia.framework> (loaded)"
    //=>[)
    
    
}