Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

version 0.7.0 #35

Open
wants to merge 7 commits into
base: dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .swift-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.0
4 changes: 2 additions & 2 deletions ApiAI.podspec.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ApiAI",
"version": "0.6.2",
"version": "0.7.2",
"license": "Apache 2.0",
"summary": "The API.AI iOS SDK makes it easy to integrate speech recognition with API.AI natural language processing API on iOS devices.",
"homepage": "http://api.ai/",
Expand All @@ -10,7 +10,7 @@

"source": {
"git": "https://github.com/api-ai/api-ai-ios-sdk.git",
"tag": "v0.6.2"
"tag": "v0.7.2"
},

"requires_arc": true,
Expand Down
12 changes: 10 additions & 2 deletions ApiAI.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,7 @@
58F0605C1A8CB3E5002615DF /* SystemConfiguration.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 58F0605B1A8CB3E5002615DF /* SystemConfiguration.framework */; };
58FF3A2C1C43BD240038BD9D /* AIUserEntitiesRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = 58FF3A291C43BD240038BD9D /* AIUserEntitiesRequest.m */; };
58FF3A2D1C43BD240038BD9D /* AIUserEntity.m in Sources */ = {isa = PBXBuildFile; fileRef = 58FF3A2B1C43BD240038BD9D /* AIUserEntity.m */; };
FFC0CE201F22BB8B00E81778 /* AIOriginalRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = FFC0CE1F1F22BB8B00E81778 /* AIOriginalRequest.m */; };
/* End PBXBuildFile section */

/* Begin PBXContainerItemProxy section */
Expand Down Expand Up @@ -418,6 +419,9 @@
C6FA9A492FC4834AFAEB5D93 /* Pods-ApiAITests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ApiAITests.release.xcconfig"; path = "Pods/Target Support Files/Pods-ApiAITests/Pods-ApiAITests.release.xcconfig"; sourceTree = "<group>"; };
CA2094AC803A0620EF22CE82 /* Pods-ApiAITests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ApiAITests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-ApiAITests/Pods-ApiAITests.debug.xcconfig"; sourceTree = "<group>"; };
DD80C016B73942D79FF2B0CD /* libPods-ApiAI.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-ApiAI.a"; sourceTree = BUILT_PRODUCTS_DIR; };
FFC0CE1E1F22BB8B00E81778 /* AIOriginalRequest.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AIOriginalRequest.h; sourceTree = "<group>"; };
FFC0CE1F1F22BB8B00E81778 /* AIOriginalRequest.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AIOriginalRequest.m; sourceTree = "<group>"; };
FFC0CE211F265D9000E81778 /* AIOriginalRequest_Private.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AIOriginalRequest_Private.h; sourceTree = "<group>"; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
Expand Down Expand Up @@ -692,6 +696,8 @@
5862C2D51BAEABE1007C6C4F /* AIRequestContext.m */,
581409F31C86B8290014BBE8 /* AIQueryRequest.h */,
581409F41C86B8290014BBE8 /* AIQueryRequest.m */,
FFC0CE1E1F22BB8B00E81778 /* AIOriginalRequest.h */,
FFC0CE1F1F22BB8B00E81778 /* AIOriginalRequest.m */,
);
path = Classes;
sourceTree = "<group>";
Expand All @@ -709,6 +715,7 @@
581409F01C86B1500014BBE8 /* AISessionIdentifierStorage.h */,
581409F11C86B1500014BBE8 /* AISessionIdentifierStorage.m */,
581409F61C86B9AC0014BBE8 /* AIRequest_Private.h */,
FFC0CE211F265D9000E81778 /* AIOriginalRequest_Private.h */,
);
path = Private;
sourceTree = "<group>";
Expand Down Expand Up @@ -1202,6 +1209,7 @@
58D696FF1B679D0300693710 /* AIVoiceRequest.m in Sources */,
584509B019F4EB6B00A0AE9A /* AIStreamBuffer.m in Sources */,
588D23A11AFB3C95008289F1 /* AIDatePeriodFormatter.m in Sources */,
FFC0CE201F22BB8B00E81778 /* AIOriginalRequest.m in Sources */,
58C2A85C19BEE0E000632C2F /* AIRequest.m in Sources */,
58C2A86219BEE0E000632C2F /* AIDataService.m in Sources */,
58FF3A2D1C43BD240038BD9D /* AIUserEntity.m in Sources */,
Expand Down Expand Up @@ -1498,7 +1506,7 @@
MTL_ENABLE_DEBUG_INFO = YES;
PRODUCT_BUNDLE_IDENTIFIER = "com.sstepashka.$(PRODUCT_NAME:rfc1034identifier)";
PRODUCT_NAME = "$(TARGET_NAME)";
SDKROOT = macosx;
SDKROOT = iphoneos;
};
name = Debug;
};
Expand All @@ -1513,7 +1521,7 @@
MTL_ENABLE_DEBUG_INFO = NO;
PRODUCT_BUNDLE_IDENTIFIER = "com.sstepashka.$(PRODUCT_NAME:rfc1034identifier)";
PRODUCT_NAME = "$(TARGET_NAME)";
SDKROOT = macosx;
SDKROOT = iphoneos;
};
name = Release;
};
Expand Down
31 changes: 13 additions & 18 deletions ApiAI/ApiAI-Prefix.pch
Original file line number Diff line number Diff line change
@@ -1,24 +1,19 @@
/***********************************************************************************************************************
/**
* Copyright 2017 Google Inc. All Rights Reserved.
*
* API.AI iOS SDK - client-side libraries for API.AI
* ==========================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* Copyright (C) 2015 by Speaktoit, Inc. (https://www.speaktoit.com)
* https://www.api.ai
* http://www.apache.org/licenses/LICENSE-2.0
*
***********************************************************************************************************************
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
* an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
* specific language governing permissions and limitations under the License.
*
***********************************************************************************************************************/

* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

#ifdef __OBJC__
#import <Foundation/Foundation.h>
#endif
29 changes: 12 additions & 17 deletions ApiAI/AudioFileConverter/Classes/AIAudioFileConvertOperation.h
Original file line number Diff line number Diff line change
@@ -1,23 +1,18 @@
/***********************************************************************************************************************
/**
* Copyright 2017 Google Inc. All Rights Reserved.
*
* API.AI iOS SDK - client-side libraries for API.AI
* ==========================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* Copyright (C) 2015 by Speaktoit, Inc. (https://www.speaktoit.com)
* https://www.api.ai
* http://www.apache.org/licenses/LICENSE-2.0
*
***********************************************************************************************************************
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
* an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
* specific language governing permissions and limitations under the License.
*
***********************************************************************************************************************/
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

#import <Foundation/Foundation.h>

Expand Down
29 changes: 12 additions & 17 deletions ApiAI/AudioFileConverter/Classes/AIAudioFileConvertOperation.mm
Original file line number Diff line number Diff line change
@@ -1,23 +1,18 @@
/***********************************************************************************************************************
/**
* Copyright 2017 Google Inc. All Rights Reserved.
*
* API.AI iOS SDK - client-side libraries for API.AI
* ==========================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* Copyright (C) 2015 by Speaktoit, Inc. (https://www.speaktoit.com)
* https://www.api.ai
* http://www.apache.org/licenses/LICENSE-2.0
*
***********************************************************************************************************************
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
* an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
* specific language governing permissions and limitations under the License.
*
***********************************************************************************************************************/
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

#import "AIAudioFileConvertOperation.h"
#import "AIAudioFileConvertOperationTypes.h"
Expand Down
31 changes: 13 additions & 18 deletions ApiAI/AudioFileConverter/Private/AIAudioFileConvertOperationTypes.h
Original file line number Diff line number Diff line change
@@ -1,24 +1,19 @@
/***********************************************************************************************************************
/**
* Copyright 2017 Google Inc. All Rights Reserved.
*
* API.AI iOS SDK - client-side libraries for API.AI
* ==========================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* Copyright (C) 2015 by Speaktoit, Inc. (https://www.speaktoit.com)
* https://www.api.ai
* http://www.apache.org/licenses/LICENSE-2.0
*
***********************************************************************************************************************
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
* an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
* specific language governing permissions and limitations under the License.
*
***********************************************************************************************************************/

* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

#import <Foundation/Foundation.h>
#import <AudioToolbox/AudioToolbox.h>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,24 +1,19 @@
/***********************************************************************************************************************
/**
* Copyright 2017 Google Inc. All Rights Reserved.
*
* API.AI iOS SDK - client-side libraries for API.AI
* ==========================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* Copyright (C) 2015 by Speaktoit, Inc. (https://www.speaktoit.com)
* https://www.api.ai
* http://www.apache.org/licenses/LICENSE-2.0
*
***********************************************************************************************************************
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
* an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
* specific language governing permissions and limitations under the License.
*
***********************************************************************************************************************/

* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

#import "AIAudioFileConvertOperationTypes.h"

OSStatus AIEncoderDataProc(AudioConverterRef inAudioConverter, UInt32 *ioNumberDataPackets, AudioBufferList *ioData, AudioStreamPacketDescription **outDataPacketDescription, void *inUserData)
Expand Down
31 changes: 13 additions & 18 deletions ApiAI/AudioFileConverter/Private/AIDataProcessInfo.cpp
Original file line number Diff line number Diff line change
@@ -1,24 +1,19 @@
/***********************************************************************************************************************
/**
* Copyright 2017 Google Inc. All Rights Reserved.
*
* API.AI iOS SDK - client-side libraries for API.AI
* ==========================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* Copyright (C) 2015 by Speaktoit, Inc. (https://www.speaktoit.com)
* https://www.api.ai
* http://www.apache.org/licenses/LICENSE-2.0
*
***********************************************************************************************************************
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
* an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
* specific language governing permissions and limitations under the License.
*
***********************************************************************************************************************/

* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

#include "AIDataProcessInfo.hpp"

AIDataProcessInfo::AIDataProcessInfo(UInt32 sizePerPacket, AudioFileID sourceFileID) : sizePerPacket(sizePerPacket), sourceFileID(sourceFileID)
Expand Down
31 changes: 13 additions & 18 deletions ApiAI/AudioFileConverter/Private/AIDataProcessInfo.hpp
Original file line number Diff line number Diff line change
@@ -1,24 +1,19 @@
/***********************************************************************************************************************
/**
* Copyright 2017 Google Inc. All Rights Reserved.
*
* API.AI iOS SDK - client-side libraries for API.AI
* ==========================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* Copyright (C) 2015 by Speaktoit, Inc. (https://www.speaktoit.com)
* https://www.api.ai
* http://www.apache.org/licenses/LICENSE-2.0
*
***********************************************************************************************************************
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
* an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
* specific language governing permissions and limitations under the License.
*
***********************************************************************************************************************/

* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

#ifndef DataProcessInfo_hpp
#define DataProcessInfo_hpp

Expand Down
31 changes: 13 additions & 18 deletions ApiAI/Classes/AIConfiguration.h
Original file line number Diff line number Diff line change
@@ -1,24 +1,19 @@
/***********************************************************************************************************************
/**
* Copyright 2017 Google Inc. All Rights Reserved.
*
* API.AI iOS SDK - client-side libraries for API.AI
* ==========================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* Copyright (C) 2015 by Speaktoit, Inc. (https://www.speaktoit.com)
* https://www.api.ai
* http://www.apache.org/licenses/LICENSE-2.0
*
***********************************************************************************************************************
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
* an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
* specific language governing permissions and limitations under the License.
*
***********************************************************************************************************************/

* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

#import <Foundation/Foundation.h>

/*!
Expand Down
Loading
Loading