This commit is contained in:
venkat Kongara 2017-01-30 11:35:05 -08:00 коммит произвёл GitHub
Родитель a01bf6b5e8
Коммит 6d43e78740
1 изменённых файлов: 3 добавлений и 2 удалений

5
ThirdParty/Bolts/BoltsInClasspath/README.md поставляемый
Просмотреть файл

@ -1,4 +1,4 @@
The sample uses openweathermap.org free subscription rest API to demonstrate the Bolts usage. Please register for free and use the token generated from https://home.openweathermap.org/users/sign_up and replace it with apiKey placeholder in the Constants.m file
The sample uses openweathermap.org free subscription rest API to demonstrate the Bolts usage. Please register for free and use the token generated from https://home.openweathermap.org/users/sign_up and replace it with apiKey placeholder in the Constants.m file
This project uses bolts as a dependency.When you first clone the repo if you have included --recursive skip the next statement. Else
Navigate to samples root directory and run the git submodule update --init --recursive git command.
@ -21,6 +21,7 @@ This happens because I see a different implementations for pThread on Winobjc. s
go to your Bolts dependency in the solution and navigate to Bolts/Bolts/Common/BFExecutor.m file. change the below method implementation like this.
'''Objective-c
__attribute__((noinline)) static size_t remaining_stack_size(size_t *restrict totalSize) {
pthread_t currentThread = pthread_self();
@ -41,7 +42,7 @@ __attribute__((noinline)) static size_t remaining_stack_size(size_t *restrict to
return (*totalSize) - (endStack - frameAddr);
}
'''
2) go to your Bolts dependency in the solution and navigate to Bolts/Public Headers/Bolts.h file. change the line in import statements like this.
#if __has_include(<Bolts/BFAppLink.h>) && WINOBJC && !TARGET_OS_WATCH && !TARGET_OS_TV