• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
[postscript] Re: Swift generics, circular type declarations, and segfaults, oh my!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[postscript] Re: Swift generics, circular type declarations, and segfaults, oh my!


  • Subject: [postscript] Re: Swift generics, circular type declarations, and segfaults, oh my!
  • From: has <email@hidden>
  • Date: Mon, 14 Sep 2015 21:44:57 +0100

Quick follow-up for anyone interested...

On Sep 8, 2015, at 5:45 PM, has <email@hidden <mailto:email@hidden>> wrote: I will need to spend some more time building it out and testing it, but (touch-wood) it looks like the problem might be cracked at last. Wahey!

So, my first attempt to replace all my base classes with protocol extensions failed fairly quickly: trying to move instance vars and non-convenience inits into protocol extensions is a recipe for madness.

However, my second attempt, where I retain the main base classes and move only the 'factory' vars/methods to protocol extensions did eventually yield successful (if slightly convoluted and confusing) results:

    https://bitbucket.org/hhas/swiftae/

Next up, trying to wrangle the inconsistencies and aggravations of Swift's object/non-object and type systems into something that actually works right. Wish my teeth luck - with the amount of enamel left, they will need it. :p

Thanks again,

has

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


References: 
 >Swift generics, circular type declarations, and segfaults, oh my! (From: has <email@hidden>)
 >Re: Swift generics, circular type declarations, and segfaults, oh my! (From: Fritz Anderson <email@hidden>)
 >Re: Swift generics, circular type declarations, and segfaults, oh my! (From: has <email@hidden>)
 >Re: Swift generics, circular type declarations, and segfaults, oh my! (From: Quincey Morris <email@hidden>)
 >Re: Swift generics, circular type declarations, and segfaults, oh my! (From: has <email@hidden>)
 >Re: Swift generics, circular type declarations, and segfaults, oh my! (From: Quincey Morris <email@hidden>)
 >Re: Swift generics, circular type declarations, and segfaults, oh my! (From: Charles Srstka <email@hidden>)
 >Re: Swift generics, circular type declarations, and segfaults, oh my! (From: has <email@hidden>)
 >Re: Swift generics, circular type declarations, and segfaults, oh my! (From: Quincey Morris <email@hidden>)
 >Re: Swift generics, circular type declarations, and segfaults, oh my! (From: Charles Srstka <email@hidden>)
 >Re: Swift generics, circular type declarations, and segfaults, oh my! (From: has <email@hidden>)
 >Re: Swift generics, circular type declarations, and segfaults, oh my! (From: Charles Srstka <email@hidden>)
 >Re: Swift generics, circular type declarations, and segfaults, oh my! (From: has <email@hidden>)
 >Re: Swift generics, circular type declarations, and segfaults, oh my! (From: Charles Srstka <email@hidden>)
 >Re: Swift generics, circular type declarations, and segfaults, oh my! (From: has <email@hidden>)
 >Re: Swift generics, circular type declarations, and segfaults, oh my! (From: Charles Srstka <email@hidden>)

  • Prev by Date: Re: Adding Constraints in Code
  • Next by Date: Re: Adding Constraints in Code
  • Previous by thread: Re: Swift generics, circular type declarations, and segfaults, oh my!
  • Next by thread: Re: Swift generics, circular type declarations, and segfaults, oh my!
  • Index(es):
    • Date
    • Thread