Skip to content

Conversation

@cloutiertyler
Copy link
Contributor

Added compiler directive to leave out the spawn functions if building on watchOS or tvOS as those are not available on those platforms.

@codecov-io
Copy link

codecov-io commented Oct 16, 2016

Current coverage is 83.08% (diff: 0.00%)

Merging #8 into master will decrease coverage by 0.09%

@@             master         #8   diff @@
==========================================
  Files            14         14          
  Lines           856        857     +1   
  Methods           0          0          
  Messages          0          0          
  Branches          0          0          
==========================================
  Hits            712        712          
- Misses          144        145     +1   
  Partials          0          0          

Powered by Codecov. Last update 53c0569...58eb506

}
}

#if !os(watchOS) && !os(tvOS)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead of using #if, you should use @available annotation which is appropriate to accomplish your intentions.

#endif


#if !os(watchOS) && !os(tvOS)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should use @available annotation instead of #if

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants