Update README.md
This commit is contained in:
Родитель
a01bf6b5e8
Коммит
6d43e78740
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче