iOS developer
3 subscribers
6 photos
8 links
Swift is a powerful and intuitive programming language for macOS, iOS, watchOS, tvOS and beyond. Writing Swift code is interactive and fun, the syntax is concise yet expressive, and Swift includes modern features developers love.
Admin: @shinbolat
Download Telegram
Data Formatting:
Convert numbers, dates, measurements, and other values to and from locale-aware string representations.

1. {} Converting Between Swift Data Types and Strings - use formatters to convert Swift data types to their string representations and back.
2. class NumberFormatter - a formatter that converts between numeric values and their textual representations.
3. class PersonNameComponentsFormatter - a formatter that provides localized representations of the components of a person’s name.
4. struct PersonNameComponents - the separate parts of a person's name, allowing locale-aware formatting.
5. class DateFormatter - a formatter that converts between dates and their textual representations.
6. class DateComponentsFormatter - a formatter that creates string representations of quantities of time.
7. class DateIntervalFormatter - a formatter that creates string representations of time intervals.
8. class ISO8601DateFormatter - a formatter that converts between dates and their ISO 8601 string representations.
9. class ByteCountFormatter - a formatter that converts a byte count value into a localized description that is formatted with the appropriate byte modifier (KB, MB, GB and so on).
10. class MeasurementFormatter - a formatter that provides localized representations of units and measurements.
11. struct Locale - information about linguistic, cultural, and technological conventions for use in formatting data for presentation.
12. class Formatter - an abstract class that declares an interface for objects that create, interpret, and validate the textual representation of values.
13. class LengthFormatter - a formatter that provides localized descriptions of linear distances, such as length and height measurements.
14. class MassFormatter - a formatter that provides localized descriptions of mass and weight values.
15. class EnergyFormatter - a formatter that provides localized descriptions of energy values.
Filters and Sorting:
1. class NSPredicate - a definition of logical conditions used to constrain a search either for a fetch or for in-memory filtering.
2. class NSExpression - an expression for use in a comparison predicate.
3. class NSComparisonPredicate - a specialized predicate that you use to compare expressions.
4. class NSCompoundPredicate - a specialized predicate that evaluates logical combinations of other predicates.
5. class NSSortDescriptor - an immutable description of how to order a collection of objects based on a property common to all the objects.
6. enum ComparisonResult - constants that indicate sort order.
The Swift standard library defines a base layer of functionality for writing Swift programs, including:
Fundamental data types such as Int, Double, and String
Common data structures such as Array, Dictionary, and Set
Global functions such as print(_:separator:terminator:) and abs(_:)
Protocols, such as Collection and Equatable, that describe common abstractions.
Protocols, such as CustomDebugStringConvertible and CustomReflectable, that you use to customize operations that are available to all types.
Protocols, such as OptionSet, that you use to provide implementations that would otherwise require boilerplate code.
websocket did not connect (Invalid http upgrade) #110

I was able to resolve this. Incorrectly placed the global reference to ParseLiveQuery.Client(server: "wss://myServer.io") outside of scope of class.
Join the Apple Developer Program to reach customers around the world on the App Store for iPhone, iPad, Mac, Apple Watch, Apple TV, and Apple Vision Pro
Swift is a powerful and intuitive programming language for macOS, iOS, watchOS, tvOS and beyond. Writing Swift code is interactive and fun, the syntax is concise yet expressive, and Swift includes modern features developers love.