Filed 32748795
On Tue, Jun 13, 2017 at 10:55 PM, David Hart wrote:
> Worth a radar to improve docs.
>
> On 13 Jun 2017, at 22:12, Jens Persson via swift-users <
> swift-users@swift.org> wrote:
>
> Thanks!
>
> The documentation that Xcode displays (for CharacterSet's
> hasMember(inPlane plane:))
Worth a radar to improve docs.
> On 13 Jun 2017, at 22:12, Jens Persson via swift-users
> wrote:
>
> Thanks!
>
> The documentation that Xcode displays (for CharacterSet's hasMember(inPlane
> plane:)) is as follows:
>
> Declaration:
> func hasMember(inPlane plane: UInt8) -> Bool
>
> Descript
Thanks!
The documentation that Xcode displays (for CharacterSet's hasMember(inPlane
plane:)) is as follows:
Declaration:
func hasMember(inPlane plane: UInt8) -> Bool
Description:
Returns true if the `CharacterSet` has a member in the specified plane.
This method makes it easier to find the plane
Thanks a lot Jordan for pointing out the root cause.
The underlying executing and finished properties are readonly properties.
For an Asynchronous operation I had to override it tell when the asynchronous
operation completes.
Since they are readonly properties I am unable to call the super on
Hi, Muthu. This is a longstanding issue with Operation—the Objective-C name of
the property is just "executing", but the KVO keys that the implementors used
is "isExecuting". Swift isn't set up to deal with this difference.
Fortunately, the base implementation of Operation already knows how to s
I tried your calls to NSFont in Objective-C, and it also crashes. Looking at
the stack trace, I see that it crashes in CFCharacterSetHasMemberInPlane. I see
documentation for thePlane parameter of this function says:
The valid value range is from 0 to 16. If the value is outside of the valid
p
PS
There are only 17 planes in the (current?) Unicode standard, but I'm
assuming that the CharacterSet.hasMember(inPlane:) shouldn't (randomly?)
crash for UInt8 values other than 0 ... 16?
It also seems strange that it reproducibly crashes or not depending on
which specific font I use.
On Tue, Ju
The below program demonstrates a possible bug that I encountered.
Can anyone else reproduce my results (as explained in the comments)?
If so, is it a Swift or Cocoa bug (I haven't tried it in Objective C)?
import AppKit
extension NSFont {
var planesWithMembers: [UInt8] {
return (UInt8
Hi,
I am having trouble using KeyPath to KVC (Key Value Code) in Swift 4.
I have a subclass of Operation and I am overriding the isFinished and
isExecuting property.
Problem:
- When I use KeyPath, the completionBlock of the operation is not invoked.
- However when I use String instead of KeyPat
> On 10. Jun 2017, at 04:02, Toshihiro Suzuki via swift-users
> wrote:
>
> Hi Swift Community,
> I'm Toshihiro Suzuki and have a question about Swift Package Manager.
> I'm trying out with new Xcode9-beta.
>
> When I generate a new xcodeproj like this, `Resources` directory is imported
> as a
10 matches
Mail list logo