[AltStoreCore] Refactors core AltStore logic into AltStoreCore framework

AltStoreCore will contain all shared AltStore code between AltStore and any app extensions. Initially, it includes all AltStore model logic.
This commit is contained in:
Riley Testut
2020-09-03 16:39:08 -07:00
parent de925e7fea
commit f1a39e1a1f
149 changed files with 3266 additions and 1792 deletions

View File

@@ -0,0 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleExecutable</key>
<string>${EXECUTABLE_NAME}</string>
<key>CFBundleIdentifier</key>
<string>${PRODUCT_BUNDLE_IDENTIFIER}</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>${PRODUCT_NAME}</string>
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>0.1.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>${CURRENT_PROJECT_VERSION}</string>
<key>NSPrincipalClass</key>
<string></string>
</dict>
</plist>

View File

@@ -0,0 +1,5 @@
#import <Foundation/Foundation.h>
@interface PodsDummy_Roxas_framework : NSObject
@end
@implementation PodsDummy_Roxas_framework
@end

View File

@@ -0,0 +1,36 @@
#ifdef __OBJC__
#import <UIKit/UIKit.h>
#else
#ifndef FOUNDATION_EXPORT
#if defined(__cplusplus)
#define FOUNDATION_EXPORT extern "C"
#else
#define FOUNDATION_EXPORT extern
#endif
#endif
#endif
//
// Roxas-Prefix.pch
// Roxas
//
// Created by Riley Testut on 12/6/14.
// Copyright (c) 2014 Riley Testut. All rights reserved.
//
#ifndef Roxas_Roxas_Prefix_pch
#define Roxas_Roxas_Prefix_pch
#import <Availability.h>
#ifndef __IPHONE_8_0
#warning "This project uses features only available in iOS SDK 8.0 and later."
#endif
#ifdef __OBJC__
#import "RSTDefines.h"
#endif
#endif

View File

@@ -0,0 +1,68 @@
#ifdef __OBJC__
#import <UIKit/UIKit.h>
#else
#ifndef FOUNDATION_EXPORT
#if defined(__cplusplus)
#define FOUNDATION_EXPORT extern "C"
#else
#define FOUNDATION_EXPORT extern
#endif
#endif
#endif
#import "NSBundle+Extensions.h"
#import "NSConstraintConflict+Conveniences.h"
#import "NSFileManager+URLs.h"
#import "NSLayoutConstraint+Edges.h"
#import "NSPredicate+Search.h"
#import "NSString+Localization.h"
#import "NSUserDefaults+DynamicProperties.h"
#import "Roxas.h"
#import "RSTActivityIndicating.h"
#import "RSTArrayDataSource.h"
#import "RSTBlockOperation.h"
#import "RSTCellContentCell.h"
#import "RSTCellContentChange.h"
#import "RSTCellContentChangeOperation.h"
#import "RSTCellContentDataSource.h"
#import "RSTCellContentPrefetchingDataSource.h"
#import "RSTCellContentView.h"
#import "RSTCollectionViewCell.h"
#import "RSTCollectionViewGridLayout.h"
#import "RSTCompositeDataSource.h"
#import "RSTConstants.h"
#import "RSTDefines.h"
#import "RSTDynamicDataSource.h"
#import "RSTError.h"
#import "RSTFetchedResultsDataSource.h"
#import "RSTHasher.h"
#import "RSTHelperFile.h"
#import "RSTLaunchViewController.h"
#import "RSTLoadOperation.h"
#import "RSTNavigationController.h"
#import "RSTNibView.h"
#import "RSTOperation.h"
#import "RSTOperationQueue.h"
#import "RSTOperation_Subclasses.h"
#import "RSTPersistentContainer.h"
#import "RSTPlaceholderView.h"
#import "RSTRelationshipPreservingMergePolicy.h"
#import "RSTSearchController.h"
#import "RSTSeparatorView.h"
#import "RSTTintedImageView.h"
#import "RSTToastView.h"
#import "UIAlertAction+Actions.h"
#import "UICollectionView+CellContent.h"
#import "UICollectionViewCell+CellContent.h"
#import "UICollectionViewCell+Nibs.h"
#import "UIImage+Manipulation.h"
#import "UIKit+ActivityIndicating.h"
#import "UISpringTimingParameters+Conveniences.h"
#import "UITableView+CellContent.h"
#import "UITableViewCell+CellContent.h"
#import "UIView+AnimatedHide.h"
#import "UIViewController+TransitionState.h"
FOUNDATION_EXPORT double RoxasVersionNumber;
FOUNDATION_EXPORT const unsigned char RoxasVersionString[];

View File

@@ -0,0 +1,10 @@
CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/Roxas-framework
GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Public"
PODS_BUILD_DIR = ${BUILD_DIR}
PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
PODS_ROOT = ${SRCROOT}
PODS_TARGET_SRCROOT = ${PODS_ROOT}/../Dependencies/Roxas
PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier}
SKIP_INSTALL = YES
USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES

View File

@@ -0,0 +1,6 @@
framework module Roxas {
umbrella header "Roxas-framework-umbrella.h"
export *
module * { export * }
}

View File

@@ -0,0 +1,10 @@
CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/Roxas-framework
GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Public"
PODS_BUILD_DIR = ${BUILD_DIR}
PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
PODS_ROOT = ${SRCROOT}
PODS_TARGET_SRCROOT = ${PODS_ROOT}/../Dependencies/Roxas
PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier}
SKIP_INSTALL = YES
USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES