JUCE  v5.4.1-191-g0ab5e696f
JUCE API
Looking for a senior C++ dev?
I'm looking for work. Hire me!
juce_osx_ObjCHelpers.h File Reference

Classes

struct  juce::NSObjectDeleter
 
class  juce::ObjCBlock< BlockType >
 
struct  juce::ObjCClass< SuperclassType >
 

Namespaces

 juce
 

Typedefs

typedef id(* juce::MsgSendSuperFn) (struct objc_super *, SEL,...)
 

Functions

static NSArray * juce::createNSArrayFromStringArray (const StringArray &strings)
 
template<typename Class >
NSObjectjuce::createNSObjectFromJuceClass (Class *obj)
 
static NSURL * juce::createNSURLFromFile (const String &f)
 
static NSURL * juce::createNSURLFromFile (const File &f)
 
template<typename ReturnT , class Class , typename... Params>
ReturnT(^)(Params...) juce::CreateObjCBlock (Class *object, ReturnT(Class::*fn)(Params...))
 
template<typename Class >
Classjuce::getJuceClassFromNSObject (NSObject *obj)
 
static MsgSendSuperFn juce::getMsgSendSuperFn () noexcept
 
static NSString * juce::juceStringToNS (const String &s)
 
template<typename RectangleType >
static NSRect juce::makeNSRect (const RectangleType &r) noexcept
 
static var juce::nsArrayToVar (NSArray *array)
 
static var juce::nsDictionaryToVar (NSDictionary *dictionary)
 
static NSString * juce::nsEmptyString () noexcept
 
static var juce::nsObjectToVar (NSObject *array)
 
static NSString * juce::nsStringLiteral (const char *const s) noexcept
 
static String juce::nsStringToJuce (NSString *s)
 
template<typename ReturnValue , typename... Params>
static ReturnValue juce::ObjCMsgSendSuper (struct objc_super *s, SEL sel, Params... params)
 
static NSArray * juce::varArrayToNSArray (const var &varToParse)
 
static NSDictionary * juce::varObjectToNSDictionary (const var &varToParse)