Link to home
Start Free TrialLog in
Avatar of robc00
robc00Flag for United Kingdom of Great Britain and Northern Ireland

asked on

How to build an iOS struct that contains dates.

In an iOS5 ARC project how do I build a structure that includes a date as ARC seems to complain about everything other than numbers in the structure.  I want a structure that I can put in to an array.
typedef struc {
int value1;
NSDate *value2;
} sss1;

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of pgnatyuk
pgnatyuk
Flag of Israel image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of robc00

ASKER

Thanks - his is what we ended up doing..