use core::ffi::*;
use core::ptr::NonNull;
use objc2::__framework_prelude::*;
use objc2_foundation::*;
use crate::*;
#[cfg(feature = "NSTextStorage")]
impl NSTextStorage {
extern_methods!(
#[unsafe(method(attributeRuns))]
#[unsafe(method_family = none)]
pub fn attributeRuns(&self) -> Retained<NSArray<NSTextStorage>>;
#[unsafe(method(setAttributeRuns:))]
#[unsafe(method_family = none)]
pub fn setAttributeRuns(&self, attribute_runs: &NSArray<NSTextStorage>);
#[unsafe(method(paragraphs))]
#[unsafe(method_family = none)]
pub fn paragraphs(&self) -> Retained<NSArray<NSTextStorage>>;
#[unsafe(method(setParagraphs:))]
#[unsafe(method_family = none)]
pub fn setParagraphs(&self, paragraphs: &NSArray<NSTextStorage>);
#[unsafe(method(words))]
#[unsafe(method_family = none)]
pub fn words(&self) -> Retained<NSArray<NSTextStorage>>;
#[unsafe(method(setWords:))]
#[unsafe(method_family = none)]
pub fn setWords(&self, words: &NSArray<NSTextStorage>);
#[unsafe(method(characters))]
#[unsafe(method_family = none)]
pub fn characters(&self) -> Retained<NSArray<NSTextStorage>>;
#[unsafe(method(setCharacters:))]
#[unsafe(method_family = none)]
pub fn setCharacters(&self, characters: &NSArray<NSTextStorage>);
#[cfg(feature = "NSFont")]
#[unsafe(method(font))]
#[unsafe(method_family = none)]
pub fn font(&self) -> Option<Retained<NSFont>>;
#[cfg(feature = "NSFont")]
#[unsafe(method(setFont:))]
#[unsafe(method_family = none)]
pub fn setFont(&self, font: Option<&NSFont>);
#[cfg(feature = "NSColor")]
#[unsafe(method(foregroundColor))]
#[unsafe(method_family = none)]
pub fn foregroundColor(&self) -> Option<Retained<NSColor>>;
#[cfg(feature = "NSColor")]
#[unsafe(method(setForegroundColor:))]
#[unsafe(method_family = none)]
pub fn setForegroundColor(&self, foreground_color: Option<&NSColor>);
);
}