On Sat, Feb 21, 2015, at 09:33 PM, Aaron Lewis wrote:
> Hi,
> 
> This syntax is invalid, I'm wondering if it exists?
> @property (strong, readwrite, nonatomic) RETextItem *passwordItem,
> *usernameItem;
> 
> I'm trying to declare multiple items together.

What version of Xcode are you using? I happen to have Xcode 6.1
installed on this machine, and this works:

// xcrun clang -fsyntax-only foo.m
#import <Foundation/Foundation.h>

@interface Foo : NSObject
@property(strong, readwrite, nonatomic) NSObject *one, *two;
@end


--Kyle Sluder
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Objc-language mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/objc-language/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to