13 KiB
13 KiB
Changelog
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