├── .cocoadocs.yml
├── .gitignore
├── .travis.yml
├── AFOAuth1Client
├── AFOAuth1Client
│ ├── AFOAuth1Client.h
│ └── AFOAuth1Client.m
├── LICENSE
└── README.md
├── CHANGELOG.md
├── DiscogsAPI.podspec
├── DiscogsAPI.xcodeproj
├── project.pbxproj
├── project.xcworkspace
│ ├── contents.xcworkspacedata
│ └── xcshareddata
│ │ └── DiscogsAPI.xcscmblueprint
└── xcshareddata
│ └── xcschemes
│ ├── Discogs-objc.xcscheme
│ ├── Discogs-swift.xcscheme
│ ├── DiscogsAPI.xcscheme
│ └── DiscogsAPITests.xcscheme
├── DiscogsAPI.xcworkspace
└── contents.xcworkspacedata
├── DiscogsAPI
├── Authentication
│ ├── DGAuthView.h
│ ├── DGAuthView.m
│ ├── DGAuthentication.h
│ ├── DGAuthentication.m
│ ├── DGTokenStore.h
│ ├── DGTokenStore.m
│ └── Identity
│ │ ├── DGIdentity+Keychain.h
│ │ ├── DGIdentity+Keychain.m
│ │ ├── DGIdentity.h
│ │ └── DGIdentity.m
├── Core
│ ├── DGEndpoint.h
│ ├── DGEndpoint.m
│ ├── DGObject.h
│ ├── DGObject.m
│ └── Internal
│ │ ├── DGEndpoint+Private.h
│ │ ├── DGEndpoint+Private.m
│ │ ├── DGHTTPClient.h
│ │ ├── DGHTTPClient.m
│ │ ├── DGObjectManager.h
│ │ ├── DGObjectManager.m
│ │ ├── DGOperation.h
│ │ ├── DGOperation.m
│ │ ├── DGOperationQueue.h
│ │ └── DGOperationQueue.m
├── Database
│ ├── Artist
│ │ ├── DGArtist.h
│ │ ├── DGArtist.m
│ │ ├── DGArtistRelease.h
│ │ ├── DGArtistRelease.m
│ │ ├── DGMember.h
│ │ └── DGMember.m
│ ├── DGDatabase.h
│ ├── DGDatabase.m
│ ├── Data
│ │ ├── DGCommunity.h
│ │ ├── DGCommunity.m
│ │ ├── DGFormat.h
│ │ ├── DGFormat.m
│ │ ├── DGIdentifier.h
│ │ ├── DGIdentifier.m
│ │ ├── DGImage.h
│ │ ├── DGImage.m
│ │ ├── DGTrack.h
│ │ ├── DGTrack.m
│ │ ├── DGVideo.h
│ │ └── DGVideo.m
│ ├── Label
│ │ ├── DGCompany.h
│ │ ├── DGCompany.m
│ │ ├── DGLabel.h
│ │ ├── DGLabel.m
│ │ ├── DGLabelRelease.h
│ │ └── DGLabelRelease.m
│ ├── Master
│ │ ├── DGMaster.h
│ │ ├── DGMaster.m
│ │ ├── DGMasterVersion.h
│ │ └── DGMasterVersion.m
│ ├── Release
│ │ ├── DGRelease.h
│ │ └── DGRelease.m
│ └── Search
│ │ ├── DGSearch.h
│ │ └── DGSearch.m
├── DiscogsAPI.h
├── DiscogsAPI.m
├── Mapping
│ ├── Authentication
│ │ └── Identity
│ │ │ ├── DGIdentity+Mapping.h
│ │ │ └── DGIdentity+Mapping.m
│ ├── DGMapping.h
│ ├── Database
│ │ ├── Artist
│ │ │ ├── DGArtist+Mapping.h
│ │ │ ├── DGArtist+Mapping.m
│ │ │ ├── DGArtistRelease+Mapping.h
│ │ │ ├── DGArtistRelease+Mapping.m
│ │ │ ├── DGMember+Mapping.h
│ │ │ └── DGMember+Mapping.m
│ │ ├── Data
│ │ │ ├── DGCommunity+Mapping.h
│ │ │ ├── DGCommunity+Mapping.m
│ │ │ ├── DGFormat+Mapping.h
│ │ │ ├── DGFormat+Mapping.m
│ │ │ ├── DGIdentifier+Mapping.h
│ │ │ ├── DGIdentifier+Mapping.m
│ │ │ ├── DGImage+Mapping.h
│ │ │ ├── DGImage+Mapping.m
│ │ │ ├── DGTrack+Mapping.h
│ │ │ ├── DGTrack+Mapping.m
│ │ │ ├── DGVideo+Mapping.h
│ │ │ └── DGVideo+Mapping.m
│ │ ├── Label
│ │ │ ├── DGCompany+Mapping.h
│ │ │ ├── DGCompany+Mapping.m
│ │ │ ├── DGLabel+Mapping.h
│ │ │ ├── DGLabel+Mapping.m
│ │ │ ├── DGLabelRelease+Mapping.h
│ │ │ └── DGLabelRelease+Mapping.m
│ │ ├── Master
│ │ │ ├── DGMaster+Mapping.h
│ │ │ ├── DGMaster+Mapping.m
│ │ │ ├── DGMasterVersion+Mapping.h
│ │ │ └── DGMasterVersion+Mapping.m
│ │ ├── Release
│ │ │ ├── DGRelease+Mapping.h
│ │ │ └── DGRelease+Mapping.m
│ │ └── Search
│ │ │ ├── DGSearch+Mapping.h
│ │ │ └── DGSearch+Mapping.m
│ ├── Marketplace
│ │ ├── Listing
│ │ │ ├── DGInventory+Mapping.h
│ │ │ ├── DGInventory+Mapping.m
│ │ │ ├── DGListing+Mapping.h
│ │ │ └── DGListing+Mapping.m
│ │ ├── Order
│ │ │ ├── DGOrder+Mapping.h
│ │ │ └── DGOrder+Mapping.m
│ │ └── Price
│ │ │ ├── DGPrice+Mapping.h
│ │ │ └── DGPrice+Mapping.m
│ ├── Pagination
│ │ ├── DGPagination+Mapping.h
│ │ └── DGPagination+Mapping.m
│ └── User
│ │ ├── Collection
│ │ ├── DGCollectionField+Mapping.h
│ │ ├── DGCollectionField+Mapping.m
│ │ ├── DGCollectionFieldInstance+Mapping.h
│ │ ├── DGCollectionFieldInstance+Mapping.m
│ │ ├── DGCollectionFolder+Mapping.h
│ │ ├── DGCollectionFolder+Mapping.m
│ │ ├── DGReleaseInstance+Mapping.h
│ │ └── DGReleaseInstance+Mapping.m
│ │ ├── Profile
│ │ ├── DGProfile+Mapping.h
│ │ └── DGProfile+Mapping.m
│ │ └── Wantlist
│ │ ├── DGWantlist+Mapping.h
│ │ └── DGWantlist+Mapping.m
├── Marketplace
│ ├── DGMarketplace.h
│ ├── DGMarketplace.m
│ ├── Listing
│ │ ├── DGInventory.h
│ │ ├── DGInventory.m
│ │ ├── DGListing.h
│ │ └── DGListing.m
│ ├── Order
│ │ ├── DGOrder.h
│ │ └── DGOrder.m
│ └── Price
│ │ ├── DGPrice.h
│ │ └── DGPrice.m
├── Pagination
│ ├── DGPagination.h
│ └── DGPagination.m
├── Resource
│ ├── DGResource.h
│ └── DGResource.m
└── User
│ ├── Collection
│ ├── DGCollection.h
│ ├── DGCollection.m
│ ├── DGCollectionField.h
│ ├── DGCollectionField.m
│ ├── DGCollectionFieldInstance.h
│ ├── DGCollectionFieldInstance.m
│ ├── DGCollectionFolder.h
│ ├── DGCollectionFolder.m
│ ├── DGReleaseInstance.h
│ └── DGReleaseInstance.m
│ ├── DGUser.h
│ ├── DGUser.m
│ ├── Profile
│ ├── DGProfile.h
│ └── DGProfile.m
│ └── Wantlist
│ ├── DGWantlist.h
│ └── DGWantlist.m
├── Example-objc
├── Assets.xcassets
│ ├── AppIcon.appiconset
│ │ └── Contents.json
│ ├── Contents.json
│ ├── LaunchImage.launchimage
│ │ └── Contents.json
│ ├── default-artist.imageset
│ │ ├── Contents.json
│ │ └── default-artist.png
│ ├── default-label.imageset
│ │ ├── Contents.json
│ │ └── default-label.png
│ └── default-release.imageset
│ │ ├── Contents.json
│ │ └── default-release.png
├── Base.lproj
│ ├── Launch Screen.storyboard
│ └── Main.storyboard
├── DGAppDelegate.h
├── DGAppDelegate.m
├── DGArtistViewController.h
├── DGArtistViewController.m
├── DGLabelViewController.h
├── DGLabelViewController.m
├── DGMasterViewController.h
├── DGMasterViewController.m
├── DGReleaseViewController.h
├── DGReleaseViewController.m
├── DGSearchViewController.h
├── DGSearchViewController.m
├── DGViewController.h
├── DGViewController.m
├── Info.plist
└── main.m
├── Example-swift
├── Assets.xcassets
│ ├── AppIcon.appiconset
│ │ └── Contents.json
│ ├── Contents.json
│ ├── LaunchImage.launchimage
│ │ └── Contents.json
│ ├── default-artist.imageset
│ │ ├── Contents.json
│ │ └── default-artist.png
│ ├── default-label.imageset
│ │ ├── Contents.json
│ │ └── default-label.png
│ └── default-release.imageset
│ │ ├── Contents.json
│ │ └── default-release.png
├── Base.lproj
│ ├── Launch Screen.storyboard
│ └── Main.storyboard
├── DGAppDelegate.swift
├── DGArtistViewController.swift
├── DGLabelViewController.swift
├── DGMasterViewController.swift
├── DGReleaseViewController.swift
├── DGSearchViewController.swift
├── DGViewController.swift
└── Info.plist
├── Framework
├── DiscogsAPI-umbrella.h
├── DiscogsAPI.pch
├── Info.plist
└── module.modulemap
├── LICENSE
├── Podfile
├── Podfile.lock
├── Pods
├── ISO8601DateFormatterValueTransformer
│ ├── Code
│ │ ├── ISO8601DateFormatterValueTransformer.h
│ │ ├── ISO8601DateFormatterValueTransformer.m
│ │ ├── RKISO8601DateFormatter.h
│ │ └── RKISO8601DateFormatter.m
│ ├── LICENSE
│ └── README.md
├── Local Podspecs
│ └── DiscogsAPI.podspec.json
├── Manifest.lock
├── Pods.xcodeproj
│ └── project.pbxproj
├── RKValueTransformers
│ ├── Code
│ │ ├── RKValueTransformers.h
│ │ └── RKValueTransformers.m
│ ├── LICENSE
│ └── README.md
├── RestKit
│ ├── Code
│ │ ├── Network.h
│ │ ├── Network
│ │ │ ├── AFNetworking
│ │ │ │ ├── AFRKHTTPClient.h
│ │ │ │ ├── AFRKHTTPClient.m
│ │ │ │ ├── AFRKHTTPRequestOperation.h
│ │ │ │ ├── AFRKHTTPRequestOperation.m
│ │ │ │ ├── AFRKImageRequestOperation.h
│ │ │ │ ├── AFRKImageRequestOperation.m
│ │ │ │ ├── AFRKJSONRequestOperation.h
│ │ │ │ ├── AFRKJSONRequestOperation.m
│ │ │ │ ├── AFRKNetworkActivityIndicatorManager.h
│ │ │ │ ├── AFRKNetworkActivityIndicatorManager.m
│ │ │ │ ├── AFRKNetworking.h
│ │ │ │ ├── AFRKPropertyListRequestOperation.h
│ │ │ │ ├── AFRKPropertyListRequestOperation.m
│ │ │ │ ├── AFRKURLConnectionOperation.h
│ │ │ │ ├── AFRKURLConnectionOperation.m
│ │ │ │ ├── AFRKXMLRequestOperation.h
│ │ │ │ ├── AFRKXMLRequestOperation.m
│ │ │ │ ├── UIImageView+AFRKNetworking.h
│ │ │ │ └── UIImageView+AFRKNetworking.m
│ │ │ ├── RKHTTPRequestOperation.h
│ │ │ ├── RKHTTPRequestOperation.m
│ │ │ ├── RKHTTPUtilities.h
│ │ │ ├── RKHTTPUtilities.m
│ │ │ ├── RKManagedObjectRequestOperation.h
│ │ │ ├── RKManagedObjectRequestOperation.m
│ │ │ ├── RKObjectManager.h
│ │ │ ├── RKObjectManager.m
│ │ │ ├── RKObjectParameterization.h
│ │ │ ├── RKObjectParameterization.m
│ │ │ ├── RKObjectRequestOperation.h
│ │ │ ├── RKObjectRequestOperation.m
│ │ │ ├── RKObjectRequestOperationSubclass.h
│ │ │ ├── RKPaginator.h
│ │ │ ├── RKPaginator.m
│ │ │ ├── RKPathMatcher.h
│ │ │ ├── RKPathMatcher.m
│ │ │ ├── RKRequestDescriptor.h
│ │ │ ├── RKRequestDescriptor.m
│ │ │ ├── RKResponseDescriptor.h
│ │ │ ├── RKResponseDescriptor.m
│ │ │ ├── RKResponseMapperOperation.h
│ │ │ ├── RKResponseMapperOperation.m
│ │ │ ├── RKRoute.h
│ │ │ ├── RKRoute.m
│ │ │ ├── RKRouteSet.h
│ │ │ ├── RKRouteSet.m
│ │ │ ├── RKRouter.h
│ │ │ └── RKRouter.m
│ │ ├── ObjectMapping.h
│ │ ├── ObjectMapping
│ │ │ ├── RKAttributeMapping.h
│ │ │ ├── RKAttributeMapping.m
│ │ │ ├── RKDynamicMapping.h
│ │ │ ├── RKDynamicMapping.m
│ │ │ ├── RKErrorMessage.h
│ │ │ ├── RKErrorMessage.m
│ │ │ ├── RKMapperOperation.h
│ │ │ ├── RKMapperOperation.m
│ │ │ ├── RKMapperOperation_Private.h
│ │ │ ├── RKMapping.h
│ │ │ ├── RKMapping.m
│ │ │ ├── RKMappingErrors.h
│ │ │ ├── RKMappingOperation.h
│ │ │ ├── RKMappingOperation.m
│ │ │ ├── RKMappingOperationDataSource.h
│ │ │ ├── RKMappingResult.h
│ │ │ ├── RKMappingResult.m
│ │ │ ├── RKObjectMapping.h
│ │ │ ├── RKObjectMapping.m
│ │ │ ├── RKObjectMappingMatcher.h
│ │ │ ├── RKObjectMappingMatcher.m
│ │ │ ├── RKObjectMappingOperationDataSource.h
│ │ │ ├── RKObjectMappingOperationDataSource.m
│ │ │ ├── RKObjectUtilities.h
│ │ │ ├── RKObjectUtilities.m
│ │ │ ├── RKPropertyInspector.h
│ │ │ ├── RKPropertyInspector.m
│ │ │ ├── RKPropertyMapping.h
│ │ │ ├── RKPropertyMapping.m
│ │ │ ├── RKRelationshipMapping.h
│ │ │ └── RKRelationshipMapping.m
│ │ ├── RestKit.h
│ │ ├── Support.h
│ │ ├── Support
│ │ │ ├── RKBooleanClass.h
│ │ │ ├── RKDictionaryUtilities.h
│ │ │ ├── RKDictionaryUtilities.m
│ │ │ ├── RKDotNetDateFormatter.h
│ │ │ ├── RKDotNetDateFormatter.m
│ │ │ ├── RKErrors.h
│ │ │ ├── RKErrors.m
│ │ │ ├── RKLog.h
│ │ │ ├── RKLog.m
│ │ │ ├── RKMIMETypeSerialization.h
│ │ │ ├── RKMIMETypeSerialization.m
│ │ │ ├── RKMIMETypes.h
│ │ │ ├── RKMIMETypes.m
│ │ │ ├── RKMacros.h
│ │ │ ├── RKNSJSONSerialization.h
│ │ │ ├── RKNSJSONSerialization.m
│ │ │ ├── RKOperationStateMachine.h
│ │ │ ├── RKOperationStateMachine.m
│ │ │ ├── RKPathUtilities.h
│ │ │ ├── RKPathUtilities.m
│ │ │ ├── RKSerialization.h
│ │ │ ├── RKStringTokenizer.h
│ │ │ ├── RKStringTokenizer.m
│ │ │ ├── RKURLEncodedSerialization.h
│ │ │ ├── RKURLEncodedSerialization.m
│ │ │ ├── lcl_RK.h
│ │ │ ├── lcl_RK.m
│ │ │ ├── lcl_config_components_RK.h
│ │ │ ├── lcl_config_extensions_RK.h
│ │ │ └── lcl_config_logger_RK.h
│ │ ├── Testing.h
│ │ └── Testing
│ │ │ ├── RKBenchmark.h
│ │ │ ├── RKBenchmark.m
│ │ │ ├── RKConnectionTestExpectation.h
│ │ │ ├── RKConnectionTestExpectation.m
│ │ │ ├── RKMappingTest.h
│ │ │ ├── RKMappingTest.m
│ │ │ ├── RKPropertyMappingTestExpectation.h
│ │ │ ├── RKPropertyMappingTestExpectation.m
│ │ │ ├── RKTestConstants.m
│ │ │ ├── RKTestFactory.h
│ │ │ ├── RKTestFactory.m
│ │ │ ├── RKTestFixture.h
│ │ │ ├── RKTestFixture.m
│ │ │ ├── RKTestHelpers.h
│ │ │ ├── RKTestHelpers.m
│ │ │ ├── RKTestNotificationObserver.h
│ │ │ └── RKTestNotificationObserver.m
│ ├── LICENSE
│ └── README.md
├── SOCKit
│ ├── LICENSE
│ ├── README.mdown
│ ├── SOCKit.h
│ └── SOCKit.m
├── Target Support Files
│ ├── DiscogsAPI
│ │ ├── DiscogsAPI-dummy.m
│ │ ├── DiscogsAPI-prefix.pch
│ │ ├── DiscogsAPI-umbrella.h
│ │ ├── DiscogsAPI.modulemap
│ │ ├── DiscogsAPI.xcconfig
│ │ └── Info.plist
│ ├── ISO8601DateFormatterValueTransformer
│ │ ├── ISO8601DateFormatterValueTransformer-dummy.m
│ │ ├── ISO8601DateFormatterValueTransformer-prefix.pch
│ │ ├── ISO8601DateFormatterValueTransformer-umbrella.h
│ │ ├── ISO8601DateFormatterValueTransformer.modulemap
│ │ ├── ISO8601DateFormatterValueTransformer.xcconfig
│ │ └── Info.plist
│ ├── Pods-Discogs-objc
│ │ ├── Info.plist
│ │ ├── Pods-Discogs-objc-acknowledgements.markdown
│ │ ├── Pods-Discogs-objc-acknowledgements.plist
│ │ ├── Pods-Discogs-objc-dummy.m
│ │ ├── Pods-Discogs-objc-frameworks.sh
│ │ ├── Pods-Discogs-objc-resources.sh
│ │ ├── Pods-Discogs-objc-umbrella.h
│ │ ├── Pods-Discogs-objc.debug.xcconfig
│ │ ├── Pods-Discogs-objc.modulemap
│ │ └── Pods-Discogs-objc.release.xcconfig
│ ├── Pods-Discogs-swift
│ │ ├── Info.plist
│ │ ├── Pods-Discogs-swift-acknowledgements.markdown
│ │ ├── Pods-Discogs-swift-acknowledgements.plist
│ │ ├── Pods-Discogs-swift-dummy.m
│ │ ├── Pods-Discogs-swift-frameworks.sh
│ │ ├── Pods-Discogs-swift-resources.sh
│ │ ├── Pods-Discogs-swift-umbrella.h
│ │ ├── Pods-Discogs-swift.debug.xcconfig
│ │ ├── Pods-Discogs-swift.modulemap
│ │ └── Pods-Discogs-swift.release.xcconfig
│ ├── Pods-DiscogsAPI
│ │ ├── Info.plist
│ │ ├── Pods-DiscogsAPI-acknowledgements.markdown
│ │ ├── Pods-DiscogsAPI-acknowledgements.plist
│ │ ├── Pods-DiscogsAPI-dummy.m
│ │ ├── Pods-DiscogsAPI-resources.sh
│ │ ├── Pods-DiscogsAPI-umbrella.h
│ │ ├── Pods-DiscogsAPI.debug.xcconfig
│ │ ├── Pods-DiscogsAPI.modulemap
│ │ └── Pods-DiscogsAPI.release.xcconfig
│ ├── Pods-DiscogsAPITests
│ │ ├── Info.plist
│ │ ├── Pods-DiscogsAPITests-acknowledgements.markdown
│ │ ├── Pods-DiscogsAPITests-acknowledgements.plist
│ │ ├── Pods-DiscogsAPITests-dummy.m
│ │ ├── Pods-DiscogsAPITests-frameworks.sh
│ │ ├── Pods-DiscogsAPITests-resources.sh
│ │ ├── Pods-DiscogsAPITests-umbrella.h
│ │ ├── Pods-DiscogsAPITests.debug.xcconfig
│ │ ├── Pods-DiscogsAPITests.modulemap
│ │ └── Pods-DiscogsAPITests.release.xcconfig
│ ├── RKValueTransformers
│ │ ├── Info.plist
│ │ ├── RKValueTransformers-dummy.m
│ │ ├── RKValueTransformers-prefix.pch
│ │ ├── RKValueTransformers-umbrella.h
│ │ ├── RKValueTransformers.modulemap
│ │ └── RKValueTransformers.xcconfig
│ ├── RestKit-Network-ObjectMapping-Support-Testing
│ │ ├── Info.plist
│ │ ├── RestKit-Network-ObjectMapping-Support-Testing-dummy.m
│ │ ├── RestKit-Network-ObjectMapping-Support-Testing-prefix.pch
│ │ ├── RestKit-Network-ObjectMapping-Support-Testing-umbrella.h
│ │ ├── RestKit-Network-ObjectMapping-Support-Testing.modulemap
│ │ └── RestKit-Network-ObjectMapping-Support-Testing.xcconfig
│ ├── RestKit-Network-ObjectMapping-Support
│ │ ├── Info.plist
│ │ ├── RestKit-Network-ObjectMapping-Support-dummy.m
│ │ ├── RestKit-Network-ObjectMapping-Support-prefix.pch
│ │ ├── RestKit-Network-ObjectMapping-Support-umbrella.h
│ │ ├── RestKit-Network-ObjectMapping-Support.modulemap
│ │ └── RestKit-Network-ObjectMapping-Support.xcconfig
│ ├── SOCKit
│ │ ├── Info.plist
│ │ ├── SOCKit-dummy.m
│ │ ├── SOCKit-prefix.pch
│ │ ├── SOCKit-umbrella.h
│ │ ├── SOCKit.modulemap
│ │ └── SOCKit.xcconfig
│ └── TransitionKit
│ │ ├── Info.plist
│ │ ├── TransitionKit-dummy.m
│ │ ├── TransitionKit-prefix.pch
│ │ ├── TransitionKit-umbrella.h
│ │ ├── TransitionKit.modulemap
│ │ └── TransitionKit.xcconfig
└── TransitionKit
│ ├── Code
│ ├── TKEvent.h
│ ├── TKEvent.m
│ ├── TKState.h
│ ├── TKState.m
│ ├── TKStateMachine.h
│ ├── TKStateMachine.m
│ ├── TKTransition.h
│ ├── TKTransition.m
│ └── TransitionKit.h
│ ├── LICENSE
│ └── README.md
├── README.md
└── Tests
├── Collection
├── DGCollectionTests.m
├── collection.json
├── field.json
└── folder.json
├── DGOperationQueueTest.m
├── DGTestCase.h
├── DGTestCase.m
├── Database
├── DGDatabaseTests.m
├── artist.json
├── label.json
├── master.json
├── release.json
└── search.json
├── Info.plist
├── Maketplace
├── DGMaketplaceTests.m
├── inventory.json
└── listing.json
├── User
├── DGUserTests.m
└── profile.json
└── Wantlist
├── DGWantlistTests.m
└── wantlist.json
/.cocoadocs.yml:
--------------------------------------------------------------------------------
1 | highlight-font: '"GT Walsheim", "gt_walsheim_regular", "Avant Garde Gothic ITCW01Dm", "Avant Garde", "Helvetica Neue", "Arial" '
2 | body: '"Helvetica Neue", "Arial", san-serif'
3 | code: '"Monaco", "Menlo", "Consolas", "Courier New", monospace'
4 |
5 | highlight-color: "#000000"
6 | highlight-dark-color: "#737373"
7 | darker-color: "#878787"
8 | darker-dark-color: "#A8A8A8"
9 | background-color: "#D9D9D9"
10 | alt-link-color: "#0008FF"
11 | warning-color: "#FF8800"
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | # Xcode
2 | #
3 | build/
4 | *.pbxuser
5 | !default.pbxuser
6 | *.mode1v3
7 | !default.mode1v3
8 | *.mode2v3
9 | !default.mode2v3
10 | *.perspectivev3
11 | !default.perspectivev3
12 | xcuserdata
13 | *.xccheckout
14 | *.moved-aside
15 | DerivedData
16 | *.hmap
17 | *.ipa
18 | *.xcuserstate
19 |
20 | # CocoaPods
21 | #
22 | # We recommend against adding the Pods directory to your .gitignore. However
23 | # you should judge for yourself, the pros and cons are mentioned at:
24 | # http://guides.cocoapods.org/using/using-cocoapods.html#should-i-ignore-the-pods-directory-in-source-control
25 | #
26 | # Pods/
27 | Example/DiscogsAPI.xcworkspace
28 |
--------------------------------------------------------------------------------
/.travis.yml:
--------------------------------------------------------------------------------
1 | # references:
2 | # * http://www.objc.io/issue-6/travis-ci.html
3 | # * https://github.com/supermarin/xcpretty#usage
4 |
5 | osx_image: xcode9
6 | language: objective-c
7 |
8 | install:
9 | - gem install xcpretty --no-rdoc --no-ri --no-document --quiet
10 | - gem install cocoapods # Since Travis is not always on latest version
11 | # - pod repo update --silent
12 |
13 | script:
14 | - pod install
15 | - travis_retry set -o pipefail && xcodebuild -workspace DiscogsAPI.xcworkspace -scheme DiscogsAPI -sdk iphonesimulator -configuration Release -destination "platform=iOS Simulator,name=iPhone 8" clean build test | xcpretty -c
16 | - pod lib lint --quick
17 |
--------------------------------------------------------------------------------
/AFOAuth1Client/LICENSE:
--------------------------------------------------------------------------------
1 | Copyright (c) 2011-2014 AFNetworking (http://afnetworking.com)
2 |
3 | Permission is hereby granted, free of charge, to any person obtaining a copy
4 | of this software and associated documentation files (the "Software"), to deal
5 | in the Software without restriction, including without limitation the rights
6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7 | copies of the Software, and to permit persons to whom the Software is
8 | furnished to do so, subject to the following conditions:
9 |
10 | The above copyright notice and this permission notice shall be included in
11 | all copies or substantial portions of the Software.
12 |
13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
19 | THE SOFTWARE.
20 |
--------------------------------------------------------------------------------
/DiscogsAPI.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/DiscogsAPI.xcodeproj/project.xcworkspace/xcshareddata/DiscogsAPI.xcscmblueprint:
--------------------------------------------------------------------------------
1 | {
2 | "DVTSourceControlWorkspaceBlueprintPrimaryRemoteRepositoryKey" : "D78740BB5B159EA13C82AB5AF1D92A0F3C627237",
3 | "DVTSourceControlWorkspaceBlueprintWorkingCopyRepositoryLocationsKey" : {
4 |
5 | },
6 | "DVTSourceControlWorkspaceBlueprintWorkingCopyStatesKey" : {
7 | "D78740BB5B159EA13C82AB5AF1D92A0F3C627237" : 0,
8 | "7E078F141829F586043EB723D75BDB06A78405E1" : 0
9 | },
10 | "DVTSourceControlWorkspaceBlueprintIdentifierKey" : "B26FFA68-9E64-41CE-B55C-F40B7881E482",
11 | "DVTSourceControlWorkspaceBlueprintWorkingCopyPathsKey" : {
12 | "D78740BB5B159EA13C82AB5AF1D92A0F3C627237" : "RestKit\/",
13 | "7E078F141829F586043EB723D75BDB06A78405E1" : ""
14 | },
15 | "DVTSourceControlWorkspaceBlueprintNameKey" : "DiscogsAPI",
16 | "DVTSourceControlWorkspaceBlueprintVersion" : 204,
17 | "DVTSourceControlWorkspaceBlueprintRelativePathToProjectKey" : "DiscogsAPI\/DiscogsAPI.xcodeproj",
18 | "DVTSourceControlWorkspaceBlueprintRemoteRepositoriesKey" : [
19 | {
20 | "DVTSourceControlWorkspaceBlueprintRemoteRepositoryURLKey" : "https:\/\/github.com\/maxep\/DiscogsAPI.git",
21 | "DVTSourceControlWorkspaceBlueprintRemoteRepositorySystemKey" : "com.apple.dt.Xcode.sourcecontrol.Git",
22 | "DVTSourceControlWorkspaceBlueprintRemoteRepositoryIdentifierKey" : "7E078F141829F586043EB723D75BDB06A78405E1"
23 | },
24 | {
25 | "DVTSourceControlWorkspaceBlueprintRemoteRepositoryURLKey" : "https:\/\/github.com\/RestKit\/RestKit.git",
26 | "DVTSourceControlWorkspaceBlueprintRemoteRepositorySystemKey" : "com.apple.dt.Xcode.sourcecontrol.Git",
27 | "DVTSourceControlWorkspaceBlueprintRemoteRepositoryIdentifierKey" : "D78740BB5B159EA13C82AB5AF1D92A0F3C627237"
28 | }
29 | ]
30 | }
--------------------------------------------------------------------------------
/DiscogsAPI.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/DiscogsAPI/Authentication/Identity/DGIdentity.h:
--------------------------------------------------------------------------------
1 | // DGIdentity.h
2 | //
3 | // Copyright (c) 2017 Maxime Epain
4 | //
5 | // Permission is hereby granted, free of charge, to any person obtaining a copy
6 | // of this software and associated documentation files (the "Software"), to deal
7 | // in the Software without restriction, including without limitation the rights
8 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | // copies of the Software, and to permit persons to whom the Software is
10 | // furnished to do so, subject to the following conditions:
11 | //
12 | // The above copyright notice and this permission notice shall be included in
13 | // all copies or substantial portions of the Software.
14 | //
15 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21 | // THE SOFTWARE.
22 |
23 | #import "DGObject.h"
24 |
25 | NS_ASSUME_NONNULL_BEGIN
26 |
27 | /**
28 | User identification class.
29 | */
30 | @interface DGIdentity : DGObject
31 |
32 | /**
33 | The currently autenticated user identity.
34 | */
35 | @property (class, readonly, nullable) DGIdentity *current;
36 |
37 | /**
38 | User name.
39 | */
40 | @property (nonatomic, strong, nullable) NSString *userName;
41 |
42 | /**
43 | User consumer name.
44 | */
45 | @property (nonatomic, strong, nullable) NSString *consumerName;
46 |
47 | @end
48 |
49 | NS_ASSUME_NONNULL_END
50 |
--------------------------------------------------------------------------------
/DiscogsAPI/Core/DGEndpoint.m:
--------------------------------------------------------------------------------
1 | // DGEndpoint.m
2 | //
3 | // Copyright (c) 2017 Maxime Epain
4 | //
5 | // Permission is hereby granted, free of charge, to any person obtaining a copy
6 | // of this software and associated documentation files (the "Software"), to deal
7 | // in the Software without restriction, including without limitation the rights
8 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | // copies of the Software, and to permit persons to whom the Software is
10 | // furnished to do so, subject to the following conditions:
11 | //
12 | // The above copyright notice and this permission notice shall be included in
13 | // all copies or substantial portions of the Software.
14 | //
15 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21 | // THE SOFTWARE.
22 |
23 | #import "DGEndpoint.h"
24 |
25 | @implementation DGEndpoint
26 |
27 | @end
28 |
--------------------------------------------------------------------------------
/DiscogsAPI/Core/DGObject.h:
--------------------------------------------------------------------------------
1 | // DGObject.h
2 | //
3 | // Copyright (c) 2017 Maxime Epain
4 | //
5 | // Permission is hereby granted, free of charge, to any person obtaining a copy
6 | // of this software and associated documentation files (the "Software"), to deal
7 | // in the Software without restriction, including without limitation the rights
8 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | // copies of the Software, and to permit persons to whom the Software is
10 | // furnished to do so, subject to the following conditions:
11 | //
12 | // The above copyright notice and this permission notice shall be included in
13 | // all copies or substantial portions of the Software.
14 | //
15 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21 | // THE SOFTWARE.
22 |
23 | #import
24 |
25 | NS_ASSUME_NONNULL_BEGIN
26 |
27 | /**
28 | Discogs object desciption.
29 | */
30 | @interface DGObject : NSObject
31 |
32 | /**
33 | Object identifier.
34 | */
35 | @property (nonatomic, strong, nullable) NSNumber *ID;
36 |
37 | /**
38 | Resource URL on Discogs API.
39 | */
40 | @property (nonatomic, strong, nullable) NSString *resourceURL;
41 |
42 | /**
43 | Object URL on Discogs website.
44 | */
45 | @property (nonatomic, strong, nullable) NSString *uri;
46 |
47 | @end
48 |
49 | NS_ASSUME_NONNULL_END
50 |
--------------------------------------------------------------------------------
/DiscogsAPI/Core/DGObject.m:
--------------------------------------------------------------------------------
1 | // DGObject.m
2 | //
3 | // Copyright (c) 2017 Maxime Epain
4 | //
5 | // Permission is hereby granted, free of charge, to any person obtaining a copy
6 | // of this software and associated documentation files (the "Software"), to deal
7 | // in the Software without restriction, including without limitation the rights
8 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | // copies of the Software, and to permit persons to whom the Software is
10 | // furnished to do so, subject to the following conditions:
11 | //
12 | // The above copyright notice and this permission notice shall be included in
13 | // all copies or substantial portions of the Software.
14 | //
15 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21 | // THE SOFTWARE.
22 |
23 | #import "DGObject.h"
24 |
25 | @implementation DGObject
26 |
27 | - (NSString *)description {
28 | NSString *format = @"<%@: \rObject ID: %@\rResource URL: %@\rURI: %@ >";
29 | return [NSString stringWithFormat:format, NSStringFromClass(self.class), self.ID, self.resourceURL, self.uri];
30 | }
31 |
32 | @end
33 |
--------------------------------------------------------------------------------
/DiscogsAPI/Database/Artist/DGArtist.m:
--------------------------------------------------------------------------------
1 | // DGArtist.m
2 | //
3 | // Copyright (c) 2017 Maxime Epain
4 | //
5 | // Permission is hereby granted, free of charge, to any person obtaining a copy
6 | // of this software and associated documentation files (the "Software"), to deal
7 | // in the Software without restriction, including without limitation the rights
8 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | // copies of the Software, and to permit persons to whom the Software is
10 | // furnished to do so, subject to the following conditions:
11 | //
12 | // The above copyright notice and this permission notice shall be included in
13 | // all copies or substantial portions of the Software.
14 | //
15 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21 | // THE SOFTWARE.
22 |
23 | #import "DGArtist.h"
24 | #import "DGMember.h"
25 |
26 | @implementation DGArtist
27 |
28 | @end
29 |
--------------------------------------------------------------------------------
/DiscogsAPI/Database/Artist/DGMember.h:
--------------------------------------------------------------------------------
1 | // DGMember.h
2 | //
3 | // Copyright (c) 2017 Maxime Epain
4 | //
5 | // Permission is hereby granted, free of charge, to any person obtaining a copy
6 | // of this software and associated documentation files (the "Software"), to deal
7 | // in the Software without restriction, including without limitation the rights
8 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | // copies of the Software, and to permit persons to whom the Software is
10 | // furnished to do so, subject to the following conditions:
11 | //
12 | // The above copyright notice and this permission notice shall be included in
13 | // all copies or substantial portions of the Software.
14 | //
15 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21 | // THE SOFTWARE.
22 |
23 | #import "DGArtist.h"
24 |
25 | NS_ASSUME_NONNULL_BEGIN
26 |
27 | /**
28 | Member decription class.
29 | */
30 | @interface DGMember : DGArtist
31 |
32 | /**
33 | Is an active member.
34 | */
35 | @property (nonatomic) BOOL active;
36 |
37 | @end
38 |
39 | NS_ASSUME_NONNULL_END
40 |
--------------------------------------------------------------------------------
/DiscogsAPI/Database/Artist/DGMember.m:
--------------------------------------------------------------------------------
1 | // DGMember.m
2 | //
3 | // Copyright (c) 2017 Maxime Epain
4 | //
5 | // Permission is hereby granted, free of charge, to any person obtaining a copy
6 | // of this software and associated documentation files (the "Software"), to deal
7 | // in the Software without restriction, including without limitation the rights
8 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | // copies of the Software, and to permit persons to whom the Software is
10 | // furnished to do so, subject to the following conditions:
11 | //
12 | // The above copyright notice and this permission notice shall be included in
13 | // all copies or substantial portions of the Software.
14 | //
15 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21 | // THE SOFTWARE.
22 |
23 | #import "DGMember.h"
24 |
25 | @implementation DGMember
26 |
27 | @end
28 |
--------------------------------------------------------------------------------
/DiscogsAPI/Database/Data/DGCommunity.m:
--------------------------------------------------------------------------------
1 | // DGCommunity.m
2 | //
3 | // Copyright (c) 2017 Maxime Epain
4 | //
5 | // Permission is hereby granted, free of charge, to any person obtaining a copy
6 | // of this software and associated documentation files (the "Software"), to deal
7 | // in the Software without restriction, including without limitation the rights
8 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | // copies of the Software, and to permit persons to whom the Software is
10 | // furnished to do so, subject to the following conditions:
11 | //
12 | // The above copyright notice and this permission notice shall be included in
13 | // all copies or substantial portions of the Software.
14 | //
15 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21 | // THE SOFTWARE.
22 |
23 | #import "DGCommunity.h"
24 |
25 | @implementation DGContributor
26 |
27 | @end
28 |
29 | @implementation DGRating
30 |
31 | @end
32 |
33 | @implementation DGCommunity
34 |
35 | - (instancetype)init {
36 | self = [super init];
37 | if (self) {
38 | self.contributors = @[];
39 | self.rating = [DGRating new];
40 | self.submitter = [DGContributor new];
41 |
42 | }
43 | return self;
44 | }
45 |
46 | @end
47 |
--------------------------------------------------------------------------------
/DiscogsAPI/Database/Data/DGFormat.m:
--------------------------------------------------------------------------------
1 | //
2 | // DGFormat.m
3 | // DiscogsAPI
4 | //
5 | // Created by Nate Rivard on 4/28/16.
6 | // Copyright © 2016 Maxime Epain. All rights reserved.
7 | //
8 | // Permission is hereby granted, free of charge, to any person obtaining a copy
9 | // of this software and associated documentation files (the "Software"), to deal
10 | // in the Software without restriction, including without limitation the rights
11 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
12 | // copies of the Software, and to permit persons to whom the Software is
13 | // furnished to do so, subject to the following conditions:
14 | //
15 | // The above copyright notice and this permission notice shall be included in
16 | // all copies or substantial portions of the Software.
17 | //
18 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
21 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
22 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
23 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
24 | // THE SOFTWARE.
25 |
26 | #import "DGFormat.h"
27 |
28 | @implementation DGFormat
29 |
30 | - (instancetype)init {
31 | self = [super init];
32 | if (self) {
33 | self.descriptions = @[];
34 | }
35 | return self;
36 | }
37 |
38 | @end
39 |
--------------------------------------------------------------------------------
/DiscogsAPI/Database/Data/DGIdentifier.h:
--------------------------------------------------------------------------------
1 | // DGIdentifier.h
2 | //
3 | // Copyright (c) 2017 Maxime Epain
4 | //
5 | // Permission is hereby granted, free of charge, to any person obtaining a copy
6 | // of this software and associated documentation files (the "Software"), to deal
7 | // in the Software without restriction, including without limitation the rights
8 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | // copies of the Software, and to permit persons to whom the Software is
10 | // furnished to do so, subject to the following conditions:
11 | //
12 | // The above copyright notice and this permission notice shall be included in
13 | // all copies or substantial portions of the Software.
14 | //
15 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21 | // THE SOFTWARE.
22 |
23 | #import "DGObject.h"
24 |
25 | NS_ASSUME_NONNULL_BEGIN
26 |
27 | /**
28 | Identifier description class
29 | */
30 | @interface DGIdentifier : DGObject
31 |
32 | /// Identifier type
33 | @property (nonatomic, strong, nullable) NSString *type;
34 |
35 | /// Identifier value
36 | @property (nonatomic, strong, nullable) NSString *value;
37 |
38 | /// Identifier description (can't just use `description` bc that's an NSObject overridden method
39 | @property (nonatomic, strong, nullable) NSString *identifierDescription;
40 |
41 | @end
42 |
43 | NS_ASSUME_NONNULL_END
44 |
--------------------------------------------------------------------------------
/DiscogsAPI/Database/Data/DGIdentifier.m:
--------------------------------------------------------------------------------
1 | // DGIdentifier.m
2 | //
3 | // Copyright (c) 2017 Maxime Epain
4 | //
5 | // Permission is hereby granted, free of charge, to any person obtaining a copy
6 | // of this software and associated documentation files (the "Software"), to deal
7 | // in the Software without restriction, including without limitation the rights
8 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | // copies of the Software, and to permit persons to whom the Software is
10 | // furnished to do so, subject to the following conditions:
11 | //
12 | // The above copyright notice and this permission notice shall be included in
13 | // all copies or substantial portions of the Software.
14 | //
15 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21 | // THE SOFTWARE.
22 |
23 | #import "DGIdentifier.h"
24 |
25 | @implementation DGIdentifier
26 |
27 | @end
28 |
--------------------------------------------------------------------------------
/DiscogsAPI/Database/Data/DGImage.h:
--------------------------------------------------------------------------------
1 | // DGImage.h
2 | //
3 | // Copyright (c) 2017 Maxime Epain
4 | //
5 | // Permission is hereby granted, free of charge, to any person obtaining a copy
6 | // of this software and associated documentation files (the "Software"), to deal
7 | // in the Software without restriction, including without limitation the rights
8 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | // copies of the Software, and to permit persons to whom the Software is
10 | // furnished to do so, subject to the following conditions:
11 | //
12 | // The above copyright notice and this permission notice shall be included in
13 | // all copies or substantial portions of the Software.
14 | //
15 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21 | // THE SOFTWARE.
22 |
23 | #import "DGObject.h"
24 |
25 | NS_ASSUME_NONNULL_BEGIN
26 |
27 | /**
28 | Image desciption class.
29 | */
30 | @interface DGImage : DGObject
31 |
32 | /**
33 | Image width.
34 | */
35 | @property (nonatomic, strong, nullable) NSNumber *width;
36 |
37 | /**
38 | Image height.
39 | */
40 | @property (nonatomic, strong, nullable) NSNumber *height;
41 |
42 | /**
43 | Image type.
44 | */
45 | @property (nonatomic, strong, nullable) NSString *type;
46 |
47 | /**
48 | Resource URL of the 150x150 image version on Discogs API.
49 | */
50 | @property (nonatomic, strong, nullable) NSString *uri150;
51 |
52 | @end
53 |
54 | NS_ASSUME_NONNULL_END
55 |
--------------------------------------------------------------------------------
/DiscogsAPI/Database/Data/DGImage.m:
--------------------------------------------------------------------------------
1 | // DGImage.m
2 | //
3 | // Copyright (c) 2017 Maxime Epain
4 | //
5 | // Permission is hereby granted, free of charge, to any person obtaining a copy
6 | // of this software and associated documentation files (the "Software"), to deal
7 | // in the Software without restriction, including without limitation the rights
8 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | // copies of the Software, and to permit persons to whom the Software is
10 | // furnished to do so, subject to the following conditions:
11 | //
12 | // The above copyright notice and this permission notice shall be included in
13 | // all copies or substantial portions of the Software.
14 | //
15 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21 | // THE SOFTWARE.
22 |
23 | #import "DGImage.h"
24 |
25 | @implementation DGImage
26 |
27 | @end
28 |
--------------------------------------------------------------------------------
/DiscogsAPI/Database/Data/DGTrack.h:
--------------------------------------------------------------------------------
1 | // DGTrack.h
2 | //
3 | // Copyright (c) 2017 Maxime Epain
4 | //
5 | // Permission is hereby granted, free of charge, to any person obtaining a copy
6 | // of this software and associated documentation files (the "Software"), to deal
7 | // in the Software without restriction, including without limitation the rights
8 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | // copies of the Software, and to permit persons to whom the Software is
10 | // furnished to do so, subject to the following conditions:
11 | //
12 | // The above copyright notice and this permission notice shall be included in
13 | // all copies or substantial portions of the Software.
14 | //
15 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21 | // THE SOFTWARE.
22 |
23 | #import "DGObject.h"
24 |
25 | NS_ASSUME_NONNULL_BEGIN
26 |
27 | /**
28 | Track description class.
29 | */
30 | @interface DGTrack : DGObject
31 |
32 | /**
33 | Track duration.
34 | */
35 | @property (nonatomic, strong, nullable) NSString *duration;
36 |
37 | /**
38 | Track position in the release.
39 | */
40 | @property (nonatomic, strong, nullable) NSString *position;
41 |
42 | /**
43 | Track title.
44 | */
45 | @property (nonatomic, strong, nullable) NSString *title;
46 |
47 | /**
48 | Track type.
49 | */
50 | @property (nonatomic, strong, nullable) NSString *type;
51 |
52 | @end
53 |
54 | NS_ASSUME_NONNULL_END
55 |
--------------------------------------------------------------------------------
/DiscogsAPI/Database/Data/DGTrack.m:
--------------------------------------------------------------------------------
1 | // DGTrack.m
2 | //
3 | // Copyright (c) 2017 Maxime Epain
4 | //
5 | // Permission is hereby granted, free of charge, to any person obtaining a copy
6 | // of this software and associated documentation files (the "Software"), to deal
7 | // in the Software without restriction, including without limitation the rights
8 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | // copies of the Software, and to permit persons to whom the Software is
10 | // furnished to do so, subject to the following conditions:
11 | //
12 | // The above copyright notice and this permission notice shall be included in
13 | // all copies or substantial portions of the Software.
14 | //
15 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21 | // THE SOFTWARE.
22 |
23 | #import "DGTrack.h"
24 |
25 | @implementation DGTrack
26 |
27 |
28 | @end
29 |
--------------------------------------------------------------------------------
/DiscogsAPI/Database/Data/DGVideo.h:
--------------------------------------------------------------------------------
1 | // DGVideo.h
2 | //
3 | // Copyright (c) 2017 Maxime Epain
4 | //
5 | // Permission is hereby granted, free of charge, to any person obtaining a copy
6 | // of this software and associated documentation files (the "Software"), to deal
7 | // in the Software without restriction, including without limitation the rights
8 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | // copies of the Software, and to permit persons to whom the Software is
10 | // furnished to do so, subject to the following conditions:
11 | //
12 | // The above copyright notice and this permission notice shall be included in
13 | // all copies or substantial portions of the Software.
14 | //
15 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21 | // THE SOFTWARE.
22 |
23 | #import "DGObject.h"
24 |
25 | NS_ASSUME_NONNULL_BEGIN
26 |
27 | /**
28 | Video description class.
29 | */
30 | @interface DGVideo : DGObject
31 |
32 | /**
33 | Video description.
34 | */
35 | @property (nonatomic, strong, nullable) NSString *notes;
36 |
37 | /**
38 | Video duration.
39 | */
40 | @property (nonatomic, strong, nullable) NSNumber *duration;
41 |
42 | /**
43 | Embedded video ('true' or 'false').
44 | */
45 | @property (nonatomic, strong, nullable) NSString *embed;
46 |
47 | /**
48 | Video Title.
49 | */
50 | @property (nonatomic, strong, nullable) NSString *title;
51 |
52 | @end
53 |
54 | NS_ASSUME_NONNULL_END
55 |
--------------------------------------------------------------------------------
/DiscogsAPI/Database/Data/DGVideo.m:
--------------------------------------------------------------------------------
1 | // DGVideo.m
2 | //
3 | // Copyright (c) 2017 Maxime Epain
4 | //
5 | // Permission is hereby granted, free of charge, to any person obtaining a copy
6 | // of this software and associated documentation files (the "Software"), to deal
7 | // in the Software without restriction, including without limitation the rights
8 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | // copies of the Software, and to permit persons to whom the Software is
10 | // furnished to do so, subject to the following conditions:
11 | //
12 | // The above copyright notice and this permission notice shall be included in
13 | // all copies or substantial portions of the Software.
14 | //
15 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21 | // THE SOFTWARE.
22 |
23 | #import "DGVideo.h"
24 |
25 | @implementation DGVideo
26 |
27 | @end
28 |
--------------------------------------------------------------------------------
/DiscogsAPI/Database/Label/DGCompany.m:
--------------------------------------------------------------------------------
1 | // DGCompany.m
2 | //
3 | // Copyright (c) 2016 Nate Rivard
4 | //
5 | // Permission is hereby granted, free of charge, to any person obtaining a copy
6 | // of this software and associated documentation files (the "Software"), to deal
7 | // in the Software without restriction, including without limitation the rights
8 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | // copies of the Software, and to permit persons to whom the Software is
10 | // furnished to do so, subject to the following conditions:
11 | //
12 | // The above copyright notice and this permission notice shall be included in
13 | // all copies or substantial portions of the Software.
14 | //
15 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21 | // THE SOFTWARE.
22 |
23 | #import "DGCompany.h"
24 |
25 | @implementation DGCompany
26 |
27 | + (instancetype)company {
28 | return [[DGCompany alloc] init];
29 | }
30 |
31 | @end
32 |
--------------------------------------------------------------------------------
/DiscogsAPI/Database/Label/DGLabel.m:
--------------------------------------------------------------------------------
1 | // DGLabel.m
2 | //
3 | // Copyright (c) 2017 Maxime Epain
4 | //
5 | // Permission is hereby granted, free of charge, to any person obtaining a copy
6 | // of this software and associated documentation files (the "Software"), to deal
7 | // in the Software without restriction, including without limitation the rights
8 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | // copies of the Software, and to permit persons to whom the Software is
10 | // furnished to do so, subject to the following conditions:
11 | //
12 | // The above copyright notice and this permission notice shall be included in
13 | // all copies or substantial portions of the Software.
14 | //
15 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21 | // THE SOFTWARE.
22 |
23 | #import "DGLabel.h"
24 |
25 | @implementation DGLabel
26 |
27 | - (instancetype)init {
28 | self = [super init];
29 | if (self) {
30 | self.subLabels = @[];
31 | self.urls = @[];
32 | self.images = @[];
33 | }
34 | return self;
35 | }
36 |
37 | @end
38 |
--------------------------------------------------------------------------------
/DiscogsAPI/Database/Master/DGMaster.h:
--------------------------------------------------------------------------------
1 | // DGMaster.h
2 | //
3 | // Copyright (c) 2017 Maxime Epain
4 | //
5 | // Permission is hereby granted, free of charge, to any person obtaining a copy
6 | // of this software and associated documentation files (the "Software"), to deal
7 | // in the Software without restriction, including without limitation the rights
8 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | // copies of the Software, and to permit persons to whom the Software is
10 | // furnished to do so, subject to the following conditions:
11 | //
12 | // The above copyright notice and this permission notice shall be included in
13 | // all copies or substantial portions of the Software.
14 | //
15 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21 | // THE SOFTWARE.
22 |
23 | #import "DGRelease.h"
24 |
25 | NS_ASSUME_NONNULL_BEGIN
26 |
27 | /**
28 | Master release desciption.
29 | */
30 | @interface DGMaster : DGRelease
31 |
32 | /**
33 | Main release ID.
34 | */
35 | @property (nonatomic, strong, nullable) NSNumber *mainReleaseID;
36 |
37 | @end
38 |
39 | NS_ASSUME_NONNULL_END
40 |
--------------------------------------------------------------------------------
/DiscogsAPI/Database/Master/DGMaster.m:
--------------------------------------------------------------------------------
1 | // DGMaster.m
2 | //
3 | // Copyright (c) 2017 Maxime Epain
4 | //
5 | // Permission is hereby granted, free of charge, to any person obtaining a copy
6 | // of this software and associated documentation files (the "Software"), to deal
7 | // in the Software without restriction, including without limitation the rights
8 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | // copies of the Software, and to permit persons to whom the Software is
10 | // furnished to do so, subject to the following conditions:
11 | //
12 | // The above copyright notice and this permission notice shall be included in
13 | // all copies or substantial portions of the Software.
14 | //
15 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21 | // THE SOFTWARE.
22 |
23 | #import "DGMaster.h"
24 |
25 | @implementation DGMaster
26 |
27 | @end
28 |
--------------------------------------------------------------------------------
/DiscogsAPI/Database/Release/DGRelease.m:
--------------------------------------------------------------------------------
1 | // DGRelease.m
2 | //
3 | // Copyright (c) 2017 Maxime Epain
4 | //
5 | // Permission is hereby granted, free of charge, to any person obtaining a copy
6 | // of this software and associated documentation files (the "Software"), to deal
7 | // in the Software without restriction, including without limitation the rights
8 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | // copies of the Software, and to permit persons to whom the Software is
10 | // furnished to do so, subject to the following conditions:
11 | //
12 | // The above copyright notice and this permission notice shall be included in
13 | // all copies or substantial portions of the Software.
14 | //
15 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21 | // THE SOFTWARE.
22 |
23 | #import "DGRelease+Mapping.h"
24 | #import "DGPagination+Mapping.h"
25 |
26 | @implementation DGRelease
27 |
28 | - (instancetype)init {
29 | self = [super init];
30 | if (self) {
31 | self.artists = @[];
32 | self.community = [DGCommunity new];
33 | self.images = @[];
34 | self.videos = @[];
35 | self.extraArtists = @[];
36 | self.formats = @[];
37 | self.genres = @[];
38 | self.styles = @[];
39 | self.trackList = @[];
40 | self.identifiers = @[];
41 | }
42 | return self;
43 | }
44 |
45 | @end
46 |
--------------------------------------------------------------------------------
/DiscogsAPI/Mapping/Authentication/Identity/DGIdentity+Mapping.h:
--------------------------------------------------------------------------------
1 | // DGIdentity+Mapping.h
2 | //
3 | // Copyright (c) 2017 Maxime Epain
4 | //
5 | // Permission is hereby granted, free of charge, to any person obtaining a copy
6 | // of this software and associated documentation files (the "Software"), to deal
7 | // in the Software without restriction, including without limitation the rights
8 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | // copies of the Software, and to permit persons to whom the Software is
10 | // furnished to do so, subject to the following conditions:
11 | //
12 | // The above copyright notice and this permission notice shall be included in
13 | // all copies or substantial portions of the Software.
14 | //
15 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21 | // THE SOFTWARE.
22 |
23 | #import "DGIdentity.h"
24 | #import "DGMapping.h"
25 |
26 | @interface DGIdentity (Mapping)
27 |
28 | @end
29 |
--------------------------------------------------------------------------------
/DiscogsAPI/Mapping/Database/Artist/DGArtist+Mapping.h:
--------------------------------------------------------------------------------
1 | // DGArtist+Mapping.h
2 | //
3 | // Copyright (c) 2017 Maxime Epain
4 | //
5 | // Permission is hereby granted, free of charge, to any person obtaining a copy
6 | // of this software and associated documentation files (the "Software"), to deal
7 | // in the Software without restriction, including without limitation the rights
8 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | // copies of the Software, and to permit persons to whom the Software is
10 | // furnished to do so, subject to the following conditions:
11 | //
12 | // The above copyright notice and this permission notice shall be included in
13 | // all copies or substantial portions of the Software.
14 | //
15 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21 | // THE SOFTWARE.
22 |
23 | #import "DGArtist.h"
24 | #import "DGMapping.h"
25 |
26 | @interface DGArtist (Mapping)
27 |
28 | @end
29 |
--------------------------------------------------------------------------------
/DiscogsAPI/Mapping/Database/Artist/DGArtistRelease+Mapping.h:
--------------------------------------------------------------------------------
1 | // DGArtistRelease+Mapping.h
2 | //
3 | // Copyright (c) 2017 Maxime Epain
4 | //
5 | // Permission is hereby granted, free of charge, to any person obtaining a copy
6 | // of this software and associated documentation files (the "Software"), to deal
7 | // in the Software without restriction, including without limitation the rights
8 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | // copies of the Software, and to permit persons to whom the Software is
10 | // furnished to do so, subject to the following conditions:
11 | //
12 | // The above copyright notice and this permission notice shall be included in
13 | // all copies or substantial portions of the Software.
14 | //
15 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21 | // THE SOFTWARE.
22 |
23 | #import "DGArtistRelease.h"
24 | #import "DGMapping.h"
25 |
26 | @interface DGArtistRelease (Mapping)
27 |
28 | @end
29 |
30 | @interface DGArtistReleasesRequest (Mapping)
31 |
32 | @end
33 |
34 | @interface DGArtistReleasesResponse (Mapping)
35 |
36 | @end
37 |
--------------------------------------------------------------------------------
/DiscogsAPI/Mapping/Database/Artist/DGMember+Mapping.h:
--------------------------------------------------------------------------------
1 | // DGMember+Mapping.h
2 | //
3 | // Copyright (c) 2017 Maxime Epain
4 | //
5 | // Permission is hereby granted, free of charge, to any person obtaining a copy
6 | // of this software and associated documentation files (the "Software"), to deal
7 | // in the Software without restriction, including without limitation the rights
8 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | // copies of the Software, and to permit persons to whom the Software is
10 | // furnished to do so, subject to the following conditions:
11 | //
12 | // The above copyright notice and this permission notice shall be included in
13 | // all copies or substantial portions of the Software.
14 | //
15 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21 | // THE SOFTWARE.
22 |
23 | #import "DGMember.h"
24 | #import "DGMapping.h"
25 |
26 | @interface DGMember (Mapping)
27 |
28 | @end
29 |
--------------------------------------------------------------------------------
/DiscogsAPI/Mapping/Database/Artist/DGMember+Mapping.m:
--------------------------------------------------------------------------------
1 | // DGMember+Mapping.m
2 | //
3 | // Copyright (c) 2017 Maxime Epain
4 | //
5 | // Permission is hereby granted, free of charge, to any person obtaining a copy
6 | // of this software and associated documentation files (the "Software"), to deal
7 | // in the Software without restriction, including without limitation the rights
8 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | // copies of the Software, and to permit persons to whom the Software is
10 | // furnished to do so, subject to the following conditions:
11 | //
12 | // The above copyright notice and this permission notice shall be included in
13 | // all copies or substantial portions of the Software.
14 | //
15 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21 | // THE SOFTWARE.
22 |
23 | #import "DGMember+Mapping.h"
24 |
25 | @implementation DGMember (Mapping)
26 |
27 | + (RKMapping *)mapping {
28 | RKObjectMapping *mapping = [RKObjectMapping mappingForClass:[DGMember class]];
29 | [mapping addAttributeMappingsFromDictionary:@{
30 | @"name" : @"name",
31 | @"releases_url" : @"releasesURL",
32 | @"id" : @"ID",
33 | @"active" : @"active"
34 | }
35 | ];
36 |
37 | return mapping;
38 | }
39 |
40 | @end
41 |
--------------------------------------------------------------------------------
/DiscogsAPI/Mapping/Database/Data/DGCommunity+Mapping.h:
--------------------------------------------------------------------------------
1 | // DGCommunity+Mapping.h
2 | //
3 | // Copyright (c) 2017 Maxime Epain
4 | //
5 | // Permission is hereby granted, free of charge, to any person obtaining a copy
6 | // of this software and associated documentation files (the "Software"), to deal
7 | // in the Software without restriction, including without limitation the rights
8 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | // copies of the Software, and to permit persons to whom the Software is
10 | // furnished to do so, subject to the following conditions:
11 | //
12 | // The above copyright notice and this permission notice shall be included in
13 | // all copies or substantial portions of the Software.
14 | //
15 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21 | // THE SOFTWARE.
22 |
23 | #import "DGCommunity.h"
24 | #import "DGMapping.h"
25 |
26 | @interface DGContributor (Mapping)
27 |
28 | @end
29 |
30 | @interface DGRating (Mapping)
31 |
32 | @end
33 |
34 | @interface DGCommunity (Mapping)
35 |
36 | @end
37 |
--------------------------------------------------------------------------------
/DiscogsAPI/Mapping/Database/Data/DGFormat+Mapping.h:
--------------------------------------------------------------------------------
1 | //
2 | // DGFormat+Mapping.h
3 | // Pods
4 | //
5 | // Created by Nate Rivard on 4/28/16.
6 | //
7 | // Permission is hereby granted, free of charge, to any person obtaining a copy
8 | // of this software and associated documentation files (the "Software"), to deal
9 | // in the Software without restriction, including without limitation the rights
10 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11 | // copies of the Software, and to permit persons to whom the Software is
12 | // furnished to do so, subject to the following conditions:
13 | //
14 | // The above copyright notice and this permission notice shall be included in
15 | // all copies or substantial portions of the Software.
16 | //
17 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
23 | // THE SOFTWARE.
24 |
25 | #import "DGFormat.h"
26 | #import "DGMapping.h"
27 |
28 | @interface DGFormat (Mapping)
29 |
30 | @end
31 |
--------------------------------------------------------------------------------
/DiscogsAPI/Mapping/Database/Data/DGFormat+Mapping.m:
--------------------------------------------------------------------------------
1 | //
2 | // DGFormat+Mapping.m
3 | // Pods
4 | //
5 | // Created by Nate Rivard on 4/28/16.
6 | //
7 | //
8 |
9 | #import "DGFormat+Mapping.h"
10 |
11 | @implementation DGFormat (Mapping)
12 |
13 | + (RKMapping *)mapping {
14 | RKObjectMapping *mapping = [RKObjectMapping mappingForClass:[DGFormat class]];
15 | [mapping addAttributeMappingsFromDictionary:@{ @"name" : @"name",
16 | @"qty" : @"quantity",
17 | @"text" : @"text",
18 | @"descriptions" : @"descriptions", }];
19 |
20 | return mapping;
21 | }
22 |
23 | @end
24 |
--------------------------------------------------------------------------------
/DiscogsAPI/Mapping/Database/Data/DGIdentifier+Mapping.h:
--------------------------------------------------------------------------------
1 | // DGIdentifier+Mapping.h
2 | //
3 | // Copyright (c) 2017 Maxime Epain
4 | //
5 | // Permission is hereby granted, free of charge, to any person obtaining a copy
6 | // of this software and associated documentation files (the "Software"), to deal
7 | // in the Software without restriction, including without limitation the rights
8 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | // copies of the Software, and to permit persons to whom the Software is
10 | // furnished to do so, subject to the following conditions:
11 | //
12 | // The above copyright notice and this permission notice shall be included in
13 | // all copies or substantial portions of the Software.
14 | //
15 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21 | // THE SOFTWARE.
22 |
23 | #import "DGIdentifier.h"
24 | #import "DGMapping.h"
25 |
26 | @interface DGIdentifier (Mapping)
27 |
28 | @end
29 |
--------------------------------------------------------------------------------
/DiscogsAPI/Mapping/Database/Data/DGIdentifier+Mapping.m:
--------------------------------------------------------------------------------
1 | // DGIdentifier+Mapping.m
2 | //
3 | // Copyright (c) 2017 Maxime Epain
4 | //
5 | // Permission is hereby granted, free of charge, to any person obtaining a copy
6 | // of this software and associated documentation files (the "Software"), to deal
7 | // in the Software without restriction, including without limitation the rights
8 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | // copies of the Software, and to permit persons to whom the Software is
10 | // furnished to do so, subject to the following conditions:
11 | //
12 | // The above copyright notice and this permission notice shall be included in
13 | // all copies or substantial portions of the Software.
14 | //
15 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21 | // THE SOFTWARE.
22 |
23 | #import "DGIdentifier+Mapping.h"
24 |
25 | @implementation DGIdentifier (Mapping)
26 |
27 | + (RKMapping *)mapping {
28 | RKObjectMapping *mapping = [RKObjectMapping mappingForClass:[DGIdentifier class]];
29 | [mapping addAttributeMappingsFromDictionary:@{
30 | @"type" : @"type",
31 | @"value" : @"value",
32 | @"description" : @"identifierDescription"
33 | }
34 | ];
35 |
36 | return mapping;
37 | }
38 |
39 | @end
40 |
--------------------------------------------------------------------------------
/DiscogsAPI/Mapping/Database/Data/DGImage+Mapping.h:
--------------------------------------------------------------------------------
1 | // DGImage+Mapping.h
2 | //
3 | // Copyright (c) 2017 Maxime Epain
4 | //
5 | // Permission is hereby granted, free of charge, to any person obtaining a copy
6 | // of this software and associated documentation files (the "Software"), to deal
7 | // in the Software without restriction, including without limitation the rights
8 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | // copies of the Software, and to permit persons to whom the Software is
10 | // furnished to do so, subject to the following conditions:
11 | //
12 | // The above copyright notice and this permission notice shall be included in
13 | // all copies or substantial portions of the Software.
14 | //
15 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21 | // THE SOFTWARE.
22 |
23 | #import "DGImage.h"
24 | #import "DGMapping.h"
25 |
26 | @interface DGImage (Mapping)
27 |
28 | @end
29 |
--------------------------------------------------------------------------------
/DiscogsAPI/Mapping/Database/Data/DGTrack+Mapping.h:
--------------------------------------------------------------------------------
1 | // DGTrack+Mapping.h
2 | //
3 | // Copyright (c) 2017 Maxime Epain
4 | //
5 | // Permission is hereby granted, free of charge, to any person obtaining a copy
6 | // of this software and associated documentation files (the "Software"), to deal
7 | // in the Software without restriction, including without limitation the rights
8 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | // copies of the Software, and to permit persons to whom the Software is
10 | // furnished to do so, subject to the following conditions:
11 | //
12 | // The above copyright notice and this permission notice shall be included in
13 | // all copies or substantial portions of the Software.
14 | //
15 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21 | // THE SOFTWARE.
22 |
23 | #import "DGTrack.h"
24 | #import "DGMapping.h"
25 |
26 | @interface DGTrack (Mapping)
27 |
28 | @end
29 |
--------------------------------------------------------------------------------
/DiscogsAPI/Mapping/Database/Data/DGTrack+Mapping.m:
--------------------------------------------------------------------------------
1 | // DGTrack+Mapping.h
2 | //
3 | // Copyright (c) 2017 Maxime Epain
4 | //
5 | // Permission is hereby granted, free of charge, to any person obtaining a copy
6 | // of this software and associated documentation files (the "Software"), to deal
7 | // in the Software without restriction, including without limitation the rights
8 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | // copies of the Software, and to permit persons to whom the Software is
10 | // furnished to do so, subject to the following conditions:
11 | //
12 | // The above copyright notice and this permission notice shall be included in
13 | // all copies or substantial portions of the Software.
14 | //
15 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21 | // THE SOFTWARE.
22 |
23 | #import "DGTrack+Mapping.h"
24 |
25 | @implementation DGTrack (Mapping)
26 |
27 | + (RKMapping *)mapping {
28 | RKObjectMapping *mapping = [RKObjectMapping mappingForClass:[DGTrack class]];
29 | [mapping addAttributeMappingsFromDictionary:@{
30 | @"duration" : @"duration",
31 | @"position" : @"position",
32 | @"title" : @"title",
33 | @"type_" : @"type"
34 | }
35 | ];
36 |
37 | return mapping;
38 | }
39 |
40 | @end
41 |
--------------------------------------------------------------------------------
/DiscogsAPI/Mapping/Database/Data/DGVideo+Mapping.h:
--------------------------------------------------------------------------------
1 | // DGVideo+Mapping.h
2 | //
3 | // Copyright (c) 2017 Maxime Epain
4 | //
5 | // Permission is hereby granted, free of charge, to any person obtaining a copy
6 | // of this software and associated documentation files (the "Software"), to deal
7 | // in the Software without restriction, including without limitation the rights
8 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | // copies of the Software, and to permit persons to whom the Software is
10 | // furnished to do so, subject to the following conditions:
11 | //
12 | // The above copyright notice and this permission notice shall be included in
13 | // all copies or substantial portions of the Software.
14 | //
15 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21 | // THE SOFTWARE.
22 |
23 | #import "DGVideo.h"
24 | #import "DGMapping.h"
25 |
26 | @interface DGVideo (Mapping)
27 |
28 | @end
29 |
--------------------------------------------------------------------------------
/DiscogsAPI/Mapping/Database/Label/DGCompany+Mapping.h:
--------------------------------------------------------------------------------
1 | // DGCompany+Mapping.h
2 | //
3 | // Copyright (c) 2016 Nate Rivard
4 | //
5 | // Permission is hereby granted, free of charge, to any person obtaining a copy
6 | // of this software and associated documentation files (the "Software"), to deal
7 | // in the Software without restriction, including without limitation the rights
8 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | // copies of the Software, and to permit persons to whom the Software is
10 | // furnished to do so, subject to the following conditions:
11 | //
12 | // The above copyright notice and this permission notice shall be included in
13 | // all copies or substantial portions of the Software.
14 | //
15 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21 | // THE SOFTWARE.
22 |
23 | #import "DGCompany.h"
24 | #import "DGMapping.h"
25 |
26 | @interface DGCompany (Mapping)
27 |
28 | @end
29 |
--------------------------------------------------------------------------------
/DiscogsAPI/Mapping/Database/Label/DGLabel+Mapping.h:
--------------------------------------------------------------------------------
1 | // DGLabel+Mapping.h
2 | //
3 | // Copyright (c) 2017 Maxime Epain
4 | //
5 | // Permission is hereby granted, free of charge, to any person obtaining a copy
6 | // of this software and associated documentation files (the "Software"), to deal
7 | // in the Software without restriction, including without limitation the rights
8 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | // copies of the Software, and to permit persons to whom the Software is
10 | // furnished to do so, subject to the following conditions:
11 | //
12 | // The above copyright notice and this permission notice shall be included in
13 | // all copies or substantial portions of the Software.
14 | //
15 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21 | // THE SOFTWARE.
22 |
23 | #import "DGLabel.h"
24 | #import "DGMapping.h"
25 |
26 | @interface DGLabel (Mapping)
27 |
28 | @end
29 |
--------------------------------------------------------------------------------
/DiscogsAPI/Mapping/Database/Label/DGLabelRelease+Mapping.h:
--------------------------------------------------------------------------------
1 | // DGLabelRelease+Mapping.h
2 | //
3 | // Copyright (c) 2017 Maxime Epain
4 | //
5 | // Permission is hereby granted, free of charge, to any person obtaining a copy
6 | // of this software and associated documentation files (the "Software"), to deal
7 | // in the Software without restriction, including without limitation the rights
8 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | // copies of the Software, and to permit persons to whom the Software is
10 | // furnished to do so, subject to the following conditions:
11 | //
12 | // The above copyright notice and this permission notice shall be included in
13 | // all copies or substantial portions of the Software.
14 | //
15 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21 | // THE SOFTWARE.
22 |
23 | #import "DGLabelRelease.h"
24 | #import "DGMapping.h"
25 |
26 | @interface DGLabelRelease (Mapping)
27 |
28 | @end
29 |
30 | @interface DGLabelReleasesRequest (Mapping)
31 |
32 | @end
33 |
34 | @interface DGLabelReleasesResponse (Mapping)
35 |
36 | @end
37 |
--------------------------------------------------------------------------------
/DiscogsAPI/Mapping/Database/Master/DGMaster+Mapping.h:
--------------------------------------------------------------------------------
1 | // DGMaster+Mapping.h
2 | //
3 | // Copyright (c) 2017 Maxime Epain
4 | //
5 | // Permission is hereby granted, free of charge, to any person obtaining a copy
6 | // of this software and associated documentation files (the "Software"), to deal
7 | // in the Software without restriction, including without limitation the rights
8 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | // copies of the Software, and to permit persons to whom the Software is
10 | // furnished to do so, subject to the following conditions:
11 | //
12 | // The above copyright notice and this permission notice shall be included in
13 | // all copies or substantial portions of the Software.
14 | //
15 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21 | // THE SOFTWARE.
22 |
23 | #import "DGMaster.h"
24 | #import "DGMapping.h"
25 |
26 | @interface DGMaster (Mapping)
27 |
28 | @end
29 |
--------------------------------------------------------------------------------
/DiscogsAPI/Mapping/Database/Master/DGMasterVersion+Mapping.h:
--------------------------------------------------------------------------------
1 | // DGMasterVersion+Mapping.h
2 | //
3 | // Copyright (c) 2017 Maxime Epain
4 | //
5 | // Permission is hereby granted, free of charge, to any person obtaining a copy
6 | // of this software and associated documentation files (the "Software"), to deal
7 | // in the Software without restriction, including without limitation the rights
8 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | // copies of the Software, and to permit persons to whom the Software is
10 | // furnished to do so, subject to the following conditions:
11 | //
12 | // The above copyright notice and this permission notice shall be included in
13 | // all copies or substantial portions of the Software.
14 | //
15 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21 | // THE SOFTWARE.
22 |
23 | #import "DGMasterVersion.h"
24 | #import "DGMapping.h"
25 |
26 | @interface DGMasterVersion (Mapping)
27 |
28 | @end
29 |
30 | @interface DGMasterVersionsRequest (Mapping)
31 |
32 | @end
33 |
34 | @interface DGMasterVersionsResponse (Mapping)
35 |
36 | @end
37 |
--------------------------------------------------------------------------------
/DiscogsAPI/Mapping/Database/Release/DGRelease+Mapping.h:
--------------------------------------------------------------------------------
1 | // DGRelease+Mapping.h
2 | //
3 | // Copyright (c) 2017 Maxime Epain
4 | //
5 | // Permission is hereby granted, free of charge, to any person obtaining a copy
6 | // of this software and associated documentation files (the "Software"), to deal
7 | // in the Software without restriction, including without limitation the rights
8 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | // copies of the Software, and to permit persons to whom the Software is
10 | // furnished to do so, subject to the following conditions:
11 | //
12 | // The above copyright notice and this permission notice shall be included in
13 | // all copies or substantial portions of the Software.
14 | //
15 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21 | // THE SOFTWARE.
22 |
23 | #import "DGRelease.h"
24 | #import "DGMapping.h"
25 |
26 | @interface DGRelease (Mapping)
27 |
28 | @end
29 |
--------------------------------------------------------------------------------
/DiscogsAPI/Mapping/Database/Search/DGSearch+Mapping.h:
--------------------------------------------------------------------------------
1 | // DGSearch+Mapping.h
2 | //
3 | // Copyright (c) 2017 Maxime Epain
4 | //
5 | // Permission is hereby granted, free of charge, to any person obtaining a copy
6 | // of this software and associated documentation files (the "Software"), to deal
7 | // in the Software without restriction, including without limitation the rights
8 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | // copies of the Software, and to permit persons to whom the Software is
10 | // furnished to do so, subject to the following conditions:
11 | //
12 | // The above copyright notice and this permission notice shall be included in
13 | // all copies or substantial portions of the Software.
14 | //
15 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21 | // THE SOFTWARE.
22 |
23 | #import "DGSearch.h"
24 | #import "DGPagination+Mapping.h"
25 | #import "DGMapping.h"
26 |
27 | @interface DGSearchRequest (Mapping)
28 |
29 | @end
30 |
31 | @interface DGSearchResult (Mapping)
32 |
33 | @end
34 |
35 | @interface DGSearchResponse (Mapping)
36 |
37 | @end
38 |
--------------------------------------------------------------------------------
/DiscogsAPI/Mapping/Marketplace/Listing/DGInventory+Mapping.h:
--------------------------------------------------------------------------------
1 | // DGInventory+Mapping.h
2 | //
3 | // Copyright (c) 2017 Maxime Epain
4 | //
5 | // Permission is hereby granted, free of charge, to any person obtaining a copy
6 | // of this software and associated documentation files (the "Software"), to deal
7 | // in the Software without restriction, including without limitation the rights
8 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | // copies of the Software, and to permit persons to whom the Software is
10 | // furnished to do so, subject to the following conditions:
11 | //
12 | // The above copyright notice and this permission notice shall be included in
13 | // all copies or substantial portions of the Software.
14 | //
15 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21 | // THE SOFTWARE.
22 |
23 | #import "DGInventory.h"
24 | #import "DGMapping.h"
25 |
26 | @interface DGInventoryRequest (Mapping)
27 |
28 | @end
29 |
30 | @interface DGInventoryResponse (Mapping)
31 |
32 | @end
33 |
--------------------------------------------------------------------------------
/DiscogsAPI/Mapping/Marketplace/Listing/DGListing+Mapping.h:
--------------------------------------------------------------------------------
1 | // DGListing+Mapping.h
2 | //
3 | // Copyright (c) 2017 Maxime Epain
4 | //
5 | // Permission is hereby granted, free of charge, to any person obtaining a copy
6 | // of this software and associated documentation files (the "Software"), to deal
7 | // in the Software without restriction, including without limitation the rights
8 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | // copies of the Software, and to permit persons to whom the Software is
10 | // furnished to do so, subject to the following conditions:
11 | //
12 | // The above copyright notice and this permission notice shall be included in
13 | // all copies or substantial portions of the Software.
14 | //
15 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21 | // THE SOFTWARE.
22 |
23 | #import "DGListing.h"
24 | #import "DGMapping.h"
25 |
26 | @interface DGListing (Mapping)
27 |
28 | @end
29 |
30 | @interface DGListingRequest (Mapping)
31 |
32 | @end
33 |
34 | @interface DGCreateListingRequest (Mapping)
35 |
36 | @end
37 |
38 | @interface DGCreateListingResponse (Mapping)
39 |
40 | @end
41 |
--------------------------------------------------------------------------------
/DiscogsAPI/Mapping/Marketplace/Order/DGOrder+Mapping.h:
--------------------------------------------------------------------------------
1 | // DGOrder+Mapping.h
2 | //
3 | // Copyright (c) 2017 Maxime Epain
4 | //
5 | // Permission is hereby granted, free of charge, to any person obtaining a copy
6 | // of this software and associated documentation files (the "Software"), to deal
7 | // in the Software without restriction, including without limitation the rights
8 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | // copies of the Software, and to permit persons to whom the Software is
10 | // furnished to do so, subject to the following conditions:
11 | //
12 | // The above copyright notice and this permission notice shall be included in
13 | // all copies or substantial portions of the Software.
14 | //
15 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21 | // THE SOFTWARE.
22 |
23 | #import "DGOrder.h"
24 | #import "DGMapping.h"
25 |
26 | @interface DGOrderItem (Mapping)
27 |
28 | @end
29 |
30 | @interface DGOrder (Mapping)
31 |
32 | @end
33 |
34 | @interface DGListOrdersRequest (Mapping)
35 |
36 | @end
37 |
38 | @interface DGListOrdersResponse (Mapping)
39 |
40 | @end
41 |
--------------------------------------------------------------------------------
/DiscogsAPI/Mapping/Marketplace/Price/DGPrice+Mapping.h:
--------------------------------------------------------------------------------
1 | // DGPrice+Mapping.h
2 | //
3 | // Copyright (c) 2017 Maxime Epain
4 | //
5 | // Permission is hereby granted, free of charge, to any person obtaining a copy
6 | // of this software and associated documentation files (the "Software"), to deal
7 | // in the Software without restriction, including without limitation the rights
8 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | // copies of the Software, and to permit persons to whom the Software is
10 | // furnished to do so, subject to the following conditions:
11 | //
12 | // The above copyright notice and this permission notice shall be included in
13 | // all copies or substantial portions of the Software.
14 | //
15 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21 | // THE SOFTWARE.
22 |
23 | #import "DGPrice.h"
24 | #import "DGMapping.h"
25 |
26 | @interface DGPrice (Mapping)
27 |
28 | @end
29 |
30 | @interface DGPriceSuggestionsRequest (Mapping)
31 |
32 | @end
33 |
34 | @interface DGPriceSuggestionsResponse (Mapping)
35 |
36 | @end
37 |
38 |
--------------------------------------------------------------------------------
/DiscogsAPI/Mapping/Pagination/DGPagination+Mapping.h:
--------------------------------------------------------------------------------
1 | // DGPagination+Mapping.h
2 | //
3 | // Copyright (c) 2017 Maxime Epain
4 | //
5 | // Permission is hereby granted, free of charge, to any person obtaining a copy
6 | // of this software and associated documentation files (the "Software"), to deal
7 | // in the Software without restriction, including without limitation the rights
8 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | // copies of the Software, and to permit persons to whom the Software is
10 | // furnished to do so, subject to the following conditions:
11 | //
12 | // The above copyright notice and this permission notice shall be included in
13 | // all copies or substantial portions of the Software.
14 | //
15 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21 | // THE SOFTWARE.
22 |
23 | #import "DGPagination.h"
24 | #import "DGMapping.h"
25 |
26 | NS_ASSUME_NONNULL_BEGIN
27 |
28 | @interface DGPaginationUrls (Mapping)
29 |
30 | @end
31 |
32 | @interface DGPagination (Mapping)
33 |
34 | - (void)loadNextPageWithResponseClass:(Class)responseClass success:(void (^)(id response))success failure:(nullable void (^)(NSError * _Nullable error))failure;
35 |
36 | @end
37 |
38 | NS_ASSUME_NONNULL_END
39 |
--------------------------------------------------------------------------------
/DiscogsAPI/Mapping/User/Collection/DGCollectionField+Mapping.h:
--------------------------------------------------------------------------------
1 | // DGCollectionField+Mapping.h
2 | //
3 | // Copyright (c) 2017 Maxime Epain
4 | //
5 | // Permission is hereby granted, free of charge, to any person obtaining a copy
6 | // of this software and associated documentation files (the "Software"), to deal
7 | // in the Software without restriction, including without limitation the rights
8 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | // copies of the Software, and to permit persons to whom the Software is
10 | // furnished to do so, subject to the following conditions:
11 | //
12 | // The above copyright notice and this permission notice shall be included in
13 | // all copies or substantial portions of the Software.
14 | //
15 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21 | // THE SOFTWARE.
22 |
23 | #import "DGCollectionField.h"
24 | #import "DGMapping.h"
25 |
26 | @interface DGCollectionField (Mapping)
27 |
28 | @end
29 |
30 | @interface DGCollectionFieldsRequest (Mapping)
31 |
32 | @end
33 |
--------------------------------------------------------------------------------
/DiscogsAPI/Mapping/User/Collection/DGCollectionFieldInstance+Mapping.h:
--------------------------------------------------------------------------------
1 | // DGCollectionFieldInstance+Mapping.h
2 | //
3 | // Created by Nate Rivard on 5/1/16.
4 | // Copyright (c) 2017 Maxime Epain
5 | //
6 | // Permission is hereby granted, free of charge, to any person obtaining a copy
7 | // of this software and associated documentation files (the "Software"), to deal
8 | // in the Software without restriction, including without limitation the rights
9 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10 | // copies of the Software, and to permit persons to whom the Software is
11 | // furnished to do so, subject to the following conditions:
12 | //
13 | // The above copyright notice and this permission notice shall be included in
14 | // all copies or substantial portions of the Software.
15 | //
16 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
22 | // THE SOFTWARE.
23 |
24 | #import "DGCollectionFieldInstance.h"
25 | #import "DGMapping.h"
26 |
27 | @interface DGCollectionFieldInstance (Mapping)
28 |
29 | @end
30 |
--------------------------------------------------------------------------------
/DiscogsAPI/Mapping/User/Collection/DGCollectionFieldInstance+Mapping.m:
--------------------------------------------------------------------------------
1 | // DGCollectionFieldInstance+Mapping.m
2 | //
3 | // Created by Nate Rivard on 5/1/16.
4 | // Copyright (c) 2017 Maxime Epain
5 | //
6 | // Permission is hereby granted, free of charge, to any person obtaining a copy
7 | // of this software and associated documentation files (the "Software"), to deal
8 | // in the Software without restriction, including without limitation the rights
9 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10 | // copies of the Software, and to permit persons to whom the Software is
11 | // furnished to do so, subject to the following conditions:
12 | //
13 | // The above copyright notice and this permission notice shall be included in
14 | // all copies or substantial portions of the Software.
15 | //
16 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
22 | // THE SOFTWARE.
23 |
24 | #import "DGCollectionFieldInstance+Mapping.h"
25 |
26 | @implementation DGCollectionFieldInstance (Mapping)
27 |
28 | + (RKMapping *)mapping {
29 | RKObjectMapping *mapping = [RKObjectMapping mappingForClass:[DGCollectionFieldInstance class]];
30 | [mapping addAttributeMappingsFromDictionary:@{
31 | @"field_id" : @"fieldID",
32 | @"value" : @"value",
33 | }];
34 | return mapping;
35 | }
36 |
37 | @end
38 |
--------------------------------------------------------------------------------
/DiscogsAPI/Mapping/User/Collection/DGReleaseInstance+Mapping.h:
--------------------------------------------------------------------------------
1 | // DGReleaseInstance+Mapping.h
2 | //
3 | // Copyright (c) 2017 Maxime Epain
4 | //
5 | // Permission is hereby granted, free of charge, to any person obtaining a copy
6 | // of this software and associated documentation files (the "Software"), to deal
7 | // in the Software without restriction, including without limitation the rights
8 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | // copies of the Software, and to permit persons to whom the Software is
10 | // furnished to do so, subject to the following conditions:
11 | //
12 | // The above copyright notice and this permission notice shall be included in
13 | // all copies or substantial portions of the Software.
14 | //
15 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21 | // THE SOFTWARE.
22 |
23 | #import "DGReleaseInstance.h"
24 | #import "DGMapping.h"
25 |
26 | @interface DGReleaseInstance (Mapping)
27 |
28 | @end
29 |
30 | @interface DGReleaseInstanceRequest (Mapping)
31 |
32 | @end
33 |
34 | @interface DGEditFieldsInstanceRequest (Mapping)
35 |
36 | @end
37 |
38 | @interface DGChangeRatingOfReleaseRequest (Mapping)
39 |
40 | @end
41 |
--------------------------------------------------------------------------------
/DiscogsAPI/Mapping/User/Profile/DGProfile+Mapping.h:
--------------------------------------------------------------------------------
1 | // DGProfile+Mapping.h
2 | //
3 | // Copyright (c) 2017 Maxime Epain
4 | //
5 | // Permission is hereby granted, free of charge, to any person obtaining a copy
6 | // of this software and associated documentation files (the "Software"), to deal
7 | // in the Software without restriction, including without limitation the rights
8 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | // copies of the Software, and to permit persons to whom the Software is
10 | // furnished to do so, subject to the following conditions:
11 | //
12 | // The above copyright notice and this permission notice shall be included in
13 | // all copies or substantial portions of the Software.
14 | //
15 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21 | // THE SOFTWARE.
22 |
23 | #import "DGProfile.h"
24 | #import "DGMapping.h"
25 |
26 | @interface DGProfile (Mapping)
27 |
28 | @end
29 |
--------------------------------------------------------------------------------
/DiscogsAPI/Mapping/User/Wantlist/DGWantlist+Mapping.h:
--------------------------------------------------------------------------------
1 | // DGWantlist+Mapping.h
2 | //
3 | // Copyright (c) 2017 Maxime Epain
4 | //
5 | // Permission is hereby granted, free of charge, to any person obtaining a copy
6 | // of this software and associated documentation files (the "Software"), to deal
7 | // in the Software without restriction, including without limitation the rights
8 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | // copies of the Software, and to permit persons to whom the Software is
10 | // furnished to do so, subject to the following conditions:
11 | //
12 | // The above copyright notice and this permission notice shall be included in
13 | // all copies or substantial portions of the Software.
14 | //
15 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21 | // THE SOFTWARE.
22 |
23 | #import "DGWantlist.h"
24 | #import "DGMapping.h"
25 |
26 | @interface DGWantlistRequest (Mapping)
27 |
28 | @end
29 |
30 | @interface DGWantlistResponse (Mapping)
31 |
32 | @end
33 |
34 | @interface DGWantRequest (Mapping)
35 |
36 | @end
37 |
38 | @interface DGWant (Mapping)
39 |
40 | @end
41 |
--------------------------------------------------------------------------------
/DiscogsAPI/Marketplace/Listing/DGInventory.m:
--------------------------------------------------------------------------------
1 | // DGInventory.m
2 | //
3 | // Copyright (c) 2017 Maxime Epain
4 | //
5 | // Permission is hereby granted, free of charge, to any person obtaining a copy
6 | // of this software and associated documentation files (the "Software"), to deal
7 | // in the Software without restriction, including without limitation the rights
8 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | // copies of the Software, and to permit persons to whom the Software is
10 | // furnished to do so, subject to the following conditions:
11 | //
12 | // The above copyright notice and this permission notice shall be included in
13 | // all copies or substantial portions of the Software.
14 | //
15 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21 | // THE SOFTWARE.
22 |
23 | #import "DGInventory.h"
24 | #import "DGPagination+Mapping.h"
25 | #import "DGListing+Mapping.h"
26 |
27 | @implementation DGInventoryRequest
28 |
29 | @end
30 |
31 | @implementation DGInventoryResponse
32 |
33 | @synthesize pagination;
34 |
35 | - (void)loadNextPageWithSuccess:(void (^)())success failure:(nullable void (^)(NSError * _Nullable error))failure {
36 |
37 | [self.pagination loadNextPageWithResponseClass:[DGInventoryResponse class] success:^(DGInventoryResponse *response) {
38 | self.pagination = response.pagination;
39 | self.listings = [self.listings arrayByAddingObjectsFromArray:response.listings];
40 | success();
41 | } failure:failure];
42 | }
43 |
44 | @end
45 |
--------------------------------------------------------------------------------
/DiscogsAPI/Marketplace/Price/DGPrice.m:
--------------------------------------------------------------------------------
1 | // DGPrice.m
2 | //
3 | // Copyright (c) 2017 Maxime Epain
4 | //
5 | // Permission is hereby granted, free of charge, to any person obtaining a copy
6 | // of this software and associated documentation files (the "Software"), to deal
7 | // in the Software without restriction, including without limitation the rights
8 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | // copies of the Software, and to permit persons to whom the Software is
10 | // furnished to do so, subject to the following conditions:
11 | //
12 | // The above copyright notice and this permission notice shall be included in
13 | // all copies or substantial portions of the Software.
14 | //
15 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21 | // THE SOFTWARE.
22 |
23 | #import "DGPrice.h"
24 |
25 | NSString *DGCurrencyAsString(DGCurrency currency) {
26 | return @[@"", @"USD", @"GBP", @"EUR", @"CAD", @"AUD", @"JPY", @"CHF", @"MXN", @"BRL", @"NZD", @"SEK", @"ZAR"][currency];
27 | }
28 |
29 | @implementation DGPrice
30 |
31 |
32 | @end
33 |
34 | @implementation DGPriceSuggestionsRequest
35 |
36 | - (instancetype)init {
37 | self = [super init];
38 | if (self) {
39 | self.releaseID = @0;
40 | }
41 | return self;
42 | }
43 |
44 | @end
45 |
46 | @implementation DGPriceSuggestionsResponse
47 |
48 | @end
49 |
--------------------------------------------------------------------------------
/DiscogsAPI/Pagination/DGPagination.m:
--------------------------------------------------------------------------------
1 | // DGPagination.m
2 | //
3 | // Copyright (c) 2017 Maxime Epain
4 | //
5 | // Permission is hereby granted, free of charge, to any person obtaining a copy
6 | // of this software and associated documentation files (the "Software"), to deal
7 | // in the Software without restriction, including without limitation the rights
8 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | // copies of the Software, and to permit persons to whom the Software is
10 | // furnished to do so, subject to the following conditions:
11 | //
12 | // The above copyright notice and this permission notice shall be included in
13 | // all copies or substantial portions of the Software.
14 | //
15 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21 | // THE SOFTWARE.
22 |
23 | #import "DGPagination.h"
24 |
25 | NSString *DGSortOrderAsString(DGSortOrder order) {
26 | return @[@"asc", @"desc"][order];
27 | }
28 |
29 | @implementation DGPaginationUrls
30 |
31 | @end
32 |
33 | @implementation DGPagination
34 |
35 | - (id)init {
36 | self = [super init];
37 | if (self) {
38 | self.page = @1;
39 | self.pages = @1;
40 | self.items = @50;
41 | self.perPage = @100;
42 |
43 | self.urls = [DGPaginationUrls new];
44 | }
45 | return self;
46 | }
47 |
48 | @end
49 |
--------------------------------------------------------------------------------
/DiscogsAPI/User/Collection/DGCollectionField.m:
--------------------------------------------------------------------------------
1 | // DGCollectionField.m
2 | //
3 | // Copyright (c) 2017 Maxime Epain
4 | //
5 | // Permission is hereby granted, free of charge, to any person obtaining a copy
6 | // of this software and associated documentation files (the "Software"), to deal
7 | // in the Software without restriction, including without limitation the rights
8 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | // copies of the Software, and to permit persons to whom the Software is
10 | // furnished to do so, subject to the following conditions:
11 | //
12 | // The above copyright notice and this permission notice shall be included in
13 | // all copies or substantial portions of the Software.
14 | //
15 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21 | // THE SOFTWARE.
22 |
23 | #import "DGCollectionField.h"
24 |
25 | @implementation DGCollectionFieldsRequest
26 |
27 | @end
28 |
29 | @implementation DGCollectionField
30 |
31 | - (NSArray *)options {
32 | if (!_options) {
33 | _options = @[];
34 | }
35 | return _options;
36 | }
37 |
38 | @end
39 |
--------------------------------------------------------------------------------
/DiscogsAPI/User/Collection/DGCollectionFieldInstance.h:
--------------------------------------------------------------------------------
1 | // DGCollectionFieldInstance.h
2 | //
3 | // Created by Nate Rivard on 5/1/16.
4 | // Copyright (c) 2017 Maxime Epain
5 | //
6 | // Permission is hereby granted, free of charge, to any person obtaining a copy
7 | // of this software and associated documentation files (the "Software"), to deal
8 | // in the Software without restriction, including without limitation the rights
9 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10 | // copies of the Software, and to permit persons to whom the Software is
11 | // furnished to do so, subject to the following conditions:
12 | //
13 | // The above copyright notice and this permission notice shall be included in
14 | // all copies or substantial portions of the Software.
15 | //
16 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
22 | // THE SOFTWARE.
23 |
24 | #import "DGObject.h"
25 |
26 | NS_ASSUME_NONNULL_BEGIN
27 |
28 | /// a specific field instance on a release
29 | ///
30 | /// Sample JSON:
31 | // {
32 | // "field_id" = 1;
33 | // value = "Near Mint (NM or M-)";
34 | // }
35 | @interface DGCollectionFieldInstance : DGObject
36 |
37 | /// ID corresponding to an ID in the user's collection fields
38 | @property (nonatomic, strong, nullable) NSNumber *fieldID;
39 |
40 | /// the value for this particular field instance
41 | @property (nonatomic, strong, nullable) NSString *value;
42 |
43 | @end
44 |
45 | NS_ASSUME_NONNULL_END
46 |
--------------------------------------------------------------------------------
/DiscogsAPI/User/Collection/DGCollectionFieldInstance.m:
--------------------------------------------------------------------------------
1 | // DGCollectionFieldInstance.m
2 | //
3 | // Created by Nate Rivard on 5/1/16.
4 | // Copyright (c) 2017 Maxime Epain
5 | //
6 | // Permission is hereby granted, free of charge, to any person obtaining a copy
7 | // of this software and associated documentation files (the "Software"), to deal
8 | // in the Software without restriction, including without limitation the rights
9 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10 | // copies of the Software, and to permit persons to whom the Software is
11 | // furnished to do so, subject to the following conditions:
12 | //
13 | // The above copyright notice and this permission notice shall be included in
14 | // all copies or substantial portions of the Software.
15 | //
16 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
22 | // THE SOFTWARE.
23 |
24 | #import "DGCollectionFieldInstance.h"
25 |
26 | @implementation DGCollectionFieldInstance
27 |
28 | @end
29 |
--------------------------------------------------------------------------------
/DiscogsAPI/User/Profile/DGProfile.m:
--------------------------------------------------------------------------------
1 | // DGProfile.m
2 | //
3 | // Copyright (c) 2017 Maxime Epain
4 | //
5 | // Permission is hereby granted, free of charge, to any person obtaining a copy
6 | // of this software and associated documentation files (the "Software"), to deal
7 | // in the Software without restriction, including without limitation the rights
8 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | // copies of the Software, and to permit persons to whom the Software is
10 | // furnished to do so, subject to the following conditions:
11 | //
12 | // The above copyright notice and this permission notice shall be included in
13 | // all copies or substantial portions of the Software.
14 | //
15 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21 | // THE SOFTWARE.
22 |
23 | #import "DGProfile.h"
24 |
25 | @implementation DGProfile
26 |
27 | @end
28 |
--------------------------------------------------------------------------------
/Example-objc/Assets.xcassets/AppIcon.appiconset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "iphone",
5 | "size" : "29x29",
6 | "scale" : "2x"
7 | },
8 | {
9 | "idiom" : "iphone",
10 | "size" : "29x29",
11 | "scale" : "3x"
12 | },
13 | {
14 | "idiom" : "iphone",
15 | "size" : "40x40",
16 | "scale" : "2x"
17 | },
18 | {
19 | "idiom" : "iphone",
20 | "size" : "40x40",
21 | "scale" : "3x"
22 | },
23 | {
24 | "idiom" : "iphone",
25 | "size" : "60x60",
26 | "scale" : "2x"
27 | },
28 | {
29 | "idiom" : "iphone",
30 | "size" : "60x60",
31 | "scale" : "3x"
32 | },
33 | {
34 | "idiom" : "ipad",
35 | "size" : "29x29",
36 | "scale" : "1x"
37 | },
38 | {
39 | "idiom" : "ipad",
40 | "size" : "29x29",
41 | "scale" : "2x"
42 | },
43 | {
44 | "idiom" : "ipad",
45 | "size" : "40x40",
46 | "scale" : "1x"
47 | },
48 | {
49 | "idiom" : "ipad",
50 | "size" : "40x40",
51 | "scale" : "2x"
52 | },
53 | {
54 | "idiom" : "ipad",
55 | "size" : "76x76",
56 | "scale" : "1x"
57 | },
58 | {
59 | "idiom" : "ipad",
60 | "size" : "76x76",
61 | "scale" : "2x"
62 | },
63 | {
64 | "idiom" : "ipad",
65 | "size" : "83.5x83.5",
66 | "scale" : "2x"
67 | }
68 | ],
69 | "info" : {
70 | "version" : 1,
71 | "author" : "xcode"
72 | }
73 | }
--------------------------------------------------------------------------------
/Example-objc/Assets.xcassets/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "info" : {
3 | "version" : 1,
4 | "author" : "xcode"
5 | }
6 | }
--------------------------------------------------------------------------------
/Example-objc/Assets.xcassets/default-artist.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "filename" : "default-artist.png",
6 | "scale" : "1x"
7 | },
8 | {
9 | "idiom" : "universal",
10 | "scale" : "2x"
11 | },
12 | {
13 | "idiom" : "universal",
14 | "scale" : "3x"
15 | }
16 | ],
17 | "info" : {
18 | "version" : 1,
19 | "author" : "xcode"
20 | }
21 | }
--------------------------------------------------------------------------------
/Example-objc/Assets.xcassets/default-artist.imageset/default-artist.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/maxep/DiscogsAPI/80e6be2fa054356e54adad62a29ea6aeb1c8fcac/Example-objc/Assets.xcassets/default-artist.imageset/default-artist.png
--------------------------------------------------------------------------------
/Example-objc/Assets.xcassets/default-label.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "filename" : "default-label.png",
6 | "scale" : "1x"
7 | },
8 | {
9 | "idiom" : "universal",
10 | "scale" : "2x"
11 | },
12 | {
13 | "idiom" : "universal",
14 | "scale" : "3x"
15 | }
16 | ],
17 | "info" : {
18 | "version" : 1,
19 | "author" : "xcode"
20 | }
21 | }
--------------------------------------------------------------------------------
/Example-objc/Assets.xcassets/default-label.imageset/default-label.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/maxep/DiscogsAPI/80e6be2fa054356e54adad62a29ea6aeb1c8fcac/Example-objc/Assets.xcassets/default-label.imageset/default-label.png
--------------------------------------------------------------------------------
/Example-objc/Assets.xcassets/default-release.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "filename" : "default-release.png",
6 | "scale" : "1x"
7 | },
8 | {
9 | "idiom" : "universal",
10 | "scale" : "2x"
11 | },
12 | {
13 | "idiom" : "universal",
14 | "scale" : "3x"
15 | }
16 | ],
17 | "info" : {
18 | "version" : 1,
19 | "author" : "xcode"
20 | }
21 | }
--------------------------------------------------------------------------------
/Example-objc/Assets.xcassets/default-release.imageset/default-release.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/maxep/DiscogsAPI/80e6be2fa054356e54adad62a29ea6aeb1c8fcac/Example-objc/Assets.xcassets/default-release.imageset/default-release.png
--------------------------------------------------------------------------------
/Example-objc/DGAppDelegate.h:
--------------------------------------------------------------------------------
1 | // DGAppDelegate.h
2 | //
3 | // Copyright (c) 2017 Maxime Epain
4 | //
5 | // Permission is hereby granted, free of charge, to any person obtaining a copy
6 | // of this software and associated documentation files (the "Software"), to deal
7 | // in the Software without restriction, including without limitation the rights
8 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | // copies of the Software, and to permit persons to whom the Software is
10 | // furnished to do so, subject to the following conditions:
11 | //
12 | // The above copyright notice and this permission notice shall be included in
13 | // all copies or substantial portions of the Software.
14 | //
15 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21 | // THE SOFTWARE.
22 |
23 | #import
24 |
25 | @interface DGAppDelegate : UIResponder
26 |
27 | @property (strong, nonatomic) UIWindow *window;
28 |
29 |
30 | @end
31 |
32 |
--------------------------------------------------------------------------------
/Example-objc/DGArtistViewController.h:
--------------------------------------------------------------------------------
1 | // DGArtistViewController.h
2 | //
3 | // Copyright (c) 2017 Maxime Epain
4 | //
5 | // Permission is hereby granted, free of charge, to any person obtaining a copy
6 | // of this software and associated documentation files (the "Software"), to deal
7 | // in the Software without restriction, including without limitation the rights
8 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | // copies of the Software, and to permit persons to whom the Software is
10 | // furnished to do so, subject to the following conditions:
11 | //
12 | // The above copyright notice and this permission notice shall be included in
13 | // all copies or substantial portions of the Software.
14 | //
15 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21 | // THE SOFTWARE.
22 |
23 | #import "DGViewController.h"
24 |
25 | @interface DGArtistViewController : DGViewController
26 |
27 | @end
28 |
--------------------------------------------------------------------------------
/Example-objc/DGLabelViewController.h:
--------------------------------------------------------------------------------
1 | // DGLabelViewController.h
2 | //
3 | // Copyright (c) 2017 Maxime Epain
4 | //
5 | // Permission is hereby granted, free of charge, to any person obtaining a copy
6 | // of this software and associated documentation files (the "Software"), to deal
7 | // in the Software without restriction, including without limitation the rights
8 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | // copies of the Software, and to permit persons to whom the Software is
10 | // furnished to do so, subject to the following conditions:
11 | //
12 | // The above copyright notice and this permission notice shall be included in
13 | // all copies or substantial portions of the Software.
14 | //
15 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21 | // THE SOFTWARE.
22 |
23 | #import "DGViewController.h"
24 |
25 | @interface DGLabelViewController : DGViewController
26 |
27 | @end
28 |
--------------------------------------------------------------------------------
/Example-objc/DGMasterViewController.h:
--------------------------------------------------------------------------------
1 | // DGMasterViewController.h
2 | //
3 | // Copyright (c) 2017 Maxime Epain
4 | //
5 | // Permission is hereby granted, free of charge, to any person obtaining a copy
6 | // of this software and associated documentation files (the "Software"), to deal
7 | // in the Software without restriction, including without limitation the rights
8 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | // copies of the Software, and to permit persons to whom the Software is
10 | // furnished to do so, subject to the following conditions:
11 | //
12 | // The above copyright notice and this permission notice shall be included in
13 | // all copies or substantial portions of the Software.
14 | //
15 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21 | // THE SOFTWARE.
22 |
23 | #import "DGViewController.h"
24 |
25 | @interface DGMasterViewController : DGViewController
26 |
27 | @end
28 |
--------------------------------------------------------------------------------
/Example-objc/DGReleaseViewController.h:
--------------------------------------------------------------------------------
1 | // DGReleaseViewController.h
2 | //
3 | // Copyright (c) 2017 Maxime Epain
4 | //
5 | // Permission is hereby granted, free of charge, to any person obtaining a copy
6 | // of this software and associated documentation files (the "Software"), to deal
7 | // in the Software without restriction, including without limitation the rights
8 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | // copies of the Software, and to permit persons to whom the Software is
10 | // furnished to do so, subject to the following conditions:
11 | //
12 | // The above copyright notice and this permission notice shall be included in
13 | // all copies or substantial portions of the Software.
14 | //
15 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21 | // THE SOFTWARE.
22 |
23 | #import "DGViewController.h"
24 |
25 | @interface DGReleaseViewController : DGViewController
26 |
27 | @end
28 |
--------------------------------------------------------------------------------
/Example-objc/DGSearchViewController.h:
--------------------------------------------------------------------------------
1 | // DGSearchViewController.h
2 | //
3 | // Copyright (c) 2017 Maxime Epain
4 | //
5 | // Permission is hereby granted, free of charge, to any person obtaining a copy
6 | // of this software and associated documentation files (the "Software"), to deal
7 | // in the Software without restriction, including without limitation the rights
8 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | // copies of the Software, and to permit persons to whom the Software is
10 | // furnished to do so, subject to the following conditions:
11 | //
12 | // The above copyright notice and this permission notice shall be included in
13 | // all copies or substantial portions of the Software.
14 | //
15 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21 | // THE SOFTWARE.
22 |
23 | #import
24 |
25 | @interface DGSearchViewController : UITableViewController
26 |
27 | @end
28 |
29 |
--------------------------------------------------------------------------------
/Example-objc/DGViewController.h:
--------------------------------------------------------------------------------
1 | // DGViewController.h
2 | //
3 | // Copyright (c) 2017 Maxime Epain
4 | //
5 | // Permission is hereby granted, free of charge, to any person obtaining a copy
6 | // of this software and associated documentation files (the "Software"), to deal
7 | // in the Software without restriction, including without limitation the rights
8 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | // copies of the Software, and to permit persons to whom the Software is
10 | // furnished to do so, subject to the following conditions:
11 | //
12 | // The above copyright notice and this permission notice shall be included in
13 | // all copies or substantial portions of the Software.
14 | //
15 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21 | // THE SOFTWARE.
22 |
23 | #import
24 |
25 | @interface DGViewController : UIViewController
26 |
27 | @property (weak, nonatomic) IBOutlet UIImageView *coverView;
28 | @property (weak, nonatomic) IBOutlet UILabel *titleLabel;
29 | @property (weak, nonatomic) IBOutlet UILabel *detailLabel;
30 | @property (weak, nonatomic) IBOutlet UILabel *yearLabel;
31 | @property (weak, nonatomic) IBOutlet UILabel *styleLabel;
32 | @property (weak, nonatomic) IBOutlet UITableView *tableView;
33 |
34 | @property (nonatomic,copy) NSNumber *objectID;
35 |
36 | @end
37 |
--------------------------------------------------------------------------------
/Example-objc/main.m:
--------------------------------------------------------------------------------
1 | //
2 | // main.m
3 | // DiscogsAPI
4 | //
5 | // Created by Maxime Epain on 16/08/2015.
6 | // Copyright (c) 2017 Maxime Epain. All rights reserved.
7 | //
8 |
9 | #import
10 | #import "DGAppDelegate.h"
11 |
12 | int main(int argc, char * argv[]) {
13 | @autoreleasepool {
14 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([DGAppDelegate class]));
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/Example-swift/Assets.xcassets/AppIcon.appiconset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "iphone",
5 | "size" : "20x20",
6 | "scale" : "2x"
7 | },
8 | {
9 | "idiom" : "iphone",
10 | "size" : "20x20",
11 | "scale" : "3x"
12 | },
13 | {
14 | "idiom" : "iphone",
15 | "size" : "29x29",
16 | "scale" : "2x"
17 | },
18 | {
19 | "idiom" : "iphone",
20 | "size" : "29x29",
21 | "scale" : "3x"
22 | },
23 | {
24 | "idiom" : "iphone",
25 | "size" : "40x40",
26 | "scale" : "2x"
27 | },
28 | {
29 | "idiom" : "iphone",
30 | "size" : "40x40",
31 | "scale" : "3x"
32 | },
33 | {
34 | "idiom" : "iphone",
35 | "size" : "60x60",
36 | "scale" : "2x"
37 | },
38 | {
39 | "idiom" : "iphone",
40 | "size" : "60x60",
41 | "scale" : "3x"
42 | },
43 | {
44 | "idiom" : "ipad",
45 | "size" : "20x20",
46 | "scale" : "1x"
47 | },
48 | {
49 | "idiom" : "ipad",
50 | "size" : "20x20",
51 | "scale" : "2x"
52 | },
53 | {
54 | "idiom" : "ipad",
55 | "size" : "29x29",
56 | "scale" : "1x"
57 | },
58 | {
59 | "idiom" : "ipad",
60 | "size" : "29x29",
61 | "scale" : "2x"
62 | },
63 | {
64 | "idiom" : "ipad",
65 | "size" : "40x40",
66 | "scale" : "1x"
67 | },
68 | {
69 | "idiom" : "ipad",
70 | "size" : "40x40",
71 | "scale" : "2x"
72 | },
73 | {
74 | "idiom" : "ipad",
75 | "size" : "76x76",
76 | "scale" : "1x"
77 | },
78 | {
79 | "idiom" : "ipad",
80 | "size" : "76x76",
81 | "scale" : "2x"
82 | },
83 | {
84 | "idiom" : "ipad",
85 | "size" : "83.5x83.5",
86 | "scale" : "2x"
87 | }
88 | ],
89 | "info" : {
90 | "version" : 1,
91 | "author" : "xcode"
92 | }
93 | }
--------------------------------------------------------------------------------
/Example-swift/Assets.xcassets/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "info" : {
3 | "version" : 1,
4 | "author" : "xcode"
5 | }
6 | }
--------------------------------------------------------------------------------
/Example-swift/Assets.xcassets/default-artist.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "filename" : "default-artist.png",
6 | "scale" : "1x"
7 | },
8 | {
9 | "idiom" : "universal",
10 | "scale" : "2x"
11 | },
12 | {
13 | "idiom" : "universal",
14 | "scale" : "3x"
15 | }
16 | ],
17 | "info" : {
18 | "version" : 1,
19 | "author" : "xcode"
20 | }
21 | }
--------------------------------------------------------------------------------
/Example-swift/Assets.xcassets/default-artist.imageset/default-artist.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/maxep/DiscogsAPI/80e6be2fa054356e54adad62a29ea6aeb1c8fcac/Example-swift/Assets.xcassets/default-artist.imageset/default-artist.png
--------------------------------------------------------------------------------
/Example-swift/Assets.xcassets/default-label.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "filename" : "default-label.png",
6 | "scale" : "1x"
7 | },
8 | {
9 | "idiom" : "universal",
10 | "scale" : "2x"
11 | },
12 | {
13 | "idiom" : "universal",
14 | "scale" : "3x"
15 | }
16 | ],
17 | "info" : {
18 | "version" : 1,
19 | "author" : "xcode"
20 | }
21 | }
--------------------------------------------------------------------------------
/Example-swift/Assets.xcassets/default-label.imageset/default-label.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/maxep/DiscogsAPI/80e6be2fa054356e54adad62a29ea6aeb1c8fcac/Example-swift/Assets.xcassets/default-label.imageset/default-label.png
--------------------------------------------------------------------------------
/Example-swift/Assets.xcassets/default-release.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "filename" : "default-release.png",
6 | "scale" : "1x"
7 | },
8 | {
9 | "idiom" : "universal",
10 | "scale" : "2x"
11 | },
12 | {
13 | "idiom" : "universal",
14 | "scale" : "3x"
15 | }
16 | ],
17 | "info" : {
18 | "version" : 1,
19 | "author" : "xcode"
20 | }
21 | }
--------------------------------------------------------------------------------
/Example-swift/Assets.xcassets/default-release.imageset/default-release.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/maxep/DiscogsAPI/80e6be2fa054356e54adad62a29ea6aeb1c8fcac/Example-swift/Assets.xcassets/default-release.imageset/default-release.png
--------------------------------------------------------------------------------
/Example-swift/DGViewController.swift:
--------------------------------------------------------------------------------
1 | //
2 | // DGViewController.swift
3 | // DiscogsAPI-Swift
4 | //
5 | // Created by Maxime on 04/06/2016.
6 | // Copyright © 2016 Maxime Epain. All rights reserved.
7 | //
8 |
9 | import UIKit
10 | import DiscogsAPI
11 |
12 | class DGViewController: UIViewController, UITableViewDataSource {
13 |
14 | @IBOutlet weak var coverView: UIImageView!
15 | @IBOutlet weak var titleLabel: UILabel!
16 | @IBOutlet weak var detailLabel: UILabel!
17 | @IBOutlet weak var yearLabel: UILabel!
18 | @IBOutlet weak var styleLabel: UILabel!
19 | @IBOutlet weak var tableView: UITableView!
20 |
21 | var objectID : NSNumber!
22 |
23 | override func viewDidLoad() {
24 | super.viewDidLoad()
25 |
26 | // Do any additional setup after loading the view.
27 | }
28 |
29 | override func didReceiveMemoryWarning() {
30 | super.didReceiveMemoryWarning()
31 | // Dispose of any resources that can be recreated.
32 | }
33 |
34 | // MARK: UITableViewDataSource
35 |
36 | func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int {
37 | return 0
38 | }
39 |
40 | func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
41 | return UITableViewCell()
42 | }
43 |
44 | }
45 |
--------------------------------------------------------------------------------
/Framework/DiscogsAPI-umbrella.h:
--------------------------------------------------------------------------------
1 | // DiscogsAPI-umbrella.h
2 | //
3 | // Copyright (c) 2017 Maxime Epain
4 | //
5 | // Permission is hereby granted, free of charge, to any person obtaining a copy
6 | // of this software and associated documentation files (the "Software"), to deal
7 | // in the Software without restriction, including without limitation the rights
8 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | // copies of the Software, and to permit persons to whom the Software is
10 | // furnished to do so, subject to the following conditions:
11 | //
12 | // The above copyright notice and this permission notice shall be included in
13 | // all copies or substantial portions of the Software.
14 | //
15 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21 | // THE SOFTWARE.
22 |
23 | #import
24 |
25 | //! Project version number for DiscogsAPI.
26 | FOUNDATION_EXPORT double DiscogsAPIVersionNumber;
27 |
28 | //! Project version string for DiscogsAPI.
29 | FOUNDATION_EXPORT const unsigned char DiscogsAPIVersionString[];
30 |
31 | #import
32 |
--------------------------------------------------------------------------------
/Framework/DiscogsAPI.pch:
--------------------------------------------------------------------------------
1 | //
2 | // DiscogsAPI.pch
3 | // DiscogsAPI
4 | //
5 | // Created by Maxime Epain on 02/06/16.
6 | // Copyright © 2016 Maxime Epain. All rights reserved.
7 | //
8 |
9 | #ifndef DiscogsAPI_pch
10 | #define DiscogsAPI_pch
11 |
12 | #import
13 |
14 | #ifdef __OBJC__
15 |
16 | #import
17 | #import
18 | #import
19 | #import
20 | #import
21 |
22 | #endif
23 |
24 | #endif /* DiscogsAPI_pch */
25 |
--------------------------------------------------------------------------------
/Framework/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | $(PRODUCT_BUNDLE_IDENTIFIER)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | FMWK
17 | CFBundleShortVersionString
18 | 1.8.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | $(CURRENT_PROJECT_VERSION)
23 | NSPrincipalClass
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/Framework/module.modulemap:
--------------------------------------------------------------------------------
1 | framework module DiscogsAPI {
2 | umbrella header "DiscogsAPI-umbrella.h"
3 | export *
4 | module * { export * }
5 | }
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | The MIT License (MIT)
2 |
3 | Copyright (c) 2017 Maxime Epain
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
23 |
--------------------------------------------------------------------------------
/Podfile:
--------------------------------------------------------------------------------
1 | source 'https://github.com/CocoaPods/Specs.git'
2 | use_frameworks!
3 |
4 | platform :ios, '8.0'
5 |
6 | def import_pods
7 | pod 'DiscogsAPI', :path => '.'
8 | end
9 |
10 | target 'DiscogsAPI' do
11 | podspec
12 | end
13 |
14 | target 'DiscogsAPITests' do
15 | import_pods
16 | pod 'RestKit/Testing', '~> 0.27.0'
17 | end
18 |
19 | target 'Discogs-objc' do
20 | import_pods
21 | end
22 |
23 | target 'Discogs-swift' do
24 | import_pods
25 | end
26 |
27 |
--------------------------------------------------------------------------------
/Pods/ISO8601DateFormatterValueTransformer/Code/ISO8601DateFormatterValueTransformer.h:
--------------------------------------------------------------------------------
1 | //
2 | // ISO8601DateFormatterValueTransformer.h
3 | // RestKit
4 | //
5 | // Created by Blake Watters on 9/11/13.
6 | // Copyright (c) 2013 RestKit. All rights reserved.
7 | //
8 | // Licensed under the Apache License, Version 2.0 (the "License");
9 | // you may not use this file except in compliance with the License.
10 | // You may obtain a copy of the License at
11 | //
12 | // http://www.apache.org/licenses/LICENSE-2.0
13 | //
14 | // Unless required by applicable law or agreed to in writing, software
15 | // distributed under the License is distributed on an "AS IS" BASIS,
16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 | // See the License for the specific language governing permissions and
18 | // limitations under the License.
19 | //
20 |
21 | #import "RKValueTransformers.h"
22 | #import "RKISO8601DateFormatter.h"
23 |
24 | /**
25 | The `RKValueTransformers` category extends ISO8601DateFormatter to support the `RKValueTransforming` interface, making it usable with the RestKit value transformation architecture.
26 | */
27 | @interface RKISO8601DateFormatter (RKValueTransformers)
28 |
29 | /**
30 | Returns an ISO 8601 date formatter configured to strictly parse times into `NSDate` instances with the UTC time zone and `en_US_POSIX` locale.
31 | */
32 | + (instancetype)defaultISO8601DateFormatter;
33 |
34 | @end
35 |
--------------------------------------------------------------------------------
/Pods/ISO8601DateFormatterValueTransformer/README.md:
--------------------------------------------------------------------------------
1 | ISO8601DateFormatterValueTransformer
2 | ====================================
3 |
4 | A small Objective-C library that integrates Peter Hosey's [ISO8601DateFormatter](https://github.com/boredzo/iso-8601-date-formatter)
5 | with [RKValueTransformers](https://github.com/RestKit/RKValueTransformers).
6 |
7 | The implementation is done by adding `RKValueTransforming` conformance to the `ISO8601DateFormatter` via a category.
8 |
9 | ## Examples
10 |
11 | ### Usage
12 |
13 | Basic usage is identical to all other `RKValueTransforming` classes.
14 |
15 | ```objc
16 | #import "ISO8601DateValueTransformer.h"
17 |
18 | RKISO8601DateFormatter *dateFormatter = [RKISO8601DateFormatter defaultISO8601DateFormatter];
19 |
20 | // Transforming NSDate -> String
21 | NSString *dateString = nil;
22 | NSError *error = nil;
23 | BOOL success = [dateFormatter transformValue:[NSDate date] toValue:&dateString ofClass:[NSDate class] error:&error];
24 |
25 | // Transforming NSString -> NSDate
26 | NSDate *date = nil;
27 | success = [dateFormatter transformValue:@"2013-09-12T07:24:56-04:00" toValue:&dateString ofClass:[NSDate class] error:&error];
28 | ```
29 |
30 | ### Configuration as Default Date Transformer
31 |
32 | Adding the date formatter to the default value transformer at position 0 ensures that it is used ahead of all other `NSString` <-> `NSDate` value transformers.
33 |
34 | ```objc
35 | #import "ISO8601DateValueTransformer.h"
36 |
37 | RKISO8601DateFormatter *dateFormatter = [RKISO8601DateFormatter defaultISO8601DateFormatter];
38 | [[RKValueTransformer defaultValueTransformer] insertValueTransformer:dateFormatter atIndex:0];
39 | ```
40 |
41 | ## Credits
42 |
43 | Blake Watters
44 |
45 | - http://github.com/blakewatters
46 | - http://twitter.com/blakewatters
47 | - blakewatters@gmail.com
48 |
49 | ## License
50 |
51 | ISO8601DateFormatterValueTransformer is available under the Apache 2 License. See the LICENSE file for more info.
52 |
--------------------------------------------------------------------------------
/Pods/RestKit/Code/Network.h:
--------------------------------------------------------------------------------
1 | //
2 | // Network.h
3 | // RestKit
4 | //
5 | // Created by Blake Watters on 9/30/10.
6 | // Copyright (c) 2009-2012 RestKit. All rights reserved.
7 | //
8 | // Licensed under the Apache License, Version 2.0 (the "License");
9 | // you may not use this file except in compliance with the License.
10 | // You may obtain a copy of the License at
11 | //
12 | // http://www.apache.org/licenses/LICENSE-2.0
13 | //
14 | // Unless required by applicable law or agreed to in writing, software
15 | // distributed under the License is distributed on an "AS IS" BASIS,
16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 | // See the License for the specific language governing permissions and
18 | // limitations under the License.
19 | //
20 |
21 | #import "RKRoute.h"
22 | #import "RKRouteSet.h"
23 | #import "RKRouter.h"
24 | #import "RKRequestDescriptor.h"
25 | #import "RKResponseDescriptor.h"
26 | #import "RKObjectManager.h"
27 | #import "RKHTTPUtilities.h"
28 | #import "RKObjectRequestOperation.h"
29 | #import "RKObjectParameterization.h"
30 | #import "RKPathMatcher.h"
31 |
32 | #if __has_include("CoreData.h")
33 | #import "RKManagedObjectRequestOperation.h"
34 | #endif
35 |
--------------------------------------------------------------------------------
/Pods/RestKit/Code/ObjectMapping.h:
--------------------------------------------------------------------------------
1 | //
2 | // ObjectMapping.h
3 | // RestKit
4 | //
5 | // Created by Blake Watters on 9/30/10.
6 | // Copyright (c) 2009-2012 RestKit. All rights reserved.
7 | //
8 | // Licensed under the Apache License, Version 2.0 (the "License");
9 | // you may not use this file except in compliance with the License.
10 | // You may obtain a copy of the License at
11 | //
12 | // http://www.apache.org/licenses/LICENSE-2.0
13 | //
14 | // Unless required by applicable law or agreed to in writing, software
15 | // distributed under the License is distributed on an "AS IS" BASIS,
16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 | // See the License for the specific language governing permissions and
18 | // limitations under the License.
19 | //
20 |
21 | #import
22 |
23 | #import "RKObjectMapping.h"
24 | #import "RKAttributeMapping.h"
25 | #import "RKRelationshipMapping.h"
26 | #import "RKMappingResult.h"
27 | #import "RKMapperOperation.h"
28 | #import "RKDynamicMapping.h"
29 | #import "RKErrorMessage.h"
30 |
--------------------------------------------------------------------------------
/Pods/RestKit/Code/ObjectMapping/RKAttributeMapping.m:
--------------------------------------------------------------------------------
1 | //
2 | // RKAttributeMapping.m
3 | // RestKit
4 | //
5 | // Created by Blake Watters on 4/30/11.
6 | // Copyright (c) 2009-2012 RestKit. All rights reserved.
7 | //
8 | // Licensed under the Apache License, Version 2.0 (the "License");
9 | // you may not use this file except in compliance with the License.
10 | // You may obtain a copy of the License at
11 | //
12 | // http://www.apache.org/licenses/LICENSE-2.0
13 | //
14 | // Unless required by applicable law or agreed to in writing, software
15 | // distributed under the License is distributed on an "AS IS" BASIS,
16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 | // See the License for the specific language governing permissions and
18 | // limitations under the License.
19 | //
20 |
21 | #import "RKAttributeMapping.h"
22 |
23 | @interface RKPropertyMapping ()
24 | @property (nonatomic, copy, readwrite) NSString *sourceKeyPath;
25 | @property (nonatomic, copy, readwrite) NSString *destinationKeyPath;
26 | @end
27 |
28 | @implementation RKAttributeMapping
29 |
30 | + (instancetype)attributeMappingFromKeyPath:(NSString *)sourceKeyPath toKeyPath:(NSString *)destinationKeyPath
31 | {
32 | NSAssert(sourceKeyPath || destinationKeyPath, @"Both the source and destination key paths cannot be nil");
33 | RKAttributeMapping *attributeMapping = [self new];
34 | attributeMapping.sourceKeyPath = sourceKeyPath;
35 | attributeMapping.destinationKeyPath = destinationKeyPath;
36 | return attributeMapping;
37 | }
38 |
39 | @end
40 |
--------------------------------------------------------------------------------
/Pods/RestKit/Code/ObjectMapping/RKErrorMessage.h:
--------------------------------------------------------------------------------
1 | //
2 | // RKError.h
3 | // RestKit
4 | //
5 | // Created by Jeremy Ellison on 5/10/11.
6 | // Copyright (c) 2009-2012 RestKit. All rights reserved.
7 | //
8 | // Licensed under the Apache License, Version 2.0 (the "License");
9 | // you may not use this file except in compliance with the License.
10 | // You may obtain a copy of the License at
11 | //
12 | // http://www.apache.org/licenses/LICENSE-2.0
13 | //
14 | // Unless required by applicable law or agreed to in writing, software
15 | // distributed under the License is distributed on an "AS IS" BASIS,
16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 | // See the License for the specific language governing permissions and
18 | // limitations under the License.
19 | //
20 |
21 | #import
22 |
23 | /**
24 | The `RKErrorMessage` is a simple class used for representing error messages returned by a remote backend system with which the client application is communicating. Error messages are typically returned in a response body in the Client Error class (status code 4xx range).
25 |
26 | @see `RKErrorFromMappingResult`
27 | */
28 | @interface RKErrorMessage : NSObject
29 |
30 | ///-----------------------------------
31 | /// @name Accessing Errror Information
32 | ///-----------------------------------
33 |
34 | /**
35 | The error message to be presented to the user.
36 | */
37 | @property (nonatomic, copy) NSString *errorMessage;
38 |
39 | /**
40 | A dictionary of application specific information that accompanies the error message.
41 | */
42 | @property (nonatomic, copy) NSDictionary *userInfo;
43 |
44 | @end
45 |
--------------------------------------------------------------------------------
/Pods/RestKit/Code/ObjectMapping/RKErrorMessage.m:
--------------------------------------------------------------------------------
1 | //
2 | // RKError.m
3 | // RestKit
4 | //
5 | // Created by Jeremy Ellison on 5/10/11.
6 | // Copyright (c) 2009-2012 RestKit. All rights reserved.
7 | //
8 | // Licensed under the Apache License, Version 2.0 (the "License");
9 | // you may not use this file except in compliance with the License.
10 | // You may obtain a copy of the License at
11 | //
12 | // http://www.apache.org/licenses/LICENSE-2.0
13 | //
14 | // Unless required by applicable law or agreed to in writing, software
15 | // distributed under the License is distributed on an "AS IS" BASIS,
16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 | // See the License for the specific language governing permissions and
18 | // limitations under the License.
19 | //
20 |
21 | #import "RKErrorMessage.h"
22 |
23 | @implementation RKErrorMessage
24 |
25 | - (NSString *)description
26 | {
27 | return self.errorMessage;
28 | }
29 |
30 | @end
31 |
--------------------------------------------------------------------------------
/Pods/RestKit/Code/ObjectMapping/RKMapperOperation_Private.h:
--------------------------------------------------------------------------------
1 | //
2 | // RKMapperOperation_Private.h
3 | // RestKit
4 | //
5 | // Created by Blake Watters on 5/9/11.
6 | // Copyright (c) 2009-2012 RestKit. All rights reserved.
7 | //
8 | // Licensed under the Apache License, Version 2.0 (the "License");
9 | // you may not use this file except in compliance with the License.
10 | // You may obtain a copy of the License at
11 | //
12 | // http://www.apache.org/licenses/LICENSE-2.0
13 | //
14 | // Unless required by applicable law or agreed to in writing, software
15 | // distributed under the License is distributed on an "AS IS" BASIS,
16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 | // See the License for the specific language governing permissions and
18 | // limitations under the License.
19 | //
20 |
21 | @interface RKMapperOperation (Private)
22 |
23 | - (id)mapRepresentation:(id)mappableObject atKeyPath:(NSString *)keyPath usingMapping:(RKMapping *)mapping;
24 | - (NSArray *)mapRepresentations:(NSArray *)mappableObjects atKeyPath:(NSString *)keyPath usingMapping:(RKMapping *)mapping;
25 | - (BOOL)mapRepresentation:(id)mappableObject toObject:(id)destinationObject isNew:(BOOL)isNew atKeyPath:(NSString *)keyPath usingMapping:(RKMapping *)mapping metadataList:(NSArray *)metadata;
26 | - (id)objectForRepresentation:(id)representation withMapping:(RKMapping *)mapping;
27 |
28 | @end
29 |
--------------------------------------------------------------------------------
/Pods/RestKit/Code/ObjectMapping/RKMapping.m:
--------------------------------------------------------------------------------
1 | //
2 | // RKMapping.m
3 | // RestKit
4 | //
5 | // Created by Blake Watters on 2/15/12.
6 | // Copyright (c) 2009-2012 RestKit. All rights reserved.
7 | //
8 |
9 | #import "RKMapping.h"
10 |
11 | @implementation RKMapping
12 |
13 | @synthesize forceCollectionMapping;
14 |
15 | - (BOOL)isEqualToMapping:(RKMapping *)otherMapping
16 | {
17 | @throw [NSException exceptionWithName:NSInternalInconsistencyException
18 | reason:[NSString stringWithFormat:@"You must override %@ in a subclass", NSStringFromSelector(_cmd)]
19 | userInfo:nil];
20 | }
21 |
22 | @end
23 |
--------------------------------------------------------------------------------
/Pods/RestKit/Code/ObjectMapping/RKObjectMappingOperationDataSource.h:
--------------------------------------------------------------------------------
1 | //
2 | // RKObjectMappingOperationDataSource.h
3 | // RestKit
4 | //
5 | // Created by Blake Watters on 7/3/12.
6 | // Copyright (c) 2012 RestKit. All rights reserved.
7 | //
8 | // Licensed under the Apache License, Version 2.0 (the "License");
9 | // you may not use this file except in compliance with the License.
10 | // You may obtain a copy of the License at
11 | //
12 | // http://www.apache.org/licenses/LICENSE-2.0
13 | //
14 | // Unless required by applicable law or agreed to in writing, software
15 | // distributed under the License is distributed on an "AS IS" BASIS,
16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 | // See the License for the specific language governing permissions and
18 | // limitations under the License.
19 | //
20 |
21 | #import "RKMappingOperationDataSource.h"
22 |
23 | /**
24 | The `RKObjectMappingOperationDataSource` class is an implementation of the `RKMappingOperationDataSource` protocol for use in performing object mappings that target plain old `NSObject` derived classes (as opposed to `NSManagedObject` derived persistent entities).
25 | */
26 | @interface RKObjectMappingOperationDataSource : NSObject
27 | @end
28 |
--------------------------------------------------------------------------------
/Pods/RestKit/Code/ObjectMapping/RKObjectMappingOperationDataSource.m:
--------------------------------------------------------------------------------
1 | //
2 | // RKObjectMappingOperationDataSource.m
3 | // RestKit
4 | //
5 | // Created by Blake Watters on 7/3/12.
6 | // Copyright (c) 2012 RestKit. All rights reserved.
7 | //
8 | // Licensed under the Apache License, Version 2.0 (the "License");
9 | // you may not use this file except in compliance with the License.
10 | // You may obtain a copy of the License at
11 | //
12 | // http://www.apache.org/licenses/LICENSE-2.0
13 | //
14 | // Unless required by applicable law or agreed to in writing, software
15 | // distributed under the License is distributed on an "AS IS" BASIS,
16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 | // See the License for the specific language governing permissions and
18 | // limitations under the License.
19 | //
20 |
21 | #import "RKObjectMappingOperationDataSource.h"
22 | #import "RKObjectMapping.h"
23 | #import "RKMappingOperation.h"
24 |
25 | @implementation RKObjectMappingOperationDataSource
26 |
27 | - (id)mappingOperation:(RKMappingOperation *)mappingOperation targetObjectForRepresentation:(NSDictionary *)representation
28 | withMapping:(RKObjectMapping *)mapping inRelationship:(RKRelationshipMapping *)relationshipMapping
29 | {
30 | return [mapping.objectClass new];
31 | }
32 |
33 | - (id)mappingOperation:(RKMappingOperation *)mappingOperation targetObjectForMapping:(RKObjectMapping *)mapping inRelationship:(RKRelationshipMapping *)relationshipMapping
34 | {
35 | return [mapping.objectClass new];
36 | }
37 |
38 | - (BOOL)mappingOperationShouldCollectMappingInfo:(RKMappingOperation *)mappingOperation
39 | {
40 | return NO;
41 | }
42 |
43 | - (BOOL)mappingOperationShouldSetUnchangedValues:(RKMappingOperation *)mappingOperation
44 | {
45 | return [mappingOperation isNewDestinationObject];
46 | }
47 |
48 | @end
49 |
--------------------------------------------------------------------------------
/Pods/RestKit/Code/RestKit.h:
--------------------------------------------------------------------------------
1 | //
2 | // RestKit.h
3 | // RestKit
4 | //
5 | // Created by Blake Watters on 2/19/10.
6 | // Copyright (c) 2009-2012 RestKit. All rights reserved.
7 | //
8 | // Licensed under the Apache License, Version 2.0 (the "License");
9 | // you may not use this file except in compliance with the License.
10 | // You may obtain a copy of the License at
11 | //
12 | // http://www.apache.org/licenses/LICENSE-2.0
13 | //
14 | // Unless required by applicable law or agreed to in writing, software
15 | // distributed under the License is distributed on an "AS IS" BASIS,
16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 | // See the License for the specific language governing permissions and
18 | // limitations under the License.
19 | //
20 |
21 | #ifndef _RESTKIT_
22 | #define _RESTKIT_
23 |
24 | #if __has_include("ObjectMapping.h")
25 | #import "ObjectMapping.h"
26 | #endif
27 |
28 | #if __has_include("Network.h")
29 | #import "Network.h"
30 | #endif
31 |
32 | #if __has_include("Support.h")
33 | #import "Support.h"
34 | #endif
35 |
36 | #if __has_include("CoreData.h")
37 | #import "CoreData.h"
38 | #endif
39 |
40 | /**
41 | Set the App logging component. This header
42 | file is generally only imported by apps that
43 | are pulling in all of RestKit. By setting the
44 | log component to App here, we allow the app developer
45 | to use RKLog() in their own app.
46 | */
47 | #undef RKLogComponent
48 | #define RKLogComponent RKlcl_cApp
49 |
50 | #endif /* _RESTKIT_ */
51 |
--------------------------------------------------------------------------------
/Pods/RestKit/Code/Support.h:
--------------------------------------------------------------------------------
1 | //
2 | // Support.h
3 | // RestKit
4 | //
5 | // Created by Blake Watters on 9/30/10.
6 | // Copyright (c) 2009-2012 RestKit. All rights reserved.
7 | //
8 | // Licensed under the Apache License, Version 2.0 (the "License");
9 | // you may not use this file except in compliance with the License.
10 | // You may obtain a copy of the License at
11 | //
12 | // http://www.apache.org/licenses/LICENSE-2.0
13 | //
14 | // Unless required by applicable law or agreed to in writing, software
15 | // distributed under the License is distributed on an "AS IS" BASIS,
16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 | // See the License for the specific language governing permissions and
18 | // limitations under the License.
19 | //
20 |
21 | // Load shared support code
22 | #import "RKErrors.h"
23 | #import "RKMIMETypes.h"
24 | #import "RKLog.h"
25 | #import "RKDotNetDateFormatter.h"
26 | #import "RKPathUtilities.h"
27 | #import "RKDictionaryUtilities.h"
28 | #import "RKURLEncodedSerialization.h"
29 | #import "RKNSJSONSerialization.h"
30 | #import "RKMIMETypeSerialization.h"
31 | #import "RKStringTokenizer.h"
32 |
--------------------------------------------------------------------------------
/Pods/RestKit/Code/Support/RKBooleanClass.h:
--------------------------------------------------------------------------------
1 | //
2 | // RKBooleanClass.h
3 | // RestKit
4 | //
5 | // Created by Valerio Mazzeo on 18/07/17.
6 | // Copyright (c) 2017 RestKit. All rights reserved.
7 | //
8 | // Licensed under the Apache License, Version 2.0 (the "License");
9 | // you may not use this file except in compliance with the License.
10 | // You may obtain a copy of the License at
11 | //
12 | // http://www.apache.org/licenses/LICENSE-2.0
13 | //
14 | // Unless required by applicable law or agreed to in writing, software
15 | // distributed under the License is distributed on an "AS IS" BASIS,
16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 | // See the License for the specific language governing permissions and
18 | // limitations under the License.
19 | //
20 |
21 | #import
22 |
23 | #define RK_BOOLEAN_CLASS [@YES class]
24 |
--------------------------------------------------------------------------------
/Pods/RestKit/Code/Support/RKDictionaryUtilities.m:
--------------------------------------------------------------------------------
1 | //
2 | // RKDictionaryUtilities.m
3 | // RestKit
4 | //
5 | // Created by Blake Watters on 9/11/12.
6 | // Copyright (c) 2012 RestKit. All rights reserved.
7 | //
8 |
9 | #import "RKDictionaryUtilities.h"
10 |
11 | NSDictionary *RKDictionaryByMergingDictionaryWithDictionary(NSDictionary *dict1, NSDictionary *dict2)
12 | {
13 | if (! dict1) return dict2;
14 | if (! dict2) return dict1;
15 |
16 | NSMutableDictionary *mergedDictionary = [dict1 mutableCopy];
17 |
18 | for (id key2 in dict2) {
19 | id obj2 = dict2[key2];
20 | id obj1 = dict1[key2];
21 | if ([obj1 isKindOfClass:[NSDictionary class]] && [obj2 isKindOfClass:[NSDictionary class]]) {
22 | NSDictionary *mergedSubdict = RKDictionaryByMergingDictionaryWithDictionary(obj1, obj2);
23 | mergedDictionary[key2] = mergedSubdict;
24 | } else {
25 | mergedDictionary[key2] = obj2;
26 | }
27 | }
28 |
29 | return mergedDictionary;
30 | }
31 |
32 | NSDictionary *RKDictionaryByReplacingPercentEscapesInEntriesFromDictionary(NSDictionary *dictionary)
33 | {
34 | NSMutableDictionary *results = [NSMutableDictionary dictionaryWithCapacity:[dictionary count]];
35 | [dictionary enumerateKeysAndObjectsUsingBlock:^(id key, id value, BOOL *stop)
36 | {
37 | NSString *escapedKey = [key stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding];
38 | id escapedValue = value;
39 | if ([value respondsToSelector:@selector(stringByReplacingPercentEscapesUsingEncoding:)])
40 | escapedValue = [value stringByReplacingPercentEscapesUsingEncoding:NSUTF8StringEncoding];
41 | results[escapedKey] = escapedValue;
42 | }];
43 | return results;
44 | }
45 |
--------------------------------------------------------------------------------
/Pods/RestKit/Code/Support/RKErrors.m:
--------------------------------------------------------------------------------
1 | //
2 | // RKErrors.m
3 | // RestKit
4 | //
5 | // Created by Blake Watters on 3/25/10.
6 | // Copyright (c) 2009-2012 RestKit. All rights reserved.
7 | //
8 | // Licensed under the Apache License, Version 2.0 (the "License");
9 | // you may not use this file except in compliance with the License.
10 | // You may obtain a copy of the License at
11 | //
12 | // http://www.apache.org/licenses/LICENSE-2.0
13 | //
14 | // Unless required by applicable law or agreed to in writing, software
15 | // distributed under the License is distributed on an "AS IS" BASIS,
16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 | // See the License for the specific language governing permissions and
18 | // limitations under the License.
19 | //
20 |
21 | #import "RKErrors.h"
22 |
23 | NSString * const RKErrorDomain = @"org.restkit.RestKit.ErrorDomain";
24 |
25 | NSString * const RKObjectMapperErrorObjectsKey = @"RKObjectMapperErrorObjectsKey";
26 | NSString * const RKErrorNotificationErrorKey = @"error";
27 | NSString * const RKDetailedErrorsKey = @"DetailedErrors";
28 | NSString * const RKMIMETypeErrorKey = @"MIME Type";
29 |
--------------------------------------------------------------------------------
/Pods/RestKit/Code/Support/RKMIMETypes.h:
--------------------------------------------------------------------------------
1 | //
2 | // RKMIMETypes.h
3 | // RestKit
4 | //
5 | // Created by Blake Watters on 5/18/11.
6 | // Copyright (c) 2009-2012 RestKit. All rights reserved.
7 | //
8 | // Licensed under the Apache License, Version 2.0 (the "License");
9 | // you may not use this file except in compliance with the License.
10 | // You may obtain a copy of the License at
11 | //
12 | // http://www.apache.org/licenses/LICENSE-2.0
13 | //
14 | // Unless required by applicable law or agreed to in writing, software
15 | // distributed under the License is distributed on an "AS IS" BASIS,
16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 | // See the License for the specific language governing permissions and
18 | // limitations under the License.
19 | //
20 |
21 | #import
22 |
23 | #ifdef __cplusplus
24 | extern "C" {
25 | #endif
26 |
27 | /**
28 | MIME Type Constants
29 | */
30 |
31 | /// MIME Type application/json
32 | extern NSString * const RKMIMETypeJSON;
33 |
34 | /// MIME Type application/x-www-form-urlencoded
35 | extern NSString * const RKMIMETypeFormURLEncoded;
36 |
37 | /// MIME Type application/xml
38 | extern NSString * const RKMIMETypeXML;
39 |
40 | /// MIME Type text/xml
41 | extern NSString * const RKMIMETypeTextXML;
42 |
43 | /**
44 | Returns `YES` if the given MIME Type matches any MIME Type identifiers in the given set.
45 |
46 | @param MIMEType The MIME Type to evaluate the match for.
47 | @param MIMETypes An `NSSet` object who entries are `NSString` or `NSRegularExpression` objects specifying MIME Types.
48 | @return `YES` if the given MIME Type matches any identifier in the set, else `NO`.
49 | */
50 | BOOL RKMIMETypeInSet(NSString *MIMEType, NSSet *MIMETypes);
51 |
52 | #ifdef __cplusplus
53 | }
54 | #endif
55 |
--------------------------------------------------------------------------------
/Pods/RestKit/Code/Support/RKNSJSONSerialization.h:
--------------------------------------------------------------------------------
1 | //
2 | // RKNSJSONSerialization.h
3 | // RestKit
4 | //
5 | // Created by Blake Watters on 8/31/12.
6 | // Copyright (c) 2012 RestKit. All rights reserved.
7 | //
8 | // Licensed under the Apache License, Version 2.0 (the "License");
9 | // you may not use this file except in compliance with the License.
10 | // You may obtain a copy of the License at
11 | //
12 | // http://www.apache.org/licenses/LICENSE-2.0
13 | //
14 | // Unless required by applicable law or agreed to in writing, software
15 | // distributed under the License is distributed on an "AS IS" BASIS,
16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 | // See the License for the specific language governing permissions and
18 | // limitations under the License.
19 | //
20 |
21 | #import "RKSerialization.h"
22 |
23 | /**
24 | The `RKNSJSONSerialization` class conforms to the `RKSerialization` protocol and provides support for the serialization and deserialization of data in the JSON format using the Apple provided `NSJSONSerialization` class. This is the default JSON implementation for RestKit.
25 |
26 | @see http://www.json.org/
27 | */
28 | @interface RKNSJSONSerialization : NSObject
29 | @end
30 |
--------------------------------------------------------------------------------
/Pods/RestKit/Code/Support/RKNSJSONSerialization.m:
--------------------------------------------------------------------------------
1 | //
2 | // RKNSJSONSerialization.m
3 | // RestKit
4 | //
5 | // Created by Blake Watters on 8/31/12.
6 | // Copyright (c) 2012 RestKit. All rights reserved.
7 | //
8 | // Licensed under the Apache License, Version 2.0 (the "License");
9 | // you may not use this file except in compliance with the License.
10 | // You may obtain a copy of the License at
11 | //
12 | // http://www.apache.org/licenses/LICENSE-2.0
13 | //
14 | // Unless required by applicable law or agreed to in writing, software
15 | // distributed under the License is distributed on an "AS IS" BASIS,
16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 | // See the License for the specific language governing permissions and
18 | // limitations under the License.
19 | //
20 |
21 | #import "RKNSJSONSerialization.h"
22 |
23 | @implementation RKNSJSONSerialization
24 |
25 | + (id)objectFromData:(NSData *)data error:(NSError **)error
26 | {
27 | return [NSJSONSerialization JSONObjectWithData:data options:0 error:error];
28 | }
29 |
30 | + (NSData *)dataFromObject:(id)object error:(NSError **)error
31 | {
32 | return [NSJSONSerialization dataWithJSONObject:object options:0 error:error];
33 | }
34 |
35 | @end
36 |
--------------------------------------------------------------------------------
/Pods/RestKit/Code/Support/RKStringTokenizer.m:
--------------------------------------------------------------------------------
1 | //
2 | // RKStringTokenizer.m
3 | // RestKit
4 | //
5 | // Created by Blake Watters on 7/30/12.
6 | // Copyright (c) 2012 RestKit. All rights reserved.
7 | //
8 |
9 | #import "RKStringTokenizer.h"
10 |
11 | @implementation RKStringTokenizer
12 |
13 | - (NSSet *)tokenize:(NSString *)string
14 | {
15 | NSMutableSet *tokens = [NSMutableSet set];
16 |
17 | CFLocaleRef locale = CFLocaleCopyCurrent();
18 |
19 | // Remove diacratics and lowercase our input text
20 | NSString *tokenizeText = string = [string stringByFoldingWithOptions:kCFCompareCaseInsensitive|kCFCompareDiacriticInsensitive locale:[NSLocale systemLocale]];
21 | CFStringTokenizerRef tokenizer = CFStringTokenizerCreate(kCFAllocatorDefault, (__bridge CFStringRef)tokenizeText, CFRangeMake(0, CFStringGetLength((__bridge CFStringRef)tokenizeText)), kCFStringTokenizerUnitWord, locale);
22 | CFStringTokenizerTokenType tokenType = kCFStringTokenizerTokenNone;
23 |
24 | while (kCFStringTokenizerTokenNone != (tokenType = CFStringTokenizerAdvanceToNextToken(tokenizer))) {
25 | CFRange tokenRange = CFStringTokenizerGetCurrentTokenRange(tokenizer);
26 |
27 | NSRange range = NSMakeRange(tokenRange.location, tokenRange.length);
28 | NSString *token = [string substringWithRange:range];
29 |
30 | [tokens addObject:token];
31 | }
32 |
33 | CFRelease(tokenizer);
34 | CFRelease(locale);
35 |
36 | // Remove any stop words
37 | if (self.stopWords) [tokens minusSet:self.stopWords];
38 |
39 | return tokens;
40 | }
41 |
42 | @end
43 |
--------------------------------------------------------------------------------
/Pods/RestKit/Code/Support/lcl_config_extensions_RK.h:
--------------------------------------------------------------------------------
1 | //
2 | // lcl_config_extensions_RK.h
3 | // RestKit
4 | //
5 | // Created by Blake Watters on 6/8/11.
6 | // Copyright (c) 2009-2012 RestKit. All rights reserved.
7 | //
8 | // Licensed under the Apache License, Version 2.0 (the "License");
9 | // you may not use this file except in compliance with the License.
10 | // You may obtain a copy of the License at
11 | //
12 | // http://www.apache.org/licenses/LICENSE-2.0
13 | //
14 | // Unless required by applicable law or agreed to in writing, software
15 | // distributed under the License is distributed on an "AS IS" BASIS,
16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 | // See the License for the specific language governing permissions and
18 | // limitations under the License.
19 | //
20 |
21 |
--------------------------------------------------------------------------------
/Pods/RestKit/Code/Testing.h:
--------------------------------------------------------------------------------
1 | //
2 | // Testing.h
3 | // RestKit
4 | //
5 | // Created by Blake Watters on 2/1/12.
6 | // Copyright (c) 2009-2012 RestKit. All rights reserved.
7 | //
8 | // Licensed under the Apache License, Version 2.0 (the "License");
9 | // you may not use this file except in compliance with the License.
10 | // You may obtain a copy of the License at
11 | //
12 | // http://www.apache.org/licenses/LICENSE-2.0
13 | //
14 | // Unless required by applicable law or agreed to in writing, software
15 | // distributed under the License is distributed on an "AS IS" BASIS,
16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 | // See the License for the specific language governing permissions and
18 | // limitations under the License.
19 | //
20 |
21 |
22 | #import "RKTestFixture.h"
23 | #import "RKTestNotificationObserver.h"
24 | #import "RKTestFactory.h"
25 | #import "RKTestHelpers.h"
26 | #import "RKMappingTest.h"
27 |
28 | #if __has_include("CoreData.h")
29 | #import "RKConnectionTestExpectation.h"
30 | #endif
31 |
32 |
--------------------------------------------------------------------------------
/Pods/RestKit/Code/Testing/RKTestConstants.m:
--------------------------------------------------------------------------------
1 | //
2 | // RKTestConstants.m
3 | // RestKit
4 | //
5 | // Created by Blake Watters on 5/4/12.
6 | // Copyright (c) 2012 RestKit. All rights reserved.
7 | //
8 | // Licensed under the Apache License, Version 2.0 (the "License");
9 | // you may not use this file except in compliance with the License.
10 | // You may obtain a copy of the License at
11 | //
12 | // http://www.apache.org/licenses/LICENSE-2.0
13 | //
14 | // Unless required by applicable law or agreed to in writing, software
15 | // distributed under the License is distributed on an "AS IS" BASIS,
16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 | // See the License for the specific language governing permissions and
18 | // limitations under the License.
19 | //
20 |
21 | #import
22 |
23 | /*
24 | This file defines constants used by the Testing module. It is necessary due to strange
25 | linking errors when building for the Device. When these constants were defined within
26 | RKTestFactory.m, they would resolve on the Simulator but produce linker when building
27 | for Device. [sbw - 05/04/2012]
28 | */
29 | NSString * const RKTestFactoryDefaultNamesClient = @"client";
30 | NSString * const RKTestFactoryDefaultNamesObjectManager = @"objectManager";
31 | NSString * const RKTestFactoryDefaultNamesManagedObjectStore = @"managedObjectStore";
32 | NSString * const RKTestFactoryDefaultStoreFilename = @"RKTests.sqlite";
33 |
--------------------------------------------------------------------------------
/Pods/Target Support Files/DiscogsAPI/DiscogsAPI-dummy.m:
--------------------------------------------------------------------------------
1 | #import
2 | @interface PodsDummy_DiscogsAPI : NSObject
3 | @end
4 | @implementation PodsDummy_DiscogsAPI
5 | @end
6 |
--------------------------------------------------------------------------------
/Pods/Target Support Files/DiscogsAPI/DiscogsAPI-prefix.pch:
--------------------------------------------------------------------------------
1 | #ifdef __OBJC__
2 | #import
3 | #else
4 | #ifndef FOUNDATION_EXPORT
5 | #if defined(__cplusplus)
6 | #define FOUNDATION_EXPORT extern "C"
7 | #else
8 | #define FOUNDATION_EXPORT extern
9 | #endif
10 | #endif
11 | #endif
12 |
13 | #import
14 | #import
15 | #import
16 | #import
17 |
--------------------------------------------------------------------------------
/Pods/Target Support Files/DiscogsAPI/DiscogsAPI-umbrella.h:
--------------------------------------------------------------------------------
1 | #ifdef __OBJC__
2 | #import
3 | #else
4 | #ifndef FOUNDATION_EXPORT
5 | #if defined(__cplusplus)
6 | #define FOUNDATION_EXPORT extern "C"
7 | #else
8 | #define FOUNDATION_EXPORT extern
9 | #endif
10 | #endif
11 | #endif
12 |
13 | #import "DiscogsAPI.h"
14 | #import "DGAuthentication.h"
15 | #import "DGIdentity.h"
16 | #import "DGEndpoint.h"
17 | #import "DGObject.h"
18 | #import "DGDatabase.h"
19 | #import "DGRelease.h"
20 | #import "DGArtist.h"
21 | #import "DGArtistRelease.h"
22 | #import "DGMember.h"
23 | #import "DGCompany.h"
24 | #import "DGLabel.h"
25 | #import "DGLabelRelease.h"
26 | #import "DGMaster.h"
27 | #import "DGMasterVersion.h"
28 | #import "DGSearch.h"
29 | #import "DGCommunity.h"
30 | #import "DGFormat.h"
31 | #import "DGIdentifier.h"
32 | #import "DGImage.h"
33 | #import "DGTrack.h"
34 | #import "DGVideo.h"
35 | #import "DGMarketplace.h"
36 | #import "DGPrice.h"
37 | #import "DGInventory.h"
38 | #import "DGListing.h"
39 | #import "DGOrder.h"
40 | #import "DGPagination.h"
41 | #import "DGResource.h"
42 | #import "DGUser.h"
43 | #import "DGProfile.h"
44 | #import "DGCollection.h"
45 | #import "DGCollectionField.h"
46 | #import "DGCollectionFieldInstance.h"
47 | #import "DGCollectionFolder.h"
48 | #import "DGReleaseInstance.h"
49 | #import "DGWantlist.h"
50 |
51 | FOUNDATION_EXPORT double DiscogsAPIVersionNumber;
52 | FOUNDATION_EXPORT const unsigned char DiscogsAPIVersionString[];
53 |
54 |
--------------------------------------------------------------------------------
/Pods/Target Support Files/DiscogsAPI/DiscogsAPI.modulemap:
--------------------------------------------------------------------------------
1 | framework module DiscogsAPI {
2 | umbrella header "DiscogsAPI-umbrella.h"
3 |
4 | export *
5 | module * { export * }
6 | }
7 |
--------------------------------------------------------------------------------
/Pods/Target Support Files/DiscogsAPI/DiscogsAPI.xcconfig:
--------------------------------------------------------------------------------
1 | CONFIGURATION_BUILD_DIR = $PODS_CONFIGURATION_BUILD_DIR/DiscogsAPI
2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/ISO8601DateFormatterValueTransformer" "$PODS_CONFIGURATION_BUILD_DIR/RKValueTransformers" "$PODS_CONFIGURATION_BUILD_DIR/RestKit-Network-ObjectMapping-Support" "$PODS_CONFIGURATION_BUILD_DIR/SOCKit" "$PODS_CONFIGURATION_BUILD_DIR/TransitionKit"
3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
4 | HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Public"
5 | OTHER_LDFLAGS = -framework "CFNetwork" -framework "MobileCoreServices" -framework "SystemConfiguration"
6 | PODS_BUILD_DIR = $BUILD_DIR
7 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
8 | PODS_ROOT = ${SRCROOT}
9 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/..
10 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier}
11 | SKIP_INSTALL = YES
12 |
--------------------------------------------------------------------------------
/Pods/Target Support Files/DiscogsAPI/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | ${EXECUTABLE_NAME}
9 | CFBundleIdentifier
10 | ${PRODUCT_BUNDLE_IDENTIFIER}
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | ${PRODUCT_NAME}
15 | CFBundlePackageType
16 | FMWK
17 | CFBundleShortVersionString
18 | 1.7.1
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | ${CURRENT_PROJECT_VERSION}
23 | NSPrincipalClass
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/Pods/Target Support Files/ISO8601DateFormatterValueTransformer/ISO8601DateFormatterValueTransformer-dummy.m:
--------------------------------------------------------------------------------
1 | #import
2 | @interface PodsDummy_ISO8601DateFormatterValueTransformer : NSObject
3 | @end
4 | @implementation PodsDummy_ISO8601DateFormatterValueTransformer
5 | @end
6 |
--------------------------------------------------------------------------------
/Pods/Target Support Files/ISO8601DateFormatterValueTransformer/ISO8601DateFormatterValueTransformer-prefix.pch:
--------------------------------------------------------------------------------
1 | #ifdef __OBJC__
2 | #import
3 | #else
4 | #ifndef FOUNDATION_EXPORT
5 | #if defined(__cplusplus)
6 | #define FOUNDATION_EXPORT extern "C"
7 | #else
8 | #define FOUNDATION_EXPORT extern
9 | #endif
10 | #endif
11 | #endif
12 |
13 |
--------------------------------------------------------------------------------
/Pods/Target Support Files/ISO8601DateFormatterValueTransformer/ISO8601DateFormatterValueTransformer-umbrella.h:
--------------------------------------------------------------------------------
1 | #ifdef __OBJC__
2 | #import
3 | #else
4 | #ifndef FOUNDATION_EXPORT
5 | #if defined(__cplusplus)
6 | #define FOUNDATION_EXPORT extern "C"
7 | #else
8 | #define FOUNDATION_EXPORT extern
9 | #endif
10 | #endif
11 | #endif
12 |
13 | #import "ISO8601DateFormatterValueTransformer.h"
14 | #import "RKISO8601DateFormatter.h"
15 |
16 | FOUNDATION_EXPORT double ISO8601DateFormatterValueTransformerVersionNumber;
17 | FOUNDATION_EXPORT const unsigned char ISO8601DateFormatterValueTransformerVersionString[];
18 |
19 |
--------------------------------------------------------------------------------
/Pods/Target Support Files/ISO8601DateFormatterValueTransformer/ISO8601DateFormatterValueTransformer.modulemap:
--------------------------------------------------------------------------------
1 | framework module ISO8601DateFormatterValueTransformer {
2 | umbrella header "ISO8601DateFormatterValueTransformer-umbrella.h"
3 |
4 | export *
5 | module * { export * }
6 | }
7 |
--------------------------------------------------------------------------------
/Pods/Target Support Files/ISO8601DateFormatterValueTransformer/ISO8601DateFormatterValueTransformer.xcconfig:
--------------------------------------------------------------------------------
1 | CONFIGURATION_BUILD_DIR = $PODS_CONFIGURATION_BUILD_DIR/ISO8601DateFormatterValueTransformer
2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/RKValueTransformers"
3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
4 | HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Public"
5 | PODS_BUILD_DIR = $BUILD_DIR
6 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
7 | PODS_ROOT = ${SRCROOT}
8 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/ISO8601DateFormatterValueTransformer
9 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier}
10 | SKIP_INSTALL = YES
11 |
--------------------------------------------------------------------------------
/Pods/Target Support Files/ISO8601DateFormatterValueTransformer/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | ${EXECUTABLE_NAME}
9 | CFBundleIdentifier
10 | ${PRODUCT_BUNDLE_IDENTIFIER}
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | ${PRODUCT_NAME}
15 | CFBundlePackageType
16 | FMWK
17 | CFBundleShortVersionString
18 | 0.6.1
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | ${CURRENT_PROJECT_VERSION}
23 | NSPrincipalClass
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/Pods/Target Support Files/Pods-Discogs-objc/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | ${EXECUTABLE_NAME}
9 | CFBundleIdentifier
10 | ${PRODUCT_BUNDLE_IDENTIFIER}
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | ${PRODUCT_NAME}
15 | CFBundlePackageType
16 | FMWK
17 | CFBundleShortVersionString
18 | 1.0.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | ${CURRENT_PROJECT_VERSION}
23 | NSPrincipalClass
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/Pods/Target Support Files/Pods-Discogs-objc/Pods-Discogs-objc-dummy.m:
--------------------------------------------------------------------------------
1 | #import
2 | @interface PodsDummy_Pods_Discogs_objc : NSObject
3 | @end
4 | @implementation PodsDummy_Pods_Discogs_objc
5 | @end
6 |
--------------------------------------------------------------------------------
/Pods/Target Support Files/Pods-Discogs-objc/Pods-Discogs-objc-umbrella.h:
--------------------------------------------------------------------------------
1 | #ifdef __OBJC__
2 | #import
3 | #else
4 | #ifndef FOUNDATION_EXPORT
5 | #if defined(__cplusplus)
6 | #define FOUNDATION_EXPORT extern "C"
7 | #else
8 | #define FOUNDATION_EXPORT extern
9 | #endif
10 | #endif
11 | #endif
12 |
13 |
14 | FOUNDATION_EXPORT double Pods_Discogs_objcVersionNumber;
15 | FOUNDATION_EXPORT const unsigned char Pods_Discogs_objcVersionString[];
16 |
17 |
--------------------------------------------------------------------------------
/Pods/Target Support Files/Pods-Discogs-objc/Pods-Discogs-objc.debug.xcconfig:
--------------------------------------------------------------------------------
1 | FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/DiscogsAPI" "$PODS_CONFIGURATION_BUILD_DIR/ISO8601DateFormatterValueTransformer" "$PODS_CONFIGURATION_BUILD_DIR/RKValueTransformers" "$PODS_CONFIGURATION_BUILD_DIR/RestKit-Network-ObjectMapping-Support" "$PODS_CONFIGURATION_BUILD_DIR/SOCKit" "$PODS_CONFIGURATION_BUILD_DIR/TransitionKit"
2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
3 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks'
4 | OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/DiscogsAPI/DiscogsAPI.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/ISO8601DateFormatterValueTransformer/ISO8601DateFormatterValueTransformer.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/RKValueTransformers/RKValueTransformers.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/RestKit-Network-ObjectMapping-Support/RestKit.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/SOCKit/SOCKit.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/TransitionKit/TransitionKit.framework/Headers"
5 | OTHER_LDFLAGS = $(inherited) -framework "DiscogsAPI" -framework "ISO8601DateFormatterValueTransformer" -framework "RKValueTransformers" -framework "RestKit" -framework "SOCKit" -framework "TransitionKit"
6 | PODS_BUILD_DIR = $BUILD_DIR
7 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
8 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/.
9 | PODS_ROOT = ${SRCROOT}/Pods
10 |
--------------------------------------------------------------------------------
/Pods/Target Support Files/Pods-Discogs-objc/Pods-Discogs-objc.modulemap:
--------------------------------------------------------------------------------
1 | framework module Pods_Discogs_objc {
2 | umbrella header "Pods-Discogs-objc-umbrella.h"
3 |
4 | export *
5 | module * { export * }
6 | }
7 |
--------------------------------------------------------------------------------
/Pods/Target Support Files/Pods-Discogs-objc/Pods-Discogs-objc.release.xcconfig:
--------------------------------------------------------------------------------
1 | FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/DiscogsAPI" "$PODS_CONFIGURATION_BUILD_DIR/ISO8601DateFormatterValueTransformer" "$PODS_CONFIGURATION_BUILD_DIR/RKValueTransformers" "$PODS_CONFIGURATION_BUILD_DIR/RestKit-Network-ObjectMapping-Support" "$PODS_CONFIGURATION_BUILD_DIR/SOCKit" "$PODS_CONFIGURATION_BUILD_DIR/TransitionKit"
2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
3 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks'
4 | OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/DiscogsAPI/DiscogsAPI.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/ISO8601DateFormatterValueTransformer/ISO8601DateFormatterValueTransformer.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/RKValueTransformers/RKValueTransformers.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/RestKit-Network-ObjectMapping-Support/RestKit.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/SOCKit/SOCKit.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/TransitionKit/TransitionKit.framework/Headers"
5 | OTHER_LDFLAGS = $(inherited) -framework "DiscogsAPI" -framework "ISO8601DateFormatterValueTransformer" -framework "RKValueTransformers" -framework "RestKit" -framework "SOCKit" -framework "TransitionKit"
6 | PODS_BUILD_DIR = $BUILD_DIR
7 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
8 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/.
9 | PODS_ROOT = ${SRCROOT}/Pods
10 |
--------------------------------------------------------------------------------
/Pods/Target Support Files/Pods-Discogs-swift/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | ${EXECUTABLE_NAME}
9 | CFBundleIdentifier
10 | ${PRODUCT_BUNDLE_IDENTIFIER}
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | ${PRODUCT_NAME}
15 | CFBundlePackageType
16 | FMWK
17 | CFBundleShortVersionString
18 | 1.0.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | ${CURRENT_PROJECT_VERSION}
23 | NSPrincipalClass
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/Pods/Target Support Files/Pods-Discogs-swift/Pods-Discogs-swift-dummy.m:
--------------------------------------------------------------------------------
1 | #import
2 | @interface PodsDummy_Pods_Discogs_swift : NSObject
3 | @end
4 | @implementation PodsDummy_Pods_Discogs_swift
5 | @end
6 |
--------------------------------------------------------------------------------
/Pods/Target Support Files/Pods-Discogs-swift/Pods-Discogs-swift-umbrella.h:
--------------------------------------------------------------------------------
1 | #ifdef __OBJC__
2 | #import
3 | #else
4 | #ifndef FOUNDATION_EXPORT
5 | #if defined(__cplusplus)
6 | #define FOUNDATION_EXPORT extern "C"
7 | #else
8 | #define FOUNDATION_EXPORT extern
9 | #endif
10 | #endif
11 | #endif
12 |
13 |
14 | FOUNDATION_EXPORT double Pods_Discogs_swiftVersionNumber;
15 | FOUNDATION_EXPORT const unsigned char Pods_Discogs_swiftVersionString[];
16 |
17 |
--------------------------------------------------------------------------------
/Pods/Target Support Files/Pods-Discogs-swift/Pods-Discogs-swift.debug.xcconfig:
--------------------------------------------------------------------------------
1 | FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/DiscogsAPI" "$PODS_CONFIGURATION_BUILD_DIR/ISO8601DateFormatterValueTransformer" "$PODS_CONFIGURATION_BUILD_DIR/RKValueTransformers" "$PODS_CONFIGURATION_BUILD_DIR/RestKit-Network-ObjectMapping-Support" "$PODS_CONFIGURATION_BUILD_DIR/SOCKit" "$PODS_CONFIGURATION_BUILD_DIR/TransitionKit"
2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
3 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks'
4 | OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/DiscogsAPI/DiscogsAPI.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/ISO8601DateFormatterValueTransformer/ISO8601DateFormatterValueTransformer.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/RKValueTransformers/RKValueTransformers.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/RestKit-Network-ObjectMapping-Support/RestKit.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/SOCKit/SOCKit.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/TransitionKit/TransitionKit.framework/Headers"
5 | OTHER_LDFLAGS = $(inherited) -framework "DiscogsAPI" -framework "ISO8601DateFormatterValueTransformer" -framework "RKValueTransformers" -framework "RestKit" -framework "SOCKit" -framework "TransitionKit"
6 | PODS_BUILD_DIR = $BUILD_DIR
7 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
8 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/.
9 | PODS_ROOT = ${SRCROOT}/Pods
10 |
--------------------------------------------------------------------------------
/Pods/Target Support Files/Pods-Discogs-swift/Pods-Discogs-swift.modulemap:
--------------------------------------------------------------------------------
1 | framework module Pods_Discogs_swift {
2 | umbrella header "Pods-Discogs-swift-umbrella.h"
3 |
4 | export *
5 | module * { export * }
6 | }
7 |
--------------------------------------------------------------------------------
/Pods/Target Support Files/Pods-Discogs-swift/Pods-Discogs-swift.release.xcconfig:
--------------------------------------------------------------------------------
1 | FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/DiscogsAPI" "$PODS_CONFIGURATION_BUILD_DIR/ISO8601DateFormatterValueTransformer" "$PODS_CONFIGURATION_BUILD_DIR/RKValueTransformers" "$PODS_CONFIGURATION_BUILD_DIR/RestKit-Network-ObjectMapping-Support" "$PODS_CONFIGURATION_BUILD_DIR/SOCKit" "$PODS_CONFIGURATION_BUILD_DIR/TransitionKit"
2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
3 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks'
4 | OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/DiscogsAPI/DiscogsAPI.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/ISO8601DateFormatterValueTransformer/ISO8601DateFormatterValueTransformer.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/RKValueTransformers/RKValueTransformers.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/RestKit-Network-ObjectMapping-Support/RestKit.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/SOCKit/SOCKit.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/TransitionKit/TransitionKit.framework/Headers"
5 | OTHER_LDFLAGS = $(inherited) -framework "DiscogsAPI" -framework "ISO8601DateFormatterValueTransformer" -framework "RKValueTransformers" -framework "RestKit" -framework "SOCKit" -framework "TransitionKit"
6 | PODS_BUILD_DIR = $BUILD_DIR
7 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
8 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/.
9 | PODS_ROOT = ${SRCROOT}/Pods
10 |
--------------------------------------------------------------------------------
/Pods/Target Support Files/Pods-DiscogsAPI/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | ${EXECUTABLE_NAME}
9 | CFBundleIdentifier
10 | ${PRODUCT_BUNDLE_IDENTIFIER}
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | ${PRODUCT_NAME}
15 | CFBundlePackageType
16 | FMWK
17 | CFBundleShortVersionString
18 | 1.0.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | ${CURRENT_PROJECT_VERSION}
23 | NSPrincipalClass
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/Pods/Target Support Files/Pods-DiscogsAPI/Pods-DiscogsAPI-dummy.m:
--------------------------------------------------------------------------------
1 | #import
2 | @interface PodsDummy_Pods_DiscogsAPI : NSObject
3 | @end
4 | @implementation PodsDummy_Pods_DiscogsAPI
5 | @end
6 |
--------------------------------------------------------------------------------
/Pods/Target Support Files/Pods-DiscogsAPI/Pods-DiscogsAPI-umbrella.h:
--------------------------------------------------------------------------------
1 | #ifdef __OBJC__
2 | #import
3 | #else
4 | #ifndef FOUNDATION_EXPORT
5 | #if defined(__cplusplus)
6 | #define FOUNDATION_EXPORT extern "C"
7 | #else
8 | #define FOUNDATION_EXPORT extern
9 | #endif
10 | #endif
11 | #endif
12 |
13 |
14 | FOUNDATION_EXPORT double Pods_DiscogsAPIVersionNumber;
15 | FOUNDATION_EXPORT const unsigned char Pods_DiscogsAPIVersionString[];
16 |
17 |
--------------------------------------------------------------------------------
/Pods/Target Support Files/Pods-DiscogsAPI/Pods-DiscogsAPI.debug.xcconfig:
--------------------------------------------------------------------------------
1 | FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/ISO8601DateFormatterValueTransformer" "$PODS_CONFIGURATION_BUILD_DIR/RKValueTransformers" "$PODS_CONFIGURATION_BUILD_DIR/RestKit-Network-ObjectMapping-Support" "$PODS_CONFIGURATION_BUILD_DIR/SOCKit" "$PODS_CONFIGURATION_BUILD_DIR/TransitionKit"
2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
3 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' '@executable_path/../../Frameworks'
4 | OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/ISO8601DateFormatterValueTransformer/ISO8601DateFormatterValueTransformer.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/RKValueTransformers/RKValueTransformers.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/RestKit-Network-ObjectMapping-Support/RestKit.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/SOCKit/SOCKit.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/TransitionKit/TransitionKit.framework/Headers"
5 | OTHER_LDFLAGS = $(inherited) -framework "ISO8601DateFormatterValueTransformer" -framework "RKValueTransformers" -framework "RestKit" -framework "SOCKit" -framework "TransitionKit"
6 | PODS_BUILD_DIR = $BUILD_DIR
7 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
8 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/.
9 | PODS_ROOT = ${SRCROOT}/Pods
10 |
--------------------------------------------------------------------------------
/Pods/Target Support Files/Pods-DiscogsAPI/Pods-DiscogsAPI.modulemap:
--------------------------------------------------------------------------------
1 | framework module Pods_DiscogsAPI {
2 | umbrella header "Pods-DiscogsAPI-umbrella.h"
3 |
4 | export *
5 | module * { export * }
6 | }
7 |
--------------------------------------------------------------------------------
/Pods/Target Support Files/Pods-DiscogsAPI/Pods-DiscogsAPI.release.xcconfig:
--------------------------------------------------------------------------------
1 | FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/ISO8601DateFormatterValueTransformer" "$PODS_CONFIGURATION_BUILD_DIR/RKValueTransformers" "$PODS_CONFIGURATION_BUILD_DIR/RestKit-Network-ObjectMapping-Support" "$PODS_CONFIGURATION_BUILD_DIR/SOCKit" "$PODS_CONFIGURATION_BUILD_DIR/TransitionKit"
2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
3 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' '@executable_path/../../Frameworks'
4 | OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/ISO8601DateFormatterValueTransformer/ISO8601DateFormatterValueTransformer.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/RKValueTransformers/RKValueTransformers.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/RestKit-Network-ObjectMapping-Support/RestKit.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/SOCKit/SOCKit.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/TransitionKit/TransitionKit.framework/Headers"
5 | OTHER_LDFLAGS = $(inherited) -framework "ISO8601DateFormatterValueTransformer" -framework "RKValueTransformers" -framework "RestKit" -framework "SOCKit" -framework "TransitionKit"
6 | PODS_BUILD_DIR = $BUILD_DIR
7 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
8 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/.
9 | PODS_ROOT = ${SRCROOT}/Pods
10 |
--------------------------------------------------------------------------------
/Pods/Target Support Files/Pods-DiscogsAPITests/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | ${EXECUTABLE_NAME}
9 | CFBundleIdentifier
10 | ${PRODUCT_BUNDLE_IDENTIFIER}
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | ${PRODUCT_NAME}
15 | CFBundlePackageType
16 | FMWK
17 | CFBundleShortVersionString
18 | 1.0.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | ${CURRENT_PROJECT_VERSION}
23 | NSPrincipalClass
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/Pods/Target Support Files/Pods-DiscogsAPITests/Pods-DiscogsAPITests-dummy.m:
--------------------------------------------------------------------------------
1 | #import
2 | @interface PodsDummy_Pods_DiscogsAPITests : NSObject
3 | @end
4 | @implementation PodsDummy_Pods_DiscogsAPITests
5 | @end
6 |
--------------------------------------------------------------------------------
/Pods/Target Support Files/Pods-DiscogsAPITests/Pods-DiscogsAPITests-umbrella.h:
--------------------------------------------------------------------------------
1 | #ifdef __OBJC__
2 | #import
3 | #else
4 | #ifndef FOUNDATION_EXPORT
5 | #if defined(__cplusplus)
6 | #define FOUNDATION_EXPORT extern "C"
7 | #else
8 | #define FOUNDATION_EXPORT extern
9 | #endif
10 | #endif
11 | #endif
12 |
13 |
14 | FOUNDATION_EXPORT double Pods_DiscogsAPITestsVersionNumber;
15 | FOUNDATION_EXPORT const unsigned char Pods_DiscogsAPITestsVersionString[];
16 |
17 |
--------------------------------------------------------------------------------
/Pods/Target Support Files/Pods-DiscogsAPITests/Pods-DiscogsAPITests.debug.xcconfig:
--------------------------------------------------------------------------------
1 | FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/DiscogsAPI" "$PODS_CONFIGURATION_BUILD_DIR/ISO8601DateFormatterValueTransformer" "$PODS_CONFIGURATION_BUILD_DIR/RKValueTransformers" "$PODS_CONFIGURATION_BUILD_DIR/RestKit-Network-ObjectMapping-Support-Testing" "$PODS_CONFIGURATION_BUILD_DIR/SOCKit" "$PODS_CONFIGURATION_BUILD_DIR/TransitionKit"
2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
3 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks'
4 | OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/DiscogsAPI/DiscogsAPI.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/ISO8601DateFormatterValueTransformer/ISO8601DateFormatterValueTransformer.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/RKValueTransformers/RKValueTransformers.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/RestKit-Network-ObjectMapping-Support-Testing/RestKit.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/SOCKit/SOCKit.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/TransitionKit/TransitionKit.framework/Headers"
5 | OTHER_LDFLAGS = $(inherited) -framework "DiscogsAPI" -framework "ISO8601DateFormatterValueTransformer" -framework "RKValueTransformers" -framework "RestKit" -framework "SOCKit" -framework "TransitionKit"
6 | PODS_BUILD_DIR = $BUILD_DIR
7 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
8 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/.
9 | PODS_ROOT = ${SRCROOT}/Pods
10 |
--------------------------------------------------------------------------------
/Pods/Target Support Files/Pods-DiscogsAPITests/Pods-DiscogsAPITests.modulemap:
--------------------------------------------------------------------------------
1 | framework module Pods_DiscogsAPITests {
2 | umbrella header "Pods-DiscogsAPITests-umbrella.h"
3 |
4 | export *
5 | module * { export * }
6 | }
7 |
--------------------------------------------------------------------------------
/Pods/Target Support Files/Pods-DiscogsAPITests/Pods-DiscogsAPITests.release.xcconfig:
--------------------------------------------------------------------------------
1 | FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/DiscogsAPI" "$PODS_CONFIGURATION_BUILD_DIR/ISO8601DateFormatterValueTransformer" "$PODS_CONFIGURATION_BUILD_DIR/RKValueTransformers" "$PODS_CONFIGURATION_BUILD_DIR/RestKit-Network-ObjectMapping-Support-Testing" "$PODS_CONFIGURATION_BUILD_DIR/SOCKit" "$PODS_CONFIGURATION_BUILD_DIR/TransitionKit"
2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
3 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks'
4 | OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/DiscogsAPI/DiscogsAPI.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/ISO8601DateFormatterValueTransformer/ISO8601DateFormatterValueTransformer.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/RKValueTransformers/RKValueTransformers.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/RestKit-Network-ObjectMapping-Support-Testing/RestKit.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/SOCKit/SOCKit.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/TransitionKit/TransitionKit.framework/Headers"
5 | OTHER_LDFLAGS = $(inherited) -framework "DiscogsAPI" -framework "ISO8601DateFormatterValueTransformer" -framework "RKValueTransformers" -framework "RestKit" -framework "SOCKit" -framework "TransitionKit"
6 | PODS_BUILD_DIR = $BUILD_DIR
7 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
8 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/.
9 | PODS_ROOT = ${SRCROOT}/Pods
10 |
--------------------------------------------------------------------------------
/Pods/Target Support Files/RKValueTransformers/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | ${EXECUTABLE_NAME}
9 | CFBundleIdentifier
10 | ${PRODUCT_BUNDLE_IDENTIFIER}
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | ${PRODUCT_NAME}
15 | CFBundlePackageType
16 | FMWK
17 | CFBundleShortVersionString
18 | 1.1.3
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | ${CURRENT_PROJECT_VERSION}
23 | NSPrincipalClass
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/Pods/Target Support Files/RKValueTransformers/RKValueTransformers-dummy.m:
--------------------------------------------------------------------------------
1 | #import
2 | @interface PodsDummy_RKValueTransformers : NSObject
3 | @end
4 | @implementation PodsDummy_RKValueTransformers
5 | @end
6 |
--------------------------------------------------------------------------------
/Pods/Target Support Files/RKValueTransformers/RKValueTransformers-prefix.pch:
--------------------------------------------------------------------------------
1 | #ifdef __OBJC__
2 | #import
3 | #else
4 | #ifndef FOUNDATION_EXPORT
5 | #if defined(__cplusplus)
6 | #define FOUNDATION_EXPORT extern "C"
7 | #else
8 | #define FOUNDATION_EXPORT extern
9 | #endif
10 | #endif
11 | #endif
12 |
13 |
--------------------------------------------------------------------------------
/Pods/Target Support Files/RKValueTransformers/RKValueTransformers-umbrella.h:
--------------------------------------------------------------------------------
1 | #ifdef __OBJC__
2 | #import
3 | #else
4 | #ifndef FOUNDATION_EXPORT
5 | #if defined(__cplusplus)
6 | #define FOUNDATION_EXPORT extern "C"
7 | #else
8 | #define FOUNDATION_EXPORT extern
9 | #endif
10 | #endif
11 | #endif
12 |
13 | #import "RKValueTransformers.h"
14 |
15 | FOUNDATION_EXPORT double RKValueTransformersVersionNumber;
16 | FOUNDATION_EXPORT const unsigned char RKValueTransformersVersionString[];
17 |
18 |
--------------------------------------------------------------------------------
/Pods/Target Support Files/RKValueTransformers/RKValueTransformers.modulemap:
--------------------------------------------------------------------------------
1 | framework module RKValueTransformers {
2 | umbrella header "RKValueTransformers-umbrella.h"
3 |
4 | export *
5 | module * { export * }
6 | }
7 |
--------------------------------------------------------------------------------
/Pods/Target Support Files/RKValueTransformers/RKValueTransformers.xcconfig:
--------------------------------------------------------------------------------
1 | CONFIGURATION_BUILD_DIR = $PODS_CONFIGURATION_BUILD_DIR/RKValueTransformers
2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
3 | HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Public"
4 | PODS_BUILD_DIR = $BUILD_DIR
5 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
6 | PODS_ROOT = ${SRCROOT}
7 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/RKValueTransformers
8 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier}
9 | SKIP_INSTALL = YES
10 |
--------------------------------------------------------------------------------
/Pods/Target Support Files/RestKit-Network-ObjectMapping-Support-Testing/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | ${EXECUTABLE_NAME}
9 | CFBundleIdentifier
10 | ${PRODUCT_BUNDLE_IDENTIFIER}
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | ${PRODUCT_NAME}
15 | CFBundlePackageType
16 | FMWK
17 | CFBundleShortVersionString
18 | 0.27.2
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | ${CURRENT_PROJECT_VERSION}
23 | NSPrincipalClass
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/Pods/Target Support Files/RestKit-Network-ObjectMapping-Support-Testing/RestKit-Network-ObjectMapping-Support-Testing-dummy.m:
--------------------------------------------------------------------------------
1 | #import
2 | @interface PodsDummy_RestKit_Network_ObjectMapping_Support_Testing : NSObject
3 | @end
4 | @implementation PodsDummy_RestKit_Network_ObjectMapping_Support_Testing
5 | @end
6 |
--------------------------------------------------------------------------------
/Pods/Target Support Files/RestKit-Network-ObjectMapping-Support-Testing/RestKit-Network-ObjectMapping-Support-Testing-prefix.pch:
--------------------------------------------------------------------------------
1 | #ifdef __OBJC__
2 | #import
3 | #else
4 | #ifndef FOUNDATION_EXPORT
5 | #if defined(__cplusplus)
6 | #define FOUNDATION_EXPORT extern "C"
7 | #else
8 | #define FOUNDATION_EXPORT extern
9 | #endif
10 | #endif
11 | #endif
12 |
13 |
--------------------------------------------------------------------------------
/Pods/Target Support Files/RestKit-Network-ObjectMapping-Support-Testing/RestKit-Network-ObjectMapping-Support-Testing.modulemap:
--------------------------------------------------------------------------------
1 | framework module RestKit {
2 | umbrella header "RestKit-Network-ObjectMapping-Support-Testing-umbrella.h"
3 |
4 | export *
5 | module * { export * }
6 | }
7 |
--------------------------------------------------------------------------------
/Pods/Target Support Files/RestKit-Network-ObjectMapping-Support-Testing/RestKit-Network-ObjectMapping-Support-Testing.xcconfig:
--------------------------------------------------------------------------------
1 | CONFIGURATION_BUILD_DIR = $PODS_CONFIGURATION_BUILD_DIR/RestKit-Network-ObjectMapping-Support-Testing
2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/ISO8601DateFormatterValueTransformer" "$PODS_CONFIGURATION_BUILD_DIR/RKValueTransformers" "$PODS_CONFIGURATION_BUILD_DIR/SOCKit" "$PODS_CONFIGURATION_BUILD_DIR/TransitionKit"
3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
4 | HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Public"
5 | OTHER_LDFLAGS = -framework "CFNetwork" -framework "MobileCoreServices" -framework "Security" -framework "SystemConfiguration"
6 | PODS_BUILD_DIR = $BUILD_DIR
7 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
8 | PODS_ROOT = ${SRCROOT}
9 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/RestKit
10 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier}
11 | SKIP_INSTALL = YES
12 |
--------------------------------------------------------------------------------
/Pods/Target Support Files/RestKit-Network-ObjectMapping-Support/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | ${EXECUTABLE_NAME}
9 | CFBundleIdentifier
10 | ${PRODUCT_BUNDLE_IDENTIFIER}
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | ${PRODUCT_NAME}
15 | CFBundlePackageType
16 | FMWK
17 | CFBundleShortVersionString
18 | 0.27.2
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | ${CURRENT_PROJECT_VERSION}
23 | NSPrincipalClass
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/Pods/Target Support Files/RestKit-Network-ObjectMapping-Support/RestKit-Network-ObjectMapping-Support-dummy.m:
--------------------------------------------------------------------------------
1 | #import
2 | @interface PodsDummy_RestKit_Network_ObjectMapping_Support : NSObject
3 | @end
4 | @implementation PodsDummy_RestKit_Network_ObjectMapping_Support
5 | @end
6 |
--------------------------------------------------------------------------------
/Pods/Target Support Files/RestKit-Network-ObjectMapping-Support/RestKit-Network-ObjectMapping-Support-prefix.pch:
--------------------------------------------------------------------------------
1 | #ifdef __OBJC__
2 | #import
3 | #else
4 | #ifndef FOUNDATION_EXPORT
5 | #if defined(__cplusplus)
6 | #define FOUNDATION_EXPORT extern "C"
7 | #else
8 | #define FOUNDATION_EXPORT extern
9 | #endif
10 | #endif
11 | #endif
12 |
13 |
--------------------------------------------------------------------------------
/Pods/Target Support Files/RestKit-Network-ObjectMapping-Support/RestKit-Network-ObjectMapping-Support.modulemap:
--------------------------------------------------------------------------------
1 | framework module RestKit {
2 | umbrella header "RestKit-Network-ObjectMapping-Support-umbrella.h"
3 |
4 | export *
5 | module * { export * }
6 | }
7 |
--------------------------------------------------------------------------------
/Pods/Target Support Files/RestKit-Network-ObjectMapping-Support/RestKit-Network-ObjectMapping-Support.xcconfig:
--------------------------------------------------------------------------------
1 | CONFIGURATION_BUILD_DIR = $PODS_CONFIGURATION_BUILD_DIR/RestKit-Network-ObjectMapping-Support
2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/ISO8601DateFormatterValueTransformer" "$PODS_CONFIGURATION_BUILD_DIR/RKValueTransformers" "$PODS_CONFIGURATION_BUILD_DIR/SOCKit" "$PODS_CONFIGURATION_BUILD_DIR/TransitionKit"
3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
4 | HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Public"
5 | OTHER_LDFLAGS = -framework "CFNetwork" -framework "MobileCoreServices" -framework "Security" -framework "SystemConfiguration"
6 | PODS_BUILD_DIR = $BUILD_DIR
7 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
8 | PODS_ROOT = ${SRCROOT}
9 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/RestKit
10 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier}
11 | SKIP_INSTALL = YES
12 |
--------------------------------------------------------------------------------
/Pods/Target Support Files/SOCKit/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | ${EXECUTABLE_NAME}
9 | CFBundleIdentifier
10 | ${PRODUCT_BUNDLE_IDENTIFIER}
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | ${PRODUCT_NAME}
15 | CFBundlePackageType
16 | FMWK
17 | CFBundleShortVersionString
18 | 1.1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | ${CURRENT_PROJECT_VERSION}
23 | NSPrincipalClass
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/Pods/Target Support Files/SOCKit/SOCKit-dummy.m:
--------------------------------------------------------------------------------
1 | #import
2 | @interface PodsDummy_SOCKit : NSObject
3 | @end
4 | @implementation PodsDummy_SOCKit
5 | @end
6 |
--------------------------------------------------------------------------------
/Pods/Target Support Files/SOCKit/SOCKit-prefix.pch:
--------------------------------------------------------------------------------
1 | #ifdef __OBJC__
2 | #import
3 | #else
4 | #ifndef FOUNDATION_EXPORT
5 | #if defined(__cplusplus)
6 | #define FOUNDATION_EXPORT extern "C"
7 | #else
8 | #define FOUNDATION_EXPORT extern
9 | #endif
10 | #endif
11 | #endif
12 |
13 |
--------------------------------------------------------------------------------
/Pods/Target Support Files/SOCKit/SOCKit-umbrella.h:
--------------------------------------------------------------------------------
1 | #ifdef __OBJC__
2 | #import
3 | #else
4 | #ifndef FOUNDATION_EXPORT
5 | #if defined(__cplusplus)
6 | #define FOUNDATION_EXPORT extern "C"
7 | #else
8 | #define FOUNDATION_EXPORT extern
9 | #endif
10 | #endif
11 | #endif
12 |
13 | #import "SOCKit.h"
14 |
15 | FOUNDATION_EXPORT double SOCKitVersionNumber;
16 | FOUNDATION_EXPORT const unsigned char SOCKitVersionString[];
17 |
18 |
--------------------------------------------------------------------------------
/Pods/Target Support Files/SOCKit/SOCKit.modulemap:
--------------------------------------------------------------------------------
1 | framework module SOCKit {
2 | umbrella header "SOCKit-umbrella.h"
3 |
4 | export *
5 | module * { export * }
6 | }
7 |
--------------------------------------------------------------------------------
/Pods/Target Support Files/SOCKit/SOCKit.xcconfig:
--------------------------------------------------------------------------------
1 | CONFIGURATION_BUILD_DIR = $PODS_CONFIGURATION_BUILD_DIR/SOCKit
2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
3 | HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Public"
4 | PODS_BUILD_DIR = $BUILD_DIR
5 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
6 | PODS_ROOT = ${SRCROOT}
7 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/SOCKit
8 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier}
9 | SKIP_INSTALL = YES
10 |
--------------------------------------------------------------------------------
/Pods/Target Support Files/TransitionKit/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | ${EXECUTABLE_NAME}
9 | CFBundleIdentifier
10 | ${PRODUCT_BUNDLE_IDENTIFIER}
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | ${PRODUCT_NAME}
15 | CFBundlePackageType
16 | FMWK
17 | CFBundleShortVersionString
18 | 2.2.1
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | ${CURRENT_PROJECT_VERSION}
23 | NSPrincipalClass
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/Pods/Target Support Files/TransitionKit/TransitionKit-dummy.m:
--------------------------------------------------------------------------------
1 | #import
2 | @interface PodsDummy_TransitionKit : NSObject
3 | @end
4 | @implementation PodsDummy_TransitionKit
5 | @end
6 |
--------------------------------------------------------------------------------
/Pods/Target Support Files/TransitionKit/TransitionKit-prefix.pch:
--------------------------------------------------------------------------------
1 | #ifdef __OBJC__
2 | #import
3 | #else
4 | #ifndef FOUNDATION_EXPORT
5 | #if defined(__cplusplus)
6 | #define FOUNDATION_EXPORT extern "C"
7 | #else
8 | #define FOUNDATION_EXPORT extern
9 | #endif
10 | #endif
11 | #endif
12 |
13 |
--------------------------------------------------------------------------------
/Pods/Target Support Files/TransitionKit/TransitionKit-umbrella.h:
--------------------------------------------------------------------------------
1 | #ifdef __OBJC__
2 | #import
3 | #else
4 | #ifndef FOUNDATION_EXPORT
5 | #if defined(__cplusplus)
6 | #define FOUNDATION_EXPORT extern "C"
7 | #else
8 | #define FOUNDATION_EXPORT extern
9 | #endif
10 | #endif
11 | #endif
12 |
13 | #import "TKEvent.h"
14 | #import "TKState.h"
15 | #import "TKStateMachine.h"
16 | #import "TKTransition.h"
17 | #import "TransitionKit.h"
18 |
19 | FOUNDATION_EXPORT double TransitionKitVersionNumber;
20 | FOUNDATION_EXPORT const unsigned char TransitionKitVersionString[];
21 |
22 |
--------------------------------------------------------------------------------
/Pods/Target Support Files/TransitionKit/TransitionKit.modulemap:
--------------------------------------------------------------------------------
1 | framework module TransitionKit {
2 | umbrella header "TransitionKit-umbrella.h"
3 |
4 | export *
5 | module * { export * }
6 | }
7 |
--------------------------------------------------------------------------------
/Pods/Target Support Files/TransitionKit/TransitionKit.xcconfig:
--------------------------------------------------------------------------------
1 | CONFIGURATION_BUILD_DIR = $PODS_CONFIGURATION_BUILD_DIR/TransitionKit
2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
3 | HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Public"
4 | PODS_BUILD_DIR = $BUILD_DIR
5 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
6 | PODS_ROOT = ${SRCROOT}
7 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/TransitionKit
8 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier}
9 | SKIP_INSTALL = YES
10 |
--------------------------------------------------------------------------------
/Pods/TransitionKit/Code/TKTransition.m:
--------------------------------------------------------------------------------
1 | //
2 | // TKTransition.m
3 | // TransitionKit
4 | //
5 | // Created by Blake Watters on 10/11/13.
6 | // Copyright (c) 2013 Blake Watters. All rights reserved.
7 | //
8 | // Licensed under the Apache License, Version 2.0 (the "License");
9 | // you may not use this file except in compliance with the License.
10 | // You may obtain a copy of the License at
11 | //
12 | // http://www.apache.org/licenses/LICENSE-2.0
13 | //
14 | // Unless required by applicable law or agreed to in writing, software
15 | // distributed under the License is distributed on an "AS IS" BASIS,
16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 | // See the License for the specific language governing permissions and
18 | // limitations under the License.
19 | //
20 |
21 | #import "TKTransition.h"
22 | #import "TKEvent.h"
23 |
24 | @interface TKTransition ()
25 |
26 | @property (nonatomic, strong, readwrite) TKEvent *event;
27 | @property (nonatomic, strong, readwrite) TKState *sourceState;
28 | @property (nonatomic, strong, readwrite) TKStateMachine *stateMachine;
29 | @property (nonatomic, copy, readwrite) NSDictionary *userInfo;
30 | @end
31 |
32 | @implementation TKTransition
33 |
34 | + (instancetype)transitionForEvent:(TKEvent *)event fromState:(TKState *)sourceState inStateMachine:(TKStateMachine *)stateMachine userInfo:(NSDictionary *)userInfo
35 | {
36 | TKTransition *transition = [self new];
37 | transition.event = event;
38 | transition.sourceState = sourceState;
39 | transition.stateMachine = stateMachine;
40 | transition.userInfo = userInfo;
41 | return transition;
42 | }
43 |
44 | - (TKState *)destinationState
45 | {
46 | return self.event.destinationState;
47 | }
48 |
49 | @end
50 |
--------------------------------------------------------------------------------
/Pods/TransitionKit/Code/TransitionKit.h:
--------------------------------------------------------------------------------
1 | //
2 | // TransitionKit.h
3 | // TransitionKit
4 | //
5 | // Created by Blake Watters on 3/17/13.
6 | // Copyright (c) 2013 Blake Watters. All rights reserved.
7 | //
8 | // Licensed under the Apache License, Version 2.0 (the "License");
9 | // you may not use this file except in compliance with the License.
10 | // You may obtain a copy of the License at
11 | //
12 | // http://www.apache.org/licenses/LICENSE-2.0
13 | //
14 | // Unless required by applicable law or agreed to in writing, software
15 | // distributed under the License is distributed on an "AS IS" BASIS,
16 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 | // See the License for the specific language governing permissions and
18 | // limitations under the License.
19 | //
20 |
21 | #ifndef TransitionKit_TransitionKit_h
22 | #define TransitionKit_TransitionKit_h
23 |
24 | #import "TKStateMachine.h"
25 | #import "TKEvent.h"
26 | #import "TKState.h"
27 | #import "TKTransition.h"
28 |
29 | #endif
30 |
--------------------------------------------------------------------------------
/Tests/Collection/field.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "Media",
3 | "options": [
4 | "Mint (M)",
5 | "Near Mint (NM or M-)",
6 | "Very Good Plus (VG+)",
7 | "Very Good (VG)",
8 | "Good Plus (G+)",
9 | "Good (G)",
10 | "Fair (F)",
11 | "Poor (P)"
12 | ],
13 | "id": 1,
14 | "position": 1,
15 | "type": "dropdown",
16 | "public": true
17 | }
18 |
--------------------------------------------------------------------------------
/Tests/Collection/folder.json:
--------------------------------------------------------------------------------
1 | {
2 | "id": 232842,
3 | "name": "My Music",
4 | "count": 0,
5 | "resource_url": "https://api.discogs.com/users/example/collection/folders/232842"
6 | }
7 |
--------------------------------------------------------------------------------
/Tests/DGTestCase.h:
--------------------------------------------------------------------------------
1 | // DGTestCase.h
2 | //
3 | // Copyright (c) 2017 Maxime Epain
4 | //
5 | // Permission is hereby granted, free of charge, to any person obtaining a copy
6 | // of this software and associated documentation files (the "Software"), to deal
7 | // in the Software without restriction, including without limitation the rights
8 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | // copies of the Software, and to permit persons to whom the Software is
10 | // furnished to do so, subject to the following conditions:
11 | //
12 | // The above copyright notice and this permission notice shall be included in
13 | // all copies or substantial portions of the Software.
14 | //
15 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21 | // THE SOFTWARE.
22 |
23 | #import
24 | #import
25 | #import
26 |
27 | #import
28 | #import
29 |
30 | @interface DGTestCase<__covariant EndpointType : DGEndpoint *> : XCTestCase {
31 | @protected
32 | dispatch_queue_t callbackQueue;
33 | }
34 |
35 | @property (nonatomic, readonly) DGHTTPClient *client;
36 |
37 | @property (nonatomic, readonly) DGObjectManager *manager;
38 |
39 | @property (nonatomic, strong) EndpointType endpoint;
40 |
41 | @end
42 |
--------------------------------------------------------------------------------
/Tests/Database/label.json:
--------------------------------------------------------------------------------
1 | {
2 | "profile": "Classic Techno label from Detroit, USA.\r\n[b]Label owner:[/b] [a=Carl Craig].\r\n",
3 | "releases_url": "https://api.discogs.com/labels/1/releases",
4 | "name": "Planet E",
5 | "contact_info": "Planet E Communications\r\nP.O. Box 27218\r\nDetroit, 48227, USA\r\n\r\np: 313.874.8729 \r\nf: 313.874.8732\r\n\r\nemail: info AT Planet-e DOT net\r\n",
6 | "uri": "http://www.discogs.com/label/1-Planet-E",
7 | "sublabels": [
8 | {
9 | "resource_url": "https://api.discogs.com/labels/86537",
10 | "id": 86537,
11 | "name": "Antidote (4)"
12 | },
13 | {
14 | "resource_url": "https://api.discogs.com/labels/41841",
15 | "id": 41841,
16 | "name": "Community Projects"
17 | }
18 | ],
19 | "urls": [
20 | "http://www.planet-e.net",
21 | "http://planetecommunications.bandcamp.com",
22 | "http://twitter.com/planetedetroit"
23 | ],
24 | "images": [
25 | {
26 | "height": 24,
27 | "resource_url": "https://api-img.discogs.com/85-gKw4oEXfDp9iHtqtCF5Y_ZgI=/fit-in/132x24/filters:strip_icc():format(jpeg):mode_rgb():quality(96)/discogs-images/L-1-1111053865.png.jpg",
28 | "type": "primary",
29 | "uri": "https://api-img.discogs.com/85-gKw4oEXfDp9iHtqtCF5Y_ZgI=/fit-in/132x24/filters:strip_icc():format(jpeg):mode_rgb():quality(96)/discogs-images/L-1-1111053865.png.jpg",
30 | "uri150": "https://api-img.discogs.com/cYmCut4Yh99FaLFHyoqkFo-Md1E=/fit-in/150x150/filters:strip_icc():format(jpeg):mode_rgb()/discogs-images/L-1-1111053865.png.jpg",
31 | "width": 132
32 | }
33 | ],
34 | "resource_url": "https://api.discogs.com/labels/1",
35 | "id": 1,
36 | "data_quality": "Needs Vote"
37 | }
38 |
--------------------------------------------------------------------------------
/Tests/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | $(PRODUCT_BUNDLE_IDENTIFIER)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | BNDL
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleVersion
20 | 1
21 |
22 |
23 |
--------------------------------------------------------------------------------
/Tests/Maketplace/listing.json:
--------------------------------------------------------------------------------
1 | {
2 | "status": "For Sale",
3 | "price": {
4 | "currency": "USD",
5 | "value": 120
6 | },
7 | "allow_offers": false,
8 | "sleeve_condition": "Mint (M)",
9 | "id": 172723812,
10 | "condition": "Mint (M)",
11 | "posted": "2014-07-15T12:55:01-07:00",
12 | "ships_from": "United States",
13 | "uri": "http://www.discogs.com/sell/item/172723812",
14 | "comments": "Brand new... Still sealed!",
15 | "seller": {
16 | "username": "Booms528",
17 | "resource_url": "https://api.discogs.com/users/Booms528",
18 | "id": 1369620
19 | },
20 | "release": {
21 | "catalog_number": "541125-1, 1-541125 (K1)",
22 | "resource_url": "https://api.discogs.com/releases/5610049",
23 | "year": 2014,
24 | "id": 5610049,
25 | "description": "LCD Soundsystem - The Long Goodbye: LCD Soundsystem Live At Madison Square Garden (5xLP + Box)"
26 | },
27 | "resource_url": "https://api.discogs.com/marketplace/listings/172723812",
28 | "audio": false
29 | }
30 |
--------------------------------------------------------------------------------
/Tests/User/profile.json:
--------------------------------------------------------------------------------
1 | {
2 | "profile": "I am a software developer for Discogs.\r\n\r\n[img=http://i.imgur.com/IAk3Ukk.gif]",
3 | "wantlist_url": "https://api.discogs.com/users/rodneyfool/wants",
4 | "rank": 149,
5 | "num_pending": 61,
6 | "id": 1578108,
7 | "num_for_sale": 0,
8 | "home_page": "",
9 | "location": "I live in the good ol' Pacific NW",
10 | "collection_folders_url": "https://api.discogs.com/users/rodneyfool/collection/folders",
11 | "username": "rodneyfool",
12 | "collection_fields_url": "https://api.discogs.com/users/rodneyfool/collection/fields",
13 | "releases_contributed": 5,
14 | "registered": "2012-08-15T21:13:36-07:00",
15 | "rating_avg": 3.47,
16 | "num_collection": 78,
17 | "releases_rated": 116,
18 | "num_lists": 0,
19 | "name": "Rodney",
20 | "num_wantlist": 160,
21 | "inventory_url": "https://api.discogs.com/users/rodneyfool/inventory",
22 | "avatar_url": "http://www.gravatar.com/avatar/55502f40dc8b7c769880b10874abc9d0?s=52&r=pg&d=mm",
23 | "uri": "http://www.discogs.com/user/rodneyfool",
24 | "resource_url": "https://api.discogs.com/users/rodneyfool",
25 | "buyer_rating": 100,
26 | "buyer_rating_stars": 5,
27 | "buyer_num_ratings": 144,
28 | "seller_rating": 100,
29 | "seller_rating_stars": 5,
30 | "seller_num_ratings": 21,
31 | "curr_abbr": "USD",
32 | }
33 |
--------------------------------------------------------------------------------