user-profile-img

Aravind Samala

@sapien• Jun 23, 2022open-state

Solid Application Interoperability

Agents are the primary actors in an interoperable Solid ecosystem.

The Agent graph in an identity profile document is designed to be publicly accessible

dereference

annotationDoes anyone know what derefernece mean? Is it referrening?
-

Solid Application Interoperabilitysolid.github.io

user-profile-img

Aravind Samala

@sapien• Apr 29, 2022open-state

The Complete SwiftUI Documentation You’ve Been Waiting For | by Rob Sturgeon | Better Programming

The Complete SwiftUI Documentation You’ve Been Waiting For

Adding an EnvironmentObject is pretty similar to adding an ObservedObject.

The important thing is that when you start to edit a TextField, onEditingChanged is called with a bool that is set to true. When you press the keyboard’s return key, the onCommit block is called, after which onEditingChanged is called with a bool that is set to false

-

The Complete SwiftUI Documentation You’ve Been Waiting For | by Rob Sturgeon | Better Programmingbetterprogramming.pub

user-profile-img

Aravind Samala

@sapien• Apr 28, 2022open-state

Date and Time Formats

1994-11-05T08:15:30-05:00

-

Date and Time Formatswww.w3.org

user-profile-img

Aravind Samala

@sapien• Apr 28, 2022open-state

Closures — The Swift Programming Language (Swift 5.6)

If you use these shorthand argument names within your closure expression, you can omit the closure’s argument list from its definition

-

Closures — The Swift Programming Language (Swift 5.7)docs.swift.org

user-profile-img

Aravind Samala

@sapien• Apr 28, 2022open-state

swiftui - What is the "some" keyword in Swift(UI)? - Stack Overflow

PATs (protocols with associated types)

Attempting to return different conforming types within the function yields a compiler error:

Because opaque result types enforce a single concrete type is returned, the compiler knows that two calls to the same function must return two values of the same type

-

swiftui - What is the "some" keyword in Swift(UI)? - Stack Overflowstackoverflow.com

user-profile-img

Aravind Samala

@sapien• Apr 28, 2022open-state

swiftui - What is the difference between @EnvironmentObject and @ObservedObject? - Stack Overflow

What is the difference between @EnvironmentObject and @ObservedObject?

-

swiftui - What is the difference between @EnvironmentObject and @ObservedObject? - Stack Overflowstackoverflow.com

user-profile-img

Aravind Samala

@sapien• Apr 28, 2022open-state

State | Apple Developer Documentation

Don’t initialize a state property of a view at the point in the view hierarchy where you instantiate the view, because this can conflict with the storage management that SwiftUI provides

-

State | Apple Developer Documentationdeveloper.apple.com

user-profile-img

Aravind Samala

@sapien• Apr 28, 2022open-state

Handling User Input — SwiftUI Tutorials | Apple Developer Documentation

An observable object is a custom object for your data that can be bound to a view from storage in SwiftUI’s environment

An observable object needs to publish any changes to its data,

A preview fails if any subview requires a model object in the environment

-

Handling User Input — SwiftUI Tutorials | Apple Developer Documentationdeveloper.apple.com

user-profile-img

Aravind Samala

@sapien• Apr 28, 2022open-state

Building Lists and Navigation — SwiftUI Tutorials | Apple Developer Documentation

Group is a container for grouping view content

a List

-

Building Lists and Navigation — SwiftUI Tutorials | Apple Developer Documentationdeveloper.apple.com

user-profile-img

Aravind Samala

@sapien• Apr 28, 2022open-state

Creating and Combining Views — SwiftUI Tutorials | Apple Developer Documentation

view’s body property;

Command-click the text view’s initializer

-

Creating and Combining Views — SwiftUI Tutorials | Apple Developer Documentationdeveloper.apple.com