Content-Length: 287508 | pFad | http://github.com/ChenYilong/iOSInterviewQuestions/tree/master/cross-platform/ReactNativeDemo

C2 iOSInterviewQuestions/cross-platform/ReactNativeDemo at master · ChenYilong/iOSInterviewQuestions · GitHub
Skip to content

Latest commit

 

History

History

ReactNativeDemo

Question

ReactNativeDemo

You are asked to write an iOS SDK and an React Native App that uses the SDK.

The SDK should expose a method that generates a random color in either hex or RGB, for example, if you use hex, the random color is a value between #000000 and #FFFFFF.

When the app is initialized it should show an empty white screen. When the user taps on the screen, the app should use the iOS SDK to get a random color value, and change the color of the empty screen with that color.

The completed project should be delivered in a format we can review, such as a github repository.

Answer

https://github.com/ChenYilong

cd ReactNativeDemo
npm start
npx react-native run-ios

or

npx expo run:ios








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/ChenYilong/iOSInterviewQuestions/tree/master/cross-platform/ReactNativeDemo

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy