I was not able to find a working example using the new NFCTagReaderSession functionality that has been introduced in iOS 13.
Perhaps some one could post one here.
please have a look at this stackoverflow entry -
it already contains some more infos:
"Missing required entitlement" for NFCTagReaderSession
e.g. after adding the entitlement, and the plist entry, you should focus on a supported polling option like iso 14443
Related
I'm trying top write my own Apple Homekit HAP server.
Looking on the official documentation for discovery over IP, using bonjour, there is a TXT record called sh (Setup hash).
I'm guessing this is the code that i need to input into the home app so that it starts pairing. However, i cannot find any more details about this in the documentation. It says "See (”?? ??” (page ??))".
Where could i find more details about this, or is there some more detailed documentation that i could use?
Thanks
the setup hash is new in specification revision 2 and does not appear in specification revision 1. In my homekit project (https://github.com/jlusiardi/homekit_python) I did not update this after specification revision 2 came out.
HTH
I'm trying out RxBluetoothKit and one of the bullet point features is "Documentation", but the link for that leads to a page which is just a copy of the README with a sidebar saying "Error Parsing Pod Could not find Objective-C Classes."
The README is quite detailed, and the sample code is useful, but an API reference would be nice for the more tricky details. For example, the README has an example with this code:
peripheral.connect()
.flatMap { $0.discoverServices([serviceId]) }
I have no idea what type serviceId is - I presume it's not a string.
All of the documentation is written above the methods so while typing discoverServices in Xcode you should be able to click on method with options key and little popup will come up with formatted documentation. Our doc is formatted by the CocoaDocs - it appears that it has some problems. I'm working on fixing it - here you can find the issue Github issue
And here you could find proper link to documentation: RxBluetoothKit documentation
I have my custom rule, let's say with AEM-1 key. So, as it is done here, I make my AEM-1.html resource file with some simple html content and it does not get's picked up by SonarQube 5.1. It refuses to start, because no description is provided for the rule.
I tried different packages names, tried to look for convention in source code etc. What's missing? Is there any documentation on that?
The naming convention is org/sonar/l10n/{plugin key}_{language}/rules/{repository key}/{rule key}.html.
It was documented in http://docs.sonarqube.org/display/DEV/Internationalization at the time rule descriptions supported localization. That's not the case anymore since version 4.2, but these HTML bundles are still supported.
The correct way since version 4.3 is to use the low-level API org.sonar.api.server.rule.RulesDefinition. It allows you to implement any kind over layer over it (xml, json, annotations, ...).
Now I have some files in the Document folder,and I use [UIDocumentInteractionController interactionControllerWithURL:myFileA]; to get the doc controller and the I use [UIDocumentInteractionController presentOptionsMenuFromRect:inView:animated:]; to present one options sheet.So now I have 2 questions:
[1] How can I give the doc controller more than one File URLs? Is there anyway to achieve this?
[2] I find that the method [UIDocumentInteractionController presentOptionsMenuFromRect:inView:animated:]; works fine in iOS6 or later, but not in iOS5.1. Why?
Hope your answers.Thanks a lot first!
1st question: I don't think you can do that, with that particular API, looking at the documentation.
2nd question: As stated by the documentation,
The options
menu may not be displayed in cases where there are no appropriate
items to include in the menu.
These include files with unknown extensions. iOS6+ however does handdle this well.
I had a similar experience to your problem in [2] while testing presentOptionsMenuFromRect:inView:animated: on iOS 5.1 and 6.0. In iOS 6.0 I got a full menu with apps and other options depending on the file. In iOS 5.1 I had a somewhat different experience than you: I got a menu with only one option.
The solution for me was to use presentOpenInMenuFromRect:inView:animated: instead for iOS 5.0. This at least gave me more than one app to open the document in.
For [1] I agree with the others that this isn't possible as of yet.
I want to change the default behavior of XCode (4) for aligning brackets from this:
- (BOOL)someValue {
return _someValue;
}
To this:
- (BOOL)someValue
{
return _someValue;
}
I've reviewed the docs here:
http://developer.apple.com/library/ios/#documentation/DeveloperTools/Reference/XcodeUserDefaultRef/100-Xcode_User_Defaults/UserDefaultRef.html#//apple_ref/doc/uid/TP40005535-CH3-SW57
But I still dont' understand how to make the change. Any help?
First off, the documentation you referred to is for XCode 3.1 (I've linked the introduction page which says so clearly). Judging by the number of comments on devforums.apple.com about this, I think the XCCodeSenseFormattingOptions key no longer exists under the new XCode4 defaults (which are stored under bundle ID com.apple.dt.XCode). If you want this particular feature restored, file a bug with Apple.
Secondly, you might be able to do what you're looking for by modifying templates. I discovered this very related question, but there's no tacit confirmation there that the suggestion actually succeeded.
You could try using an application called Snippet Edit that allows you to easily edit all of the supplied code snippets. You will need to be using Xcode v4.3 or later though if you wish to use it.
The application can be found at http://cocoaholic.com/snippet_edit/