I would like to know the size of the array from APIs similar to that of
const CGFloat * CGColorGetComponents
which return an array. How could I get the size of an array returned by an API in objective C?
For example, if your colour is RGBA, the array will be five
As Dondragmer said, if you're still not sure, pass the
Where do you find that information? Open the link to the CGColor Reference that Delan Azabani provided. Find CGColorGetComponents. What is the very next function named?
In a more general sense, are you sure you need to know the components? While many older code examples use the function, it is often now possible to pass the