I'm trying to create a NSAttributedString from its HTML representation in Swift
3 (from the Xcode 8 GM build). However, this doesn't work:
> import Foundation
> import AppKit
>
> let html = "hello world"
> let data = html.data(using: .utf8, allowLossyConversion: true)!
> let attributed =
Hi everyone,
Let's assume there's a Swift package with the following Layout:
MyPackage/
├── Package.swift
└── Sources
└── MyModule
├── SubFolder
│ └── MyClass.swift
└── main.swift
As far as I can tell, there's still just one module called MyModule and the
On Fri, Sep 16, 2016 at 12:21 AM, Toni Suter via swift-users <
swift-users@swift.org> wrote:
> Hi everyone,
>
> Let's assume there's a Swift package with the following Layout:
>
> MyPackage/
> ├── Package.swift
> └── Sources
> └── MyModule
> ├── SubFolder
> │ └──
Hi,
I just moved to Xcode 8 (actually, it upgraded itself without me realizing
it, but anyway), and some previously working Swift 2.2 code now doesn't
work. I'm having trouble migrating.
The code in question is supposed to declare, but not allocate, a block of
memory. A void** to that block of