Hi,
I'm having some trouble debugging code that uses third-party modules.
I'm working on an iOS App with Xcode 8, Swift 3, and macOS Sierra.
Here's what happens:
- I built the module-under-test with the Debug configuration as a
framework, and then linked it to my app
- I set a breakpoint in my
Hi,
I'm seeing a weird issue with using an initializer in flatMap. Here's
an example:
```
let time: TimeInterval? = 662.8258259864
let intTimeFlatmap = time.flatMap(Int.init) // nil
let intTime = Int(time!) // 662
```
I would expect for the flatMap call to return an optional Int with the
pro
: Double)`, which
>> returns nil. So this is not a bug.
>>
>> Zhaoxin
>>
>> On Tue, May 2, 2017 at 1:39 AM, Halen Wooten via swift-users
>> wrote:
>>>
>>> Hi,
>>>
>>> I'm seeing a weird issue with using an initializer
Hi,
We have an open source project that we'd like to submit to the source
compatibility suite. The big catch is that 3.1 is already failing to
compile it (https://bugs.swift.org/browse/SR-4478). Can we still
submit our project, or do we need to wait until that ticket is fixed?
Thanks,
Halen
_
Hi,
I'm working with a weird crash at the moment, and my hunch is that
it's a swift bug. It's only happening on a tvOS device (simulator is
fine). I can't share the whole project because it's confidential, and
minimizing it would make the bug go away. Is there a recommended way
to report these? I'
Hi,
I downloaded the Swift 4 toolchain from swift.org and change my
setting in Xcode. However, when I build xcode projects from the
command line it's still using Swift 3.1. How can I instruct the
command line tools to build with Swift 4?
Thanks for the help,
Halen
___