Nick Lockwood
88e0bbc469
Ran Convert > To Modern Objective C Syntax
2015-08-25 01:08:49 -08:00
Nick Lockwood
8d1e02b8bd
Convert alloc/init to new to please linter
2015-08-17 08:46:00 -07:00
Nick Lockwood
f165bbaf4e
Use +[RCTConvert NSURL:] everywhere instead of +[NSURL URLWithString:]
...
Summary:
RCTConvert's URL: method gracefully handles unescaped urls, local file urls, urls containing unicode, etc. URLWithString doesn't.
2015-08-04 16:26:16 -08:00
Nick Lockwood
ef5cec4f08
Text highlighting on iOS
...
Summary:
This diff implements highlighting of tapped text subranges for the iOS `<Text>` component, styled to match how iOS webkit views highlight links (translucent grey overlay with rounded corners).
Highlighting is enabled by default for any `<Text>` component which has an onPress handler. To disable the highlight, add `suppressHighlighting={true}` to the component props.
2015-07-24 08:41:58 -08:00
Nick Lockwood
650fc9de4c
Increased warning levels to -Wall -Wextra, and fixed Xcode 7 beta issues
...
Summary:
@public
I've increased the warning levels in the OSS frameworks, which caught a bunch of minor issues. I also fixed some new errors in Xcode 7 relating to designated initializers and TLS security.
Test Plan:
* Test the sample apps and make sure they still work.
* Run tests.
2015-06-15 07:52:50 -08:00
Tadeu Zagallo
2a7adfb815
[ReactNative] Use RCTNullIfNill and (id)kCFNull
...
Summary:
@public
Use consistent `null` handling:
`value || null` -> `RCTNullIfNil(value)`
`value == null ? nil : value` -> `RCTNilIfNull(value)`
`[NSNull null]` -> `(id)kCFNull`
Test Plan: The tests should be enough.
2015-06-12 11:03:10 -08:00
Tadeu Zagallo
d293bed5ab
[ReactNative] Fix analyze errors on oss
2015-04-24 08:28:35 -08:00
Nick Lockwood
5ce9fa4dda
Changed default method queue to a background queue.
2015-04-20 12:02:04 -08:00
Nick Lockwood
ead0f2e020
Implemented thread control for exported methods
2015-04-18 11:13:39 -08:00
Alex Akers
8a57c4e980
[React Native] RCT_EXPORT lvl.2
2015-04-08 08:34:10 -08:00
Nick Lockwood
bf4868edda
Added non-class-scanning-based approach fror registering js methods
2015-04-08 05:45:20 -08:00
laiso
e35521300a
(Xcode) Set indent=2 in all xcodeproj files.
...
Summary:
These are default settings now.
I saw my Xcode be configured indent=4.
![2015-03-30 12 16 11 pm](https://cloud.githubusercontent.com/assets/39830/6889697/98f8b930-d6d6-11e4-81c8-d2146855d127.png )
Closes https://github.com/facebook/react-native/pull/472
Github Author: laiso <laiso@lai.so>
Test Plan: Imported from GitHub, without a `Test Plan:` line.
2015-04-01 17:14:45 -08:00
Tadeu Zagallo
20291a02df
[ReactNative] s/ReactKit/React/g
2015-03-26 02:42:24 -08:00
Nick Lockwood
19e328fb08
Added explicit types for all view properties
2015-03-25 21:20:24 -08:00
Basil Hosmer
e4bf45beee
flowify some Libraries
2015-03-24 13:27:00 -08:00
Christopher Chedeau
1aeb02ada3
[ReactNative] Expanded license on obj-c files
2015-03-23 13:18:29 -08:00
Christopher Chedeau
e1ef0328d9
[ReactNative] Expanded license on js files
2015-03-23 13:17:54 -08:00
Alex Akers
48cc440bd3
[React Native] Fix iOS 7 crashes b/c missing Photos.fmwk
2015-03-23 08:06:58 -08:00
Spencer Ahrens
9086365faf
[ReactNative] Strip prefixes from NativeModules keys
2015-03-17 21:54:27 -08:00
Spencer Ahrens
d8ee4e87a1
[ReactKit] Remove NativeModulesDeprecated
2015-03-17 02:48:58 -08:00
Spencer Ahrens
b396de3cc8
[ReactNative] s/RK/RCT in OSS
2015-03-17 02:48:57 -08:00
Tadeu Zagallo
28e38afb68
[ReactNative] Oss ActionSheet
2015-03-13 10:51:06 -08:00