Mac Developer Library

Developer

AppKit Framework Reference NSCIImageRep Class Reference

Options
Deployment Target:

On This Page
Language:

NSCIImageRep

Inheritance


Conforms To


Import Statement


Swift

import AppKit

Objective-C

@import AppKit;

Availability


Available in OS X v10.4 and later.

An NSCIImageRep object can render an image from a Core Image CIImage instance. For more information about the CIImage class and Core Image, see Core Image Programming Guide.

  • Creates and returns an NSCIImageRep object initialized to the specified CIImage instance.

    Declaration

    Swift

    convenience init!(CIImage image: CIImage!)

    Objective-C

    + (instancetype)imageRepWithCIImage:(CIImage *)image

    Parameters

    image

    The CIImage instance.

    Return Value

    An initialized NSCIImageRep object, or nil if the object could not be initialized.

    Import Statement

    Objective-C

    @import AppKit;

    Swift

    import AppKit

    Availability

    Available in OS X v10.4 and later.

  • Returns an NSCIImageRep object initialized to the specified CIImage instance.

    Declaration

    Swift

    init(CIImage image: CIImage)

    Objective-C

    - (instancetype)initWithCIImage:(CIImage *)image

    Parameters

    image

    The CIImage instance.

    Return Value

    An initialized NSCIImageRep object, or nil if the object could not be initialized.

    Import Statement

    Objective-C

    @import AppKit;

    Swift

    import AppKit

    Availability

    Available in OS X v10.4 and later.

  • Returns the receiver's CIImage instance.

    Declaration

    Swift

    var CIImage: CIImage { get }

    Objective-C

    @property(readonly, strong) CIImage *CIImage

    Return Value

    The CIImage instance.

    Import Statement

    Objective-C

    @import AppKit;

    Swift

    import AppKit

    Availability

    Available in OS X v10.4 and later.