Skip to content

Commit

Permalink
- Minor bug fix for PagedContentLoadingViewModel to conform correctly
Browse files Browse the repository at this point in the history
- Corrected minimum deployment target
  • Loading branch information
JoshAtTheDistance committed Jun 22, 2016
1 parent 697bdba commit 71efeaa
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,4 +70,11 @@ public class PagingContentLoadingViewModel<ValueType>: ListLoadingViewModel<Bool
return PagedOutput(currentContent: aggregatedContent, moreAvailable: moreAvailable )
}
}

// MARK: Changeset Loading Model

/// - returns: The currently loaded content from the `PagedOutput` or and empty array if nothing has been downloaded.
public func currentItems() -> [ValueType] {
return loadedContent?.currentContent ?? []
}
}
4 changes: 4 additions & 0 deletions TheDistanceComponents.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -634,6 +634,7 @@
);
INFOPLIST_FILE = TDCAppDependencies/Info.plist;
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = uk.co.thedistance.TDCAppDependencies;
PRODUCT_NAME = "$(TARGET_NAME)";
Expand All @@ -654,6 +655,7 @@
);
INFOPLIST_FILE = TDCAppDependencies/Info.plist;
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = uk.co.thedistance.TDCAppDependencies;
PRODUCT_NAME = "$(TARGET_NAME)";
Expand Down Expand Up @@ -695,6 +697,7 @@
);
INFOPLIST_FILE = TDCContentLoading/Info.plist;
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = uk.co.thedistance.TDCContentLoading;
PRODUCT_NAME = "$(TARGET_NAME)";
Expand All @@ -717,6 +720,7 @@
);
INFOPLIST_FILE = TDCContentLoading/Info.plist;
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = uk.co.thedistance.TDCContentLoading;
PRODUCT_NAME = "$(TARGET_NAME)";
Expand Down

0 comments on commit 71efeaa

Please sign in to comment.