AttributedString gone in Xcode 8 beta 4?


(Dave Reed) #1

I was updating my project from beta 3 to beta 4 today and it seems AttributedString disappeared. Changing it to NSAttributedString fixed it.

I don't see anything in the Release Notes about AttributedString.

Is it gone permanently? Or am I doing something wrong?

Thanks,
Dave Reed


(Shawn Erickson) #2

I believe the removal of NS from some foundation types was reversed after
feedback and further consideration.

https://github.com/apple/swift-evolution/blob/master/proposals/0086-drop-foundation-ns.md
&&
https://github.com/apple/swift-evolution/commit/bea5eab614b954775754639fb83a957a180152e1#diff-e260ca20577a1e205ea0b72456a21b7f

···

On Mon, Aug 1, 2016 at 2:23 PM Dave Reed via swift-users < swift-users@swift.org> wrote:

I was updating my project from beta 3 to beta 4 today and it seems
AttributedString disappeared. Changing it to NSAttributedString fixed it.

I don't see anything in the Release Notes about AttributedString.

Is it gone permanently? Or am I doing something wrong?

Thanks,
Dave Reed

_______________________________________________
swift-users mailing list
swift-users@swift.org
https://lists.swift.org/mailman/listinfo/swift-users


(Dave Reed) #3

Ah, I thought there was already a value type AttributedString that I was now using.

Thanks,
Dave Reed

···

On Aug 1, 2016, at 5:35 PM, Shawn Erickson wrote:

I believe the removal of NS from some foundation types was reversed after feedback and further consideration.

https://github.com/apple/swift-evolution/blob/master/proposals/0086-drop-foundation-ns.md
&&
https://github.com/apple/swift-evolution/commit/bea5eab614b954775754639fb83a957a180152e1#diff-e260ca20577a1e205ea0b72456a21b7f

On Mon, Aug 1, 2016 at 2:23 PM Dave Reed via swift-users <swift-users@swift.org> wrote:
I was updating my project from beta 3 to beta 4 today and it seems AttributedString disappeared. Changing it to NSAttributedString fixed it.

I don't see anything in the Release Notes about AttributedString.

Is it gone permanently? Or am I doing something wrong?

Thanks,
Dave Reed


(Jordan Rose) #4

That was pretty much the rationale for restoring “NS". :slight_smile:

···

On Aug 1, 2016, at 14:46, Dave Reed via swift-users <swift-users@swift.org> wrote:

Ah, I thought there was already a value type AttributedString that I was now using.

Thanks,
Dave Reed

On Aug 1, 2016, at 5:35 PM, Shawn Erickson wrote:

I believe the removal of NS from some foundation types was reversed after feedback and further consideration.

https://github.com/apple/swift-evolution/blob/master/proposals/0086-drop-foundation-ns.md
&&
https://github.com/apple/swift-evolution/commit/bea5eab614b954775754639fb83a957a180152e1#diff-e260ca20577a1e205ea0b72456a21b7f

On Mon, Aug 1, 2016 at 2:23 PM Dave Reed via swift-users <swift-users@swift.org> wrote:
I was updating my project from beta 3 to beta 4 today and it seems AttributedString disappeared. Changing it to NSAttributedString fixed it.

I don't see anything in the Release Notes about AttributedString.

Is it gone permanently? Or am I doing something wrong?

Thanks,
Dave Reed

_______________________________________________
swift-users mailing list
swift-users@swift.org
https://lists.swift.org/mailman/listinfo/swift-users


(Dave Reed) #5

Makes sense. Thanks. :slight_smile:

Dave

···

On Aug 2, 2016, at 12:24 PM, Jordan Rose <jordan_rose@apple.com> wrote:

That was pretty much the rationale for restoring “NS". :slight_smile:

On Aug 1, 2016, at 14:46, Dave Reed via swift-users <swift-users@swift.org> wrote:

Ah, I thought there was already a value type AttributedString that I was now using.

Thanks,
Dave Reed

On Aug 1, 2016, at 5:35 PM, Shawn Erickson wrote:

I believe the removal of NS from some foundation types was reversed after feedback and further consideration.

https://github.com/apple/swift-evolution/blob/master/proposals/0086-drop-foundation-ns.md
&&
https://github.com/apple/swift-evolution/commit/bea5eab614b954775754639fb83a957a180152e1#diff-e260ca20577a1e205ea0b72456a21b7f

On Mon, Aug 1, 2016 at 2:23 PM Dave Reed via swift-users <swift-users@swift.org> wrote:
I was updating my project from beta 3 to beta 4 today and it seems AttributedString disappeared. Changing it to NSAttributedString fixed it.

I don't see anything in the Release Notes about AttributedString.

Is it gone permanently? Or am I doing something wrong?

Thanks,
Dave Reed

_______________________________________________
swift-users mailing list
swift-users@swift.org
https://lists.swift.org/mailman/listinfo/swift-users