- Fixed iOS version warning in Xcode 12 (evgenyneu#171).
- Allow switching between light/dark modes without restarting (evgenyneu#162).
- Set
APPLICATION_EXTENSION_API_ONLY
toYes
(evgenyneu#155).
- Fixed Cosmos view when used in a modal screen on iOS 13 (evgenyneu#148).
- Added Swift Package Manager support (gcharita).
- Update to Swift 5.0.
- Added
passTouchesToSuperview
setting to prevent passing touches to superview (yuravake).
- Updated for Swift 4.2 and Xcode 10.0 (chlumik).
- Added ability to customize the Cosmos view from the interface builder with Carthage setup method (jsahoo).
- Added
prepareForReuse
function to help recycle Cosmos views in table cells.
- Added ability to reuse settings in multiple cosmos views.
- Call
didFinishTouchingCosmos
when touches are canceled (this can happen if user scrolls Cosmos in a scroll view).
- Update for Swift 4.0 and Xcode 9.0.
- Added ability to specify images for the stars.
- Automatically resize the frame of the CosmosView to include the starts when it is used without Auto Layout. Thanks to paoloq for reporting the issue and suggesting a solution.
- Update to Swift 3.1 (wagnersouz4).
-
Improved star touch precision which is now within 1 AU.
-
Added right-to-left language support (thanks, tarek903). We may need to add non-linear language support in the future (waiting for a pull request from heptapods).
Change public
access-level modifiers of the CosmosView
to open
to allow subclassing 0x7fffffff.
Update to Xcode 8 beta 6 version of Swift, thanks to JimiSmith.
Update to Xcode 8 beta 4/5 version of Swift, thanks to craiggrummitt.
Update to Xcode 8 beta 3 version of Swift, thanks to ali-zahedi.
Update to Xcode 8 beta 2 version of Swift.
Update to Swift 3.0
Fix the issue with uploading of a TVOS app to iTunes Connect by setting EMBEDDED_CONTENT_CONTAINS_SWIFT to NO in tvOS target of the library.
Fix stuff that was deprecated in Swift 2.2 in order to avoid warnings in Xcode 7.3.
-
augmentedworks added two new fields
filledBorderColor
andfilledBorderWidth
. Before the color of the border and the filling were the same for the filled star. Now we can make them different. -
Renamed color and border properties to make them start with words 'Empty' and 'Filled'. This is done to distinguish the fields visually in the attributes inspector. Attribute inspector shows only the start of a long name and fills the rest with "dot dot dot". For example, field names "Border color empty" and "Border color filled" both looked like "Border color..." and it was impossible to tell which one is which. Now they look like "Filled border..." and "Empty border..." and we can tell them apart in the attributes inspector.
- Rename
borderColorEmpty
toemptyBorderColor
. - Rename
borderWidthEmpty
toemptyBorderWidth
. - Rename
colorEmpty
toemptyColor
. - Rename
colorFilled
tofilledColor
. - If you used storyboard to set the colors and widths you will need to set them again.
- You may also need to fix the warnings by removing the values for the old properties like 'Color Filled' and 'Color Empty'. It can be done in the identity inspector for the view.
- You will most likely need to set the the field
filledBorderColor
to be the same as yourcolorFilled
to retain the previous look of the star. - If you used a non-default border width you may need to set
filledBorderWidth
as well.
- Rename
- @staticdreams added tvOS support.
-
Added
didFinishTouchingCosmos
property. -
Moved repository from https://github.com/exchangegroup/Cosmos to https://github.com/marketplacer/Cosmos.