Re: [swift-users] Core Data auto-generated Swift files errors?

2017-01-16 Thread Jack Lawrence via swift-users
This is better suited to the Apple developer forums/stack overflow, FYI. > I selected "Class Definition" in the CodeGen pop up menu in the inspector. This tells Xcode to automatically create and maintain the entity classes for you. They don't show up in the project navigator because they're autog

Re: [swift-users] source for a Swift module's interface

2017-01-16 Thread Jens Alfke via swift-users
> On Jan 16, 2017, at 6:18 PM, Dave Yost via swift-users > wrote: > > In Xcode I can put the caret on Darwin in "import Darwin” and use Jump to > Definition to see a Swift source file for the Darwin module. You can also just hold Command down and click. I use this shortcut all the time. > Bu

Re: [swift-users] source for a Swift module's interface

2017-01-16 Thread Jacob Bandes-Storch via swift-users
You can print out the interface using `:type lookup MyModule` in the REPL, as discussed here: https://bugs.swift.org/browse/SR-2502 On Mon, Jan 16, 2017 at 6:18 PM, Dave Yost via swift-users < swift-users@swift.org> wrote: > > In Xcode I can put the caret on Darwin in "import Darwin” and use Jump

[swift-users] source for a Swift module's interface

2017-01-16 Thread Dave Yost via swift-users
In Xcode I can put the caret on Darwin in "import Darwin” and use Jump to Definition to see a Swift source file for the Darwin module. But the file has no name, and clicking on the Show In Finder contextual menu item (which is enabled) does nothing but activate the Finder. I have looked every w

[swift-users] TWISt-shout Newsletter 2017-01-16

2017-01-16 Thread Kenny Leung via swift-users
Hi All. Here is your TWISt-shout Newsletter for the week of 2017-01-09 to 2017-01-015 https://github.com/pepperdog/TWISt-shout/blob/master/2017/TWISt-shout-2017-01-16.md Enjoy! -Kenny ___ swift-users mailing list swift-users@swift.org https://lists.

[swift-users] How to do Cocoa bindings in Swift? IB rejects optionals

2017-01-16 Thread Jean-Denis Muys via swift-users
Hi, I am exploring the use of Swift for a Mac Cocoa application - using Xcode 8.2.1, and it seems I hit a roadblock regarding Cocoa bindings. In this toy Core Data document-based project, I added an NSArrayController in the StoryBoard. I need to bind it a NSManagedObjectContext so that my user

Re: [swift-users] Core Data auto-generated Swift files errors?

2017-01-16 Thread Dave Reed via swift-users
This would probably be better-suited on the Xcode list than here as I think it's a bug in Xcode. I've had issues when trying out this new CoreData codegen feature. What fixes it for me is to go to: ~/Library/Developer/Xcode/DerivedData and delete the entire directory for the build of my projec