Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Cocoapods distribution #57

Closed
wants to merge 25 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
14 changes: 14 additions & 0 deletions SmartDeviceLink-iOS.podspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
Pod::Spec.new do |s|

s.name = "SmartDeviceLink-iOS"
s.version = "3.0.0"
s.summary = "Connect your app with cars!"
s.homepage = "https://github.com/smartdevicelink/SmartDeviceLink-iOS"
s.license = { :type => "New BSD", :file => "LICENSE" }
s.author = { "SmartDeviceLink Team" => "joel@livioradio.com" }
s.platform = :ios, "7.0"
s.source = { :git => "https://github.com/smartdevicelink/SmartDeviceLink-iOS.git", :tag => "3.0.0" }
s.source_files = "SmartDeviceLink-iOS/SmartDeviceLink/*.{h,m}"
s.requires_arc = true

end
2,888 changes: 2,888 additions & 0 deletions SmartDeviceLink-iOS/SmartDeviceLink-iOS.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0610"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "5D61FA1B1A84237100846EE7"
BuildableName = "SmartDeviceLink.framework"
BlueprintName = "SmartDeviceLink"
ReferencedContainer = "container:SmartDeviceLink-iOS.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES"
buildConfiguration = "Debug">
<Testables>
<TestableReference
skipped = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "5D61FA251A84237100846EE7"
BuildableName = "SmartDeviceLinkTests.xctest"
BlueprintName = "SmartDeviceLinkTests"
ReferencedContainer = "container:SmartDeviceLink-iOS.xcodeproj">
</BuildableReference>
</TestableReference>
</Testables>
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "5D61FA1B1A84237100846EE7"
BuildableName = "SmartDeviceLink.framework"
BlueprintName = "SmartDeviceLink"
ReferencedContainer = "container:SmartDeviceLink-iOS.xcodeproj">
</BuildableReference>
</MacroExpansion>
</TestAction>
<LaunchAction
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
buildConfiguration = "Debug"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
allowLocationSimulation = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "5D61FA1B1A84237100846EE7"
BuildableName = "SmartDeviceLink.framework"
BlueprintName = "SmartDeviceLink"
ReferencedContainer = "container:SmartDeviceLink-iOS.xcodeproj">
</BuildableReference>
</MacroExpansion>
<AdditionalOptions>
</AdditionalOptions>
</LaunchAction>
<ProfileAction
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
buildConfiguration = "Release"
debugDocumentVersioning = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "5D61FA1B1A84237100846EE7"
BuildableName = "SmartDeviceLink.framework"
BlueprintName = "SmartDeviceLink"
ReferencedContainer = "container:SmartDeviceLink-iOS.xcodeproj">
</BuildableReference>
</MacroExpansion>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
21 changes: 21 additions & 0 deletions SmartDeviceLink-iOS/SmartDeviceLink/ISDLProxy.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
// ISDLProxy.h
//
// Copyright (c) 2014 Ford Motor Company. All rights reserved.


#import "SDLProtocol.h"
#import "SDLProxyListener"
#import "SDLRPCMessage"
#import "SDLTransport"

@protocol ISDLProxy

-(id) initWithTransport:(NSObject<SDLTransport>*) transport protocol:(NSObject<SDLProtocol>*) protocol delegate:(NSObject<SDLProxyListener>*) delegate;

-(void) dispose;
-(void) addDelegate:(NSObject<SDLProxyListener>*) delegate;

-(void) sendRPCRequest:(SDLRPCMessage*) msg;
-(void) handleRpcMessage:(NSDictionary*) msg;

@end
26 changes: 26 additions & 0 deletions SmartDeviceLink-iOS/SmartDeviceLink/Info.plist
Original file line number Diff line number Diff line change
@@ -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>com.smartdevicelink.smartdevicelink</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>3.1.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string>
<key>NSPrincipalClass</key>
<string></string>
</dict>
</plist>
17 changes: 17 additions & 0 deletions SmartDeviceLink-iOS/SmartDeviceLink/SDLAbstractProtocol.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
// SDLAbstractProtocol.h
//
// Copyright (c) 2014 Ford Motor Company. All rights reserved.


#import "SDLInterfaceProtocol.h"
#import "SDLTransport.h"
#import "SDLProtocolListener.h"


@interface SDLAbstractProtocol : NSObject<SDLInterfaceProtocol>

@property (strong) NSString *debugConsoleGroupName;
@property (strong) id<SDLTransport> transport;
@property (weak) id<SDLProtocolListener> protocolDelegate;

@end
23 changes: 23 additions & 0 deletions SmartDeviceLink-iOS/SmartDeviceLink/SDLAbstractTransport.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
// SDLAbstractTransport.h
//
// Copyright (c) 2014 Ford Motor Company. All rights reserved.

@import Foundation;

#import "SDLTransport.h"
#import "SDLTransportDelegate.h"

@interface SDLAbstractTransport : NSObject<SDLTransport>

@property (weak) id<SDLTransportDelegate> delegate;
@property (strong) NSString *debugConsoleGroupName;
@property (strong, readonly) NSString* endpointName;
@property (strong, readonly) NSString* endpointParam;

- (id) initWithEndpoint:(NSString*) endpoint endpointParam:(NSString*) endointParam;

- (void)notifyTransportConnected;
- (void)notifyTransportDisconnected;
- (void)handleDataReceivedFromTransport:(NSData *)receivedData;

@end
21 changes: 21 additions & 0 deletions SmartDeviceLink-iOS/SmartDeviceLink/SDLAddCommand.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
// SDLAddCommand.h
//
// Copyright (c) 2014 Ford Motor Company. All rights reserved.


#import "SDLRPCRequest.h"

#import "SDLMenuParams.h"
#import "SDLImage.h"

@interface SDLAddCommand : SDLRPCRequest {}

-(id) init;
-(id) initWithDictionary:(NSMutableDictionary*) dict;

@property(strong) NSNumber* cmdID;
@property(strong) SDLMenuParams* menuParams;
@property(strong) NSMutableArray* vrCommands;
@property(strong) SDLImage* cmdIcon;

@end
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
//
// Copyright (c) 2014 Ford Motor Company. All rights reserved.

#import <SmartDeviceLink/SDLAddCommand.h>
#import "SDLAddCommand.h"

#import <SmartDeviceLink/SDLNames.h>
#import "SDLNames.h"

@implementation SDLAddCommand

Expand Down
13 changes: 13 additions & 0 deletions SmartDeviceLink-iOS/SmartDeviceLink/SDLAddCommandResponse.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
// SDLAddCommandResponse.h
//
// Copyright (c) 2014 Ford Motor Company. All rights reserved.


#import "SDLRPCResponse.h"

@interface SDLAddCommandResponse : SDLRPCResponse {}

-(id) init;
-(id) initWithDictionary:(NSMutableDictionary*) dict;

@end
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
//
// Copyright (c) 2014 Ford Motor Company. All rights reserved.

#import <SmartDeviceLink/SDLAddCommandResponse.h>
#import "SDLAddCommandResponse.h"

#import <SmartDeviceLink/SDLNames.h>
#import "SDLNames.h"

@implementation SDLAddCommandResponse

Expand Down
17 changes: 17 additions & 0 deletions SmartDeviceLink-iOS/SmartDeviceLink/SDLAddSubMenu.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
// SDLAddSubMenu.h
//
// Copyright (c) 2014 Ford Motor Company. All rights reserved.


#import "SDLRPCRequest.h"

@interface SDLAddSubMenu : SDLRPCRequest {}

-(id) init;
-(id) initWithDictionary:(NSMutableDictionary*) dict;

@property(strong) NSNumber* menuID;
@property(strong) NSNumber* position;
@property(strong) NSString* menuName;

@end
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
//
// Copyright (c) 2014 Ford Motor Company. All rights reserved.

#import <SmartDeviceLink/SDLAddSubMenu.h>
#import "SDLAddSubMenu.h"

#import <SmartDeviceLink/SDLNames.h>
#import "SDLNames.h"

@implementation SDLAddSubMenu

Expand Down
13 changes: 13 additions & 0 deletions SmartDeviceLink-iOS/SmartDeviceLink/SDLAddSubMenuResponse.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
// SDLAddSubMenuResponse.h
//
// Copyright (c) 2014 Ford Motor Company. All rights reserved.


#import "SDLRPCResponse.h"

@interface SDLAddSubMenuResponse : SDLRPCResponse {}

-(id) init;
-(id) initWithDictionary:(NSMutableDictionary*) dict;

@end
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
//
// Copyright (c) 2014 Ford Motor Company. All rights reserved.

#import <SmartDeviceLink/SDLAddSubMenuResponse.h>
#import "SDLAddSubMenuResponse.h"

#import <SmartDeviceLink/SDLNames.h>
#import "SDLNames.h"

@implementation SDLAddSubMenuResponse

Expand Down
24 changes: 24 additions & 0 deletions SmartDeviceLink-iOS/SmartDeviceLink/SDLAirbagStatus.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
// SDLAirbagStatus.h
//
// Copyright (c) 2014 Ford Motor Company. All rights reserved.


#import "SDLRPCMessage.h"

#import "SDLVehicleDataEventStatus.h"

@interface SDLAirbagStatus : SDLRPCStruct {}

-(id) init;
-(id) initWithDictionary:(NSMutableDictionary*) dict;

@property(strong) SDLVehicleDataEventStatus* driverAirbagDeployed;
@property(strong) SDLVehicleDataEventStatus* driverSideAirbagDeployed;
@property(strong) SDLVehicleDataEventStatus* driverCurtainAirbagDeployed;
@property(strong) SDLVehicleDataEventStatus* passengerAirbagDeployed;
@property(strong) SDLVehicleDataEventStatus* passengerCurtainAirbagDeployed;
@property(strong) SDLVehicleDataEventStatus* driverKneeAirbagDeployed;
@property(strong) SDLVehicleDataEventStatus* passengerSideAirbagDeployed;
@property(strong) SDLVehicleDataEventStatus* passengerKneeAirbagDeployed;

@end
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
//
// Copyright (c) 2014 Ford Motor Company. All rights reserved.

#import <SmartDeviceLink/SDLAirbagStatus.h>
#import "SDLAirbagStatus.h"

#import <SmartDeviceLink/SDLNames.h>
#import "SDLNames.h"

@implementation SDLAirbagStatus

Expand Down
22 changes: 22 additions & 0 deletions SmartDeviceLink-iOS/SmartDeviceLink/SDLAlert.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
// SDLAlert.h
//
// Copyright (c) 2014 Ford Motor Company. All rights reserved.


#import "SDLRPCRequest.h"

@interface SDLAlert : SDLRPCRequest {}

-(id) init;
-(id) initWithDictionary:(NSMutableDictionary*) dict;

@property(strong) NSString* alertText1;
@property(strong) NSString* alertText2;
@property(strong) NSString* alertText3;
@property(strong) NSMutableArray* ttsChunks;
@property(strong) NSNumber* duration;
@property(strong) NSNumber* playTone;
@property(strong) NSNumber* progressIndicator;
@property(strong) NSMutableArray* softButtons;

@end
Loading