thrift-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James E. King III" <jk...@apache.org>
Subject Re: Primitives as NSNumber in 0.11.0
Date Wed, 19 Dec 2018 03:55:23 GMT
On Tue, Dec 18, 2018 at 9:28 PM Kevin Wojniak <kwojniak@box.com.invalid> wrote:
>
> I'm looking at upgrading our usage of Thrift from 0.9.3 to 0.11.0 for
> Objective-C/Swift.
>
> It appears now that "bool" and other primitives are converted to NSNumber
> for return types. Was this intentional? Unfortunately this makes it less
> type safe now as NSNumber can hold any type of number or boolean. Just
> curious to hear about the rational about this.
>
> By the way the enhanced Objective-C generics and NS_ENUM support is
> fantastic! Significantly improves the Swift usage.
>
> Kevin

You may want to ask on dev@ instead of user@ - I'm currently rolling the 0.12.0
release together which will have better swift support.  I don't know
much about it
though since it was contributed by others.

- Jim

Mime
View raw message