Looking forwards to #WWDC21 I will be posting some articles as soon as possible. This is going to be a full on week (not expecting to sleep much/if at all)!!
DCRF provides a selection of additions to the Django Channels library. The goal is to make it easy to use your pre-existing code/experience with Django Rest Framework when building web socket servers using Channels.
@razterizer In general if you'r able I have found it best not to do any range based List even with this solution.
If you can (somehow) get a real meaningful id there are good reasons to use that instead.
When using ForEach in #SwiftUI with a non-constant range, remember to pass it an id. Your project will build without but your app will behave weird and you will be getting a warning "ForEach(_:content:) should only be used for *constant* data." #iOSDev#iOS
I have been gradually making use of the new focus api in #SwiftUI and noticed that one can use KeyPaths as the focus value. https://t.co/2fw28zBcSf #iOSDev
After struggling with the performance of navigation changes in @cleora_app on #macOS I noticed that there is an alternative solution for handling sidebar based navigation on macOS that provides much better perfomance 🏎 #SwiftUI
https://t.co/O6XkQUQPHA
@StewartLynch you can also do `@Environment(\.key) @Binding var abc` but if you do this you can't access the binding using `$abc` in your view body (but you can read/write to `abc`)
Handling Binding<T> based environment values in #SwiftUI can be clunky. This post provides a new property wrapper to make this cleaner.
#iOSDev
https://t.co/slgvYN6A68
So am I the only one who has been looking to implement an (at)EnvironmentBinding property wrapper for #SwiftUI that lets you read Binding<Value> from the environment. (blog post on @lostmoa_nz coming soon)
Last year at #WWDC20 Apple introduces the new MPSGraph API and I have been disappointed at how it seems to not have gained much notice in the community.. time to rectify this (hopefully) #iOSDev#GPUCompute
https://t.co/0HptGmQBHW
@MarkVillacampa@Gernot@appstorage yer, this is due to how swift matuaticly builds the encode method for you. If the Raw representable definition is in the same file (for some strange annoying reason) the swift compile will take a shortcut and just use the raw representable rather than do its normal stuff.
I have been using this for a while and figured I should share this with the community, nothing novel but a useful way to get around current limitations of #SwiftLang.
https://t.co/33aqITIWKH
Discovered some interesting learnings building this of how view that are Equatable View seem to work even if they are not wrapped in EquatableView... I need to do a little bit more research but might get a post up if i can fully understand it.
Cleora 2021.3 https://t.co/Qm9OIUoIL5 has been released🥳
This is a small release:
- 🧹UI Cleanup in detail views on macOS to look a little bit better.
- ✍🏽Ability to give Request etc a Name so that you can find them in the sidebar more easily.
#webdev#macOS#iOS#iPadOS#APIs
Just released Cleora 2021.2! 🎉 https://t.co/Qm9OIUoIL5
⚙️ Extract request schema and query
⇵Limit HTTP exchange items listed in the sidebar and sort them by the creation date
🗑Right Click to delete exchange items
⟳ Reconnect/Resend requests from the exchange
Cleora 2021.1 https://t.co/9etObZTZFz is out 🎉 this release brings some big changes:
🖥 Native #macOS Support for Intel and #applesilicon
📁Document based application on all platforms
⚡️️Much improved performance
🛠 Finer control over how request headers are sent
#webdev