20 KiB
20 KiB
Changelog
0.9.39
- Add:
Animatableprotocol to TIUIKitCore. - Add:
ActivityIndicatorprotocol to TIUIKitCore. - Add:
ActivityIndicatorHolderprotocol to TIUIKitCore. - Add:
TIUIElementsfor ui elements.
0.9.37
- Fix: ScrollView content offset of
PaginationWrapperfor iOS 13. - Fix: Load more request crash of
PaginationWrapper.
0.9.36
- Add: SPM Package.swift.
- Add: TITransitions via SPM.
- Add: TIUIKitCore via SPM.
- Update: Readme.
0.9.35
- Add: Selector
refreshAction()for refresh control ofPaginationWrapper.
0.9.34
- Add:
ButtonHolder- protocol that contains button property. - Add:
ButtonHolderView- view which contains button. - Add: Conformance
UIButtontoButtonHolder. - Add: Conformance
BasePlaceholderViewtoButtonHolderView. - [Breaking change]: Replace functions
footerRetryButton() -> UIButton?tofooterRetryView() -> ButtonHolderView?andfooterRetryButtonHeight() -> CGFloattofooterRetryViewHeight() -> CGFloatforPaginationWrapperUIDelegate. - [Breaking change]: Replace functions
footerRetryButtonWillAppear()tofooterRetryViewWillAppear()andfooterRetryButtonWillDisappear()tofooterRetryViewWillDisappear()forPaginationWrapperUIDelegate.
0.9.33
- Fix:
CustomizableButtonViewcontainer class that provides great customization. - Fix:
CustomizableButtonViewModelviewModel class forCustomizableButtonViewconfiguration.
0.9.32
- Fix:
CustomizableButtonViewcontainer class that provides great customization.
0.9.31
- Add:
@discardableResultto function -replace(with:at:with:manualBeginEndUpdates)inTableDirector.
0.9.30
- Add: character
*into a valid set of characters in the extensiontelpromptURLof String.
0.9.29
- Update: remove Carthage binary dependencies, update build scripts.
0.9.28
- Add: method
presentFullScreen(_ viewController:presentationStyle:animated:completion:)forUIViewControllerthat present anyviewControllermodally in full screen mode by default (avoid problems with iOS13 default presentation mode changed to.automaticstork)
0.9.27
- Add: method
date(from string:formats:parsedIn:)method forDateFormattingServicethat parses date from string in one of the given formats with current region.
0.9.26
- Add: method
processResultFromConfigurationSingleforTotalCountCursorthat allows to get server response. - Add: possibility to inherit from
TotalCountCursor.
0.9.25
- Add:
queryItemsparameter forApiRequestParameters. - Add:
asQueryItemsmethod forEncodablethat converts model to query items array.
0.9.24
- Fix: Make
ApiRequestParametersproperties public.
0.9.23
- Add: Rounding for
Decimal. - Add:
doubleValueproperty forDecimal. - Add:
intValueproperty forDecimal. - Fix: Rounding for
Double.
0.9.22
- Fix: Make
Initializableprotocol public.
0.9.21
- Add:
Initializable- common protocol for object types that can be initialized without params. - Add:
instantiateArray(count:)function inInitializableextension to initialize an array of instances.
0.9.20
- Fix:
bindBottomInsetBinding(from bottomInsetDriver:)inBaseScrollContentControllerworks correctly now.
0.9.19
- Add:
hexStringproperty forUIColorthat returns hex representation of color as string.
0.9.18
- Add:
CustomizableButtonViewcontainer class that provides great customization. - Add:
CustomizableButtonViewModelviewModel class forCustomizableButtonViewconfiguration. - Add:
CustomizableButtonclass that is aCustomizableButtonViewsubview and gives it a button functionality.
0.9.17
- Fix: SpinnerView infinity animation.
0.9.16
- Add:
LabelTableViewCellmoved fromLeadKitAdditions. - Add:
SnapKitdependency.
0.9.15
- Add:
BaseSearchViewControllerclass that allows to enter text for search and then displays search results in table view. - Add:
BaseSearchViewModelclass that loads data from a given data source and performs search among the results. - Add:
SearchResultsControllerprotocol that represent a controller able to display search results. - Add:
SearchResultsControllerStateenum that representsSearchResultsControllerstate.
0.9.14
- Update: SwiftDate dependency (~> 6).
0.9.13
- Add:
ApiUploadRequestParametersstruct that defines upload data request parameters. - Add:
rxUploadRequestmethod toNetworkServiceclass that performs reactive request to upload data. - Add:
uploadResponseModelmethod toSessionManagerextension that executes upload request and serializes response. - Add:
handleMappingErrormethod toErrorextension that tries to serialize response from a mapping request error to a model. - Add:
handleMappingErrormethod toObservableType,Single,Completableextensions that handles a mapping error and serialize response to a model. - Add:
validatemethod toDataRequestobservable extension that validates status codes and catch network errors. - Add:
dataApiResponsemethod toDataRequestreactive extension that serializes response into data. - Update:
validStatusCodesparameter in network methods renamed toadditionalValidStatusCodes.
0.9.12
- Update: Swift 5 support
0.9.11
- [Breaking change]: Renamed
NumberFormat'sallOptionstoallCases - Fix: Closure syntax fix. New closure naming.
- Fix: Added missing
BasePlaceholderViewprotocol function.
0.9.10
- Remove: Removed unused scheme & target
- Remove: Cocoapods deintegrated
- Update: New closure typealiases
0.9.9
- Add:
validStatusCodesparameter to request methods inNetworkServiceclass, that expands valid status codes for request. - Add:
validStatusCodesparameter to response methods inSessionManagerextension, that expands valid status codes for request.
0.9.8
- Add:
rxDataRequestmethod toNetworkServiceclass, that performs reactive request to get data and http response. - Add:
responseDatamethod toSessionManagerextension, that executes request and returns data.
0.9.7
- Add: Carthage support.
0.9.6
- Add: Add new
configureSeparatorsmethod toSeparatorRowBoxarray.
0.9.5
- Add:
TitleTypeenum, that definesUIViewController's title type. - Add:
UINavigationItem.largeTitleDisplayModeproperty, that definesUINavigationItem's large title display mode. - Add:
UIViewController.updateNavigationItemTitlemethod, that takesTitleTypeas a parameter and updatesUIViewController's title.
0.9.4
- Add: initialization of
ApiRequestParameters, that takes an array as a request parameter. - Add:
NetworkServiceConfiguration.apiRequestParametersmethod, that createsApiRequestParameterswith array request parameter. - Add:
SessionManager.requestmethod, that takes an array as a request parameter. - Add:
RequestUsageErrorerror, that represents wrong usage of requset parameters.
0.9.3
- Add:
Insert/Removesection with animation functions toTableKit. Also make new functionReplacethat uses newInsert/Removeto animate section replace.
0.9.2
- Update: Add response to
RequestError. - Fix: Update
SessionManager+Extensionsto catch network connection error.
0.9.1
- Update:
DataRequest+Extensionstime out as network error
0.9.0
- Update: version update.
0.8.13
- Add:
configureLayoutmethod toInitializeableViewprotocol and all implementations. - Update:
GeneralDataLoadingViewModelnow can handle state changes and result of data source. Previously it was possible only in view controller. - Add:
GeneralDataLoadingHandlerprotocol, that defines methods for common data loading states handling. - Add:
resultObservableandresultDriverproperties toGeneralDataLoadingViewModel. - Add:
hidesWhenStoppedoption toSpinnerView, so you can stop animation without hiding image inside it. - Update: Migrate to Swift 4.2 & Xcode 10. Update dependencies.
0.8.12
- Add:
UserDefaults+Codableis back. Now with generic subscript support.
0.8.11
- Change:
NumberFormattingService.computedFormatterscomputed var reverted to static.
0.8.10
- [Breaking change]:
NumberFormattingServicemethods is not static anymore. - Add:
NSNumberConvertibleprotocol forNumberFormattingServiceuse cases. - Add:
TableDirectormethods for rows insertion and removal without reload a whole table. - Add:
UIImageViewbinder for disclosure indicator rotation. - Add:
UIView.addSubviews(:)methods with variable number of arguments and array of views. - Add:
PlaceholderConfigurablethat defines attributes and methods for view with placeholder and regular state. - Add:
ContentLoadingViewModelenum that describes possiblePlaceholderConfigurableview states.
0.8.9
- Add: Methods
replace(with:),asVoid(),asOptional()toObservableType,SharedSequence(akaDriver) andSingle. - Add:
Completable.deferredJust(:)static method. - Add:
ViewTextConfigurableprotocol. ConformUILabel,UITextFieldandUIButtonto this protocol. - Add:
BaseTextAttributeswith base text appearance attributes. - Update:
ViewText.stringnow usesBaseTextAttributesinstead of separate properties. - Add:
BasePlaceholderViewandBasePlaceholderViewModelclasses used to create your own placeholder. - Add:
TableKitViewModelprotocol that adds convenient extensions to cell view models that implements it.
0.8.8
- Update: Update
DateFormatprotocol. AdddateToStringFormatandstringToDateFormataccording to SwiftDate 5.0. - Update: Replace
StringwithDateFormatinDataFormattingServicedate parsing methods. - Update: Replace
DateInRegionwithDateRepresentableinDataFormattingServicestring formatting methods. - Add:
parsedInoptional parameter to date parsing method inDataFormattingService.
0.8.7
- Add: Base configurable controllers hierarchy with generic custom view argument (
BaseConfigurableController,BaseCustomViewController,BaseScrollContentController,BaseTableContentControllerandBaseCollectionContentController). - Add:
ScrollViewHolder,TableViewHolderandCollectionViewHolderprotocols. - Update: Update dependencies.
- [Breaking change]: Update
SwiftDateto 5.0.x. - [Breaking change]: Update
DateFormattingService. Changeformatargument fromDateFormatTypetoString. - Update: Add compile time debug messages. Improve compile time for some pieces of code.
0.8.6
- Fix: Add
trustPoliciesparam toNetworkServiceConfigurationinitialization. - Fix: Update
serverTrustPoliciesto save host instead of the whole URL as a key. - Add: String extension that extracts host.
0.8.5
- Add:
replaceDataSourcemethod toRxNetworkOperationModel. - Add:
customErrorHandlerconstructor parameter toRxNetworkOperationModeland it heirs.
0.8.4
- Fix: Add
SeparatorCelltoCore-iOS-Extension. - Fix:
UIApplicationextensions path forCore-iOS-Extensionexclusions.
0.8.3
- Fix:
SpinnerViewanimation freezing
0.8.2
- Add:
acceptableStatusCodesproperty toNetworkServiceConfiguration
0.8.1
- Add: Support for
localizedComponentforFixedWidthInteger
0.8.0
- Add: tests for
NetworkService - Add:
toJSON(with encoder: JSONEncoder)method toEncodable - Add:
failedToDecodeerror case toLeadKitError - Add:
SessionManagerclass - Remove: occurrences
ObjectMapperpod and its occurrences in code - Update: replace
ObjectMappermapping withDecodable
0.7.19
- Fix:
PaginationWrapperretry button showing.
0.7.18
- Update: default implementation of
PaginationWrapperUIDelegate.
0.7.17
- Add:
RxNetworkOperationModelbase class,NetworkOperationStateandNetworkOperationStateTypeprotocols.
0.7.16
- [Breaking Change]: Remove
ModuleConfigurator, change type ofConfigurableController.viewModelproperty fromIUOto plainViewModelT. - Add:
InitializableViewprotocol with default implementation. - Update:
ConfigurableControllerprotocol now inheritInitializableView. - [Breaking Change]:
setAppearanceofConfigurableControllerreplaced withconfigureAppearanceofInitializableView.
0.7.15
- Fix:
Double.roundValue(withPrecision:)rounding issue - Add:
Double+Roundingtest case
0.7.14
- [Breaking Change]:
PaginationWrapperseparating state views from data loading.
0.7.13
- Update: Migrate from
VariabletoBehaviorRelay. - Fix:
PaginationWrapperretry load more after fail. - Fix:
safeClearmethod ofTableDirectornow creates section without header and footer. - Add:
TableSectionconvenience initializer for section without footer and header.
0.7.12
- Add:
UniversalMappableprotocol to have ability generate generic mapping models
0.7.11
- Fix:
addHeaderBackgroundcells overlapping.
0.7.10
- Fix:
wtihInsetsrenamed towith insets
0.7.9
- Fix: timeoutInterval is set to another URLSessionConfiguration property in NetworkServiceConfiguration
0.7.8
- Remove:
App,LogandLogFormatter. - Remove:
CocoaLumberjackdependency. - Add: Rotate operation for image drawing.
- Add:
mapViewEventsoverload with closure that returns array of disposables. - Update: Update
ObjectMapperto 3.1. - Add:
apiRequestParametersmethod toNetworkServiceConfigurationextension. - Update: Rename setToCenter(withInsets:) to pintToSuperview(withInsets:excluding:)
- Update: Added parameter "edges" with label "excluding" to aforementioned method
0.7.7
- Fix: Fix doubling separator line issue
0.7.6
- Add:
NetworkServiceConfigurationto configure NetworkService instance - Remove:
ConfigurableNetworkSeviceprotocol - Update: Acceptable status codes in SessionManager become
Set<Int>
0.7.5
- Add:
topConfigurationandbottomConfigurationproperties, methods to configure top and bottom separators inCellSeparatorTypeextension. - Add:
totalHeightproperty inSeparatorConfigurationextension.
0.7.4
- Update: Exclude UIApplication extensions from iOS-Extension subspec.
0.7.3
- Update: Xcode 9.3 migration.
- Remove: Default initializer for Network service that conforms to
ConfigurableNetworkServiceprotocol. - [Breaking Change]:
DateFormattingServiceclass replaced with protocol. - Add:
SwiftDatedependency forDateFormattingService. - Add:
ViewBackgroundenum that describes possible view backgrounds. - Add:
ViewTextenum that describes text with appearance options. - Removed:
String+SizeCalculationextension.
0.7.2
- Fixed: Change root controller for window
0.7.1
- Add: Extension for comparing optional arrays (
[T]?) withEquatableelements. - Add:
additionalHttpHeadersstatic field inConfigurableNetworkServiceprotocol. - Add: Default initializer for Network service that conforms to
ConfigurableNetworkServiceprotocol.
0.7.0
- Add:
TotalCountCursorfor total count based pagination and related stuff. - [Breaking Change]:
PaginationTableViewWrapperandPaginationTableViewWrapperDelegatewas renamed toPaginationWrapperandPaginationWrapperDelegate. Also there is significant changes in api - Add:
GeneralDataLoadingModelandPaginationDataLoadingModelfor regular and paginated data loading with state handling. - Add:
GeneralDataLoadingViewModelandGeneralDataLoadingControllerfor regular data loading and state handling in UI. - Add:
ConfigurableNetworkService- replacement ofDefaultNetworkServicefrom LeadKitAdditions. - Add:
NumberFormattingServiceandNumberFormatprotocols with default implementation for creating per-project number formatters. - Add: Very flexible in configuration
TextFieldViewModelwith build-in two-side data model binding. - Add:
SingleLoadCursorConfigurationas a replacement ofSingleLoadCursor. - Add:
UIApplicationextensions for making phone calls. - Add:
NSAttributedStringextensions for appending attributed strings using+operator. - Change: Lots of fixes and enhancements.
- Update: Update dependecies versions.
0.6.7
- Add: UITableView extension to add colored background for tableview bounce area.
0.6.6
- Add: Ability to map primitive response types (
String,Int,[String], etc.).
0.6.5
- Add: Ability to handle responses with non-default status codes.
0.6.4
- Fix: SpinnerView bug(no animation) in Swift 4.
0.6.3
- Fix: SeparatorCell updates constraints after setting separator insets
0.6.2
- Fix: AlamofireManager extension no longer performs requests with default manager
0.6.1
- New:
RequestError. Represents general api request errors - Change: All api methods now throws
RequestErrorwhen fails.
0.6.0
- New: Swift 4 support & dependencies update.
- Remove:
Mutex - Remove:
IndexPath+ImmutableIndexPath - Remove:
StoryboardProtocol,StoryboardProtocol+Extensions,StoryboardProtocol+DefaultBundle - Remove:
String+Extensionsimage property - Remove:
UICollectionView+CellRegistration - Remove:
UIStoryboard+InstantiateViewController - Remove:
NetworkServiceextension for loading images - Remove:
Observablecreation forImmutableMappable - Remove:
UIViewandUsedDefaultsextensions,EstimatedViewHeightProtocol,StaticEstimatedViewHeightProtocol,StoryboardIdentifierProtocol
0.5.18
- Fix: EmptyCell first appearance setup fix
0.5.17
- Fix: EmptyCell reusing appearance fix
- Fix: SeparatorCell reusing separators fix
0.5.16
- Change: Rename
AppearanceProtocoltoAppearanceConfigurable - Add:
subscript(safe:)subscript toArrayextension for safe access to element by index
0.5.15
- Add:
AppearanceProtocolwhich ensures that specific type can apply appearance to itself - Add:
with(appearance:),set(appearance:)methods to TableRow extension - Add:
AppearancetoEmptyCell - Remove:
SeparatorCellViewModel.
0.5.13
- Change: Remove type erasure behavior from
AnyBaseTableRow - Change: Rename
AnyBaseTableRowclass toSeparatorRowBox - Change: Move
anyRowproperty fromEmptyCellRowtoTableRowextension and rename it toseparatorRowBox. - Change: Move
configure(extreme: middle:)method fromTableDirectorextension toArrayextension and rename it toconfigureSeparators(extreme: middle:)
0.5.12
- Fix: Update type of
viewModelinConfigurableControllertoImplicitlyUwrappedOptional<ViewModelT>instead ofViewModelT
0.5.11
- [Breaking Change]: rename initializer from
init(initialFrom:)toinit(resetFrom:)inResettableType - Add:
SeparatorCellwithSeparatorCellViewModel - Add:
AnyBaseTableRowfor type-erasure - Add:
EmptyCellRowfor empty cell with static height
0.5.10
- Fix:
Publicmodifier forSpinnerView
0.5.9
- Fix: One-two-many fixed for values more than 99
0.5.8
- Fix: Synchronization over
NSRecursiveLockfor request count tracker in NetworkService
0.5.7
- Add: String extension
localizedComponent(value:stringOne:stringTwo:stringMany:)
0.5.6
- Fix: Clear tableview if placeholder is shown