Posts

Post not yet marked as solved
1 Replies
416 Views
I'm reworking my app and update code and design. Because my app is one both iPhone and iPad, i'm using Splitview to handle the configurations. But my app has 4 section that I manage using a Tab bar and each tab has a SplitView. As you can see in images, the problem is that if I attach directly the UISplitViewController to UITabBarController you don't see two columns but only one (the primary or secondary view) both iPhone landscape orientation and iPad. A solution that I found is to attach the splitviewcontroller to a view that contains a ContainerViewController e connect the split view to this container. If you do this, you see the split view work correctly ma the problem is the customization of appearance (look at image 3) So may questions are: why I have to embed a split view in a container view controller and i can't connect it directly to tabbar as we done until now? Is there an other better solution then put a split view in a containerView? Thank you )
Posted
by Rufy.
Last updated
.
Post not yet marked as solved
0 Replies
130 Views
Is it possible to write sequentially on multiple tags using NFC? e.g. I have 10 tags and in my app set the number of writing and pressing on a button start first writing on first tag. when wrote, start an other writting and so on....
Posted
by Rufy.
Last updated
.
Post not yet marked as solved
1 Replies
312 Views
I'm creating a framework that allows you to easily create html and css web pages in ios style. As long as it's static components that don't have events (e.g. a webpage with a paragraph), that's okay. The problem arises when I have to create a button, recognize and capture the click event. In the same way, however, I have the problem of recognizing and capturing all the other browser events (e.g. the page is loaded into memory). In web development this is handled by javascript. But I would like to replace javascript with my framework and with swift. So how do I interact with browser events? do i have to install swift in the browser? how can I do? thank you
Posted
by Rufy.
Last updated
.
Post not yet marked as solved
0 Replies
479 Views
Hi everybody, for my app that is a dictionary I need to create some ML to analyze the text the users inputs in to search bar of my app to do correct search of word asked. I need principally POS and Lemmatization ML. Can you give me some example of dataset?
Posted
by Rufy.
Last updated
.
Post not yet marked as solved
0 Replies
435 Views
Hi everybody, I know that NSBatchInsertRequest doesn't let you to set the relationship between Entities. And if you try to set Xcode gets angry and says you that the problem is that record is in other context and you can't modify it. So, Anyone knows any solution, alternative to solve this problem? thank you
Posted
by Rufy.
Last updated
.
Post not yet marked as solved
1 Replies
482 Views
Any one knows a dataset for Japanese characters [kanji, hiragana e katakana] to create an ML for OCR? Or any one knows how can I make ocr with Japanese text using Apple's framework VisionKit?
Posted
by Rufy.
Last updated
.
Post not yet marked as solved
0 Replies
453 Views
The example used in the video is an update of the project used last year to explain the batch functions. in that project NSBatchInsertRequest is used to insert large data in few seconds but NSBatchInsertRequest could not be used to set the relationships. I don't understand if this is changed or not, but, if not, can I use the concurrency to set the relationship? is it possible to have an simple example in which you can save large data with relationship in few seconds?
Posted
by Rufy.
Last updated
.
Post not yet marked as solved
1 Replies
431 Views
I've a large data feed to load in database. this data populate many entities that are related each others. I've follow this official tutorial - https://developer.apple.com/documentation/coredata/loading_and_displaying_a_large_data_feed to use nsbatchInsertRequest. But this tutorial has one big bug: populate data only in one entity. How many apps use a database with only one entity? therefore the problem that I have not only me, but several people, is time. With nsbatchinsertrequst I was able to insert more than 30000 records in just 5 seconds with a use of just 25MB of RAM. But without setting up relationships. if after the execution of the various insertrequests I set the relations, everything takes me about 50 seconds with an increase in memory to 60-70 MB. Is it possible that there is no way to quickly set up relationships? Not only that, this is a forum where Apple engineers, who therefore know the subject better, should give help. but who knows why, for such questions they disappear. Maybe it's my posts that are so boring that Apple ignores them? Or are they so difficult that even apple engineers can't solve them? Who knows if I'll ever find the answer! But is it possible that they don't have a solution? These Apple engineers if they had the same problem as me, how would they solve it? they simply say: "it can't be done! Arrange!"? anyway, I hope that some Apple engineer or someone experienced will be able to find the solution at least to this problem. Or it will be another zombie post in the billions of zombie posts of people like me who pay $ 100 but get no support. Thank you
Posted
by Rufy.
Last updated
.
Post not yet marked as solved
0 Replies
353 Views
hi everybody, I have a database in which there are 2 tables with a one-many relationship. I need to use NSBatchInsertRequest because I have a large data’s to insert in db. I know that NSBatchInsertRequest doesn’t manages relationships. so how can I use NSBatchInsertRequest to insert data and insert the relationships? thank you
Posted
by Rufy.
Last updated
.
Post not yet marked as solved
2 Replies
4.3k Views
Hi guy,why Xcode ask me for many times to access the keychain and other times only ones or twice?and if I click on 'consenti' (in English 'allow') pop up other codesign prompt. I've counted there are 34 requestscome out.how can I solve this problem?these are two screenshot about problem
Posted
by Rufy.
Last updated
.
Post not yet marked as solved
2 Replies
480 Views
Hi everybody. I know that in iPhone X or iPhones that has the notch the upside down orientation doesn't work but when I rotate in landscape right or left passing by upside down orientation, iPhone doesn't detect the orientation. how can I detect these changes of orientation?
Posted
by Rufy.
Last updated
.
Post not yet marked as solved
3 Replies
648 Views
In iOS 8 Apple added in Core Text the Ruby Annotation, or the possibility to inject some character above the main text. This is very useful if you develop apps that shows Chinese or japanese text, writing that use this annotation. Up to iOS 10.3, is was simple use this feature: it was necessary only create an attributedText that was using the ruby annotation and pass the attributed text to the label and, that's it! in Apple way, (or very simple) you can show some text with ruby annotation with all the features of auto layout of UILabel. It was just missing the ability to put the text vertically and the UILabel was perfect. From iOS 11.0 this feature doesn't work! Why? "An Apple engineer had not documented the feature", Suggestion:"Create a label yourself that displays the Ruby annotation" (Apple's answer from Apple Bug Report). In internet there are some code to show ruby annotation but if the string is long the view or label doesn't become bigger an trunk the string. the scaling text, doesn't work. This is because you have to override the draw method and use Core Text to draw the text. I am trying over and over again to create a label that allows you to view text with the ruby annotation, but I have major difficulties: Core Text is no longer updated and many of the documentation pages are empty and without documentation. what little code there is is in objective C. There are no alternatives for displaying ruby-annotated text horizontally or vertically. TextKit doesn't talk about displaying text like that. My application is a Japanese language dictionary, so the ruby annotation is very important !!!! Is it possible that there isn't a definitive solution? is it possible that Apple can't add this feature because the engineer doesn't write the documentation to the feature that write? Is possible that an Engineer doesn't write documentation about a feature and for this reason the feature is removed ? Any Apple Engineer can help me to solve this problem? Thank you
Posted
by Rufy.
Last updated
.
Post not yet marked as solved
0 Replies
1.6k Views
is there a simple way to implement the ruby annotation?
Posted
by Rufy.
Last updated
.
Post not yet marked as solved
1 Replies
675 Views
From this i've used this code to create function that take a japanese string and return an nsattributedstring. until ios 10.3, this function worked perfectly. now with ios 11 don't work. i see only a plan string withount ruby annotation for furigana.How can I fix it?here there is an idea like mine:
Posted
by Rufy.
Last updated
.