UPDATE: After a lot of direct testing; this technique does NOT work for fixing and/or updating iOS delegates. NativeScript does NOT follow the JavaScript specs in this area. (in other words NativeScript is broken/buggy here, but I do not expect to see a fix for it.) So even though the JS engine updates the… Continue reading NativeScript iOS Delegates and easy access to modifications.
Tag: iOS
NativeScript and Console logging on iOS (including XCode 9)
Been a while since I posted; and most this info was going to be presented at the NativeScript Developer days speech that we ran out of time in our cool session. So I'm going to present it here, because I think this will help a lot of people. First of all, NativeScript has an issue… Continue reading NativeScript and Console logging on iOS (including XCode 9)
NativeScript: Tip for iOS Plugin authors
One of my friends (Nathan) was working a plugin and for some reason it wasn't bringing in the metadata on iOS. In fact it acted like the Cocoapod did not exist. If you attempted to use my suggestions for iOS Metadata Generation then you would see that no meta was generated for that plugin. Well… Continue reading NativeScript: Tip for iOS Plugin authors
NativeScript: iOS Tip - See the Metadata & typings .d.ts files generated for your Cocoapod Plugin
One of my debugging tools when something doesn't seem to work as expected on iOS is to tell NativeScript to output the metadata while it is building the application. The easiest way to do it is: TNS_DEBUG_METADATA_PATH="$(pwd)/metadata" tns build ios This will create a metadata-xxxx folder (where xxx is the platform) in the root of… Continue reading NativeScript: iOS Tip - See the Metadata & typings .d.ts files generated for your Cocoapod Plugin