Re: Help with Swift changes to optionals

2015-04-15 Thread Rick Mann
> On Apr 15, 2015, at 12:47 , Marco S Hyman wrote: > > >> On Apr 15, 2015, at 12:29 PM, Rick Mann wrote: >> >> I used to have this code prior to 1.2, which compiled and ran fine, but now >> I get an error on the last line: >> >> '?' must be followed by a call, member lookup, or subscript >

Help with Swift changes to optionals

2015-04-15 Thread Rick Mann
I used to have this code prior to 1.2, which compiled and ran fine, but now I get an error on the last line: '?' must be followed by a call, member lookup, or subscript func httpResponseForMethod(inMethod: String!, URI inPath: String!) -> NSObject! { ... var query : String?;