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
Dates and Times:
Compare dates and times, and perform calendar and time zone calculations.

1. struct Date - a specific point in time, independent of any calendar or time zone.
2. struct DateInterval - the span of time between a specific start date and end date.
3. typealias TimeInterval - a number of seconds.
4. struct DateComponents - a date or time specified in terms of units (such as year, month, day, hour, and minute) to be evaluated in a calendar system and time zone.
5. struct Calendar - a definition of the relationships between calendar units (such as eras, years, and weekdays) and absolute points in time, providing features for calculation and comparison of dates.
6. struct TimeZone - information about standard time conventions associated with a specific geopolitical region.
7. class DateFormatter - a formatter that converts between dates and their textual representations.
8. class DateComponentsFormatter - a formatter that creates string representations of quantities of time.
9. class DateIntervalFormatter - a formatter that creates string representations of time intervals.
10. class ISO8601DateFormatter - a formatter that converts between dates and their ISO 8601 string representations.
11. struct Locale - information about linguistic, cultural, and technological conventions for use in formatting data for presentation.
Units and Measurement:
Label numeric quantities with physical dimensions to allow locale-aware formatting and conversion between related units.

1. struct Measurement - a numeric quantity labeled with a unit of measure, with support for unit conversion and unit-aware calculations.
2. class Unit - an abstract class representing a unit of measure.
3. class Dimension - an abstract class representing a dimensional unit of measure.
4. class UnitConverter - an abstract class that provides a description of how to convert a unit to and from the base unit of its dimension.
5. class UnitConverterLinear - a description of how to convert between units using a linear equation.
6. class UnitArea - a unit of measure for area.
7. class UnitLength - a unit of measure for length.
8. class UnitVolume - a unit of measure for volume.
9. class UnitAngle - a unit of measure for rotation.
10. class UnitMass - a unit of measure for mass.
11. class UnitPressure - a unit of measure for pressure.
12. class UnitAcceleration - a unit of measure for acceleration.
13. class UnitDuration - a unit of measure for duration of time.
14. class UnitFrequency - a unit of measure for frequency.
15. class UnitSpeed - a unit of measure for speed.
16. class UnitEnergy - a unit of measure for energy.
17. class UnitPower - a unit of measure for power.
18. class UnitTemperature - a unit of measure for temperature.
19. class UnitIlluminance - a unit of measure for luminance.
20. class UnitElectricCharge - a unit of measure for electric charge.
21. class UnitElectricCurrent - a unit of measure for electric current.
22. class UnitElectricPotentialDifference - a unit of measure for electric potential difference.
23. class UnitElectricResistance - a unit of measure for electric resistance.
24. class UnitConcentrationMass - a unit of measure for concentration of mass.
25. class UnitDispersion - a unit of measure for an amount-of-substance fraction.
26. class UnitFuelEfficiency - a unit of measure for fuel efficiency.
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.