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

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

@ -1,5 +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
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,7 +20,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
```Objective-c
__attribute__((noinline)) static size_t remaining_stack_size(size_t *restrict totalSize) {
pthread_t currentThread = pthread_self();
@ -42,11 +41,12 @@ __attribute__((noinline)) static size_t remaining_stack_size(size_t *restrict to
return (*totalSize) - (endStack - frameAddr);
}
'''
```
```Objective-c
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
```
Now Build and run the sample on to simulator.