Posts

Post not yet marked as solved
23 Replies
Got the same issue. I explained it all here.
Post not yet marked as solved
26 Replies
The same thing happens to me as well, but only in the last xcode beta version (v14 beta 5). I have a very veeery simple use case: NavigationStack(path: $router.homeNavPath) {                 Form {                     Section {                         ForEach(Item.dummyItems) { item in                             NavigationLink(value: item) {                                 LabeledContent(item.name, value: item.price, format: .number)                             }                         }                     }                 } .navigationDestination(for: Route.self) { route in           switch route { case .testHomeDetailView(let item): DummyViewHere() }             } } final class Router: ObservableObject {     @Published var homeNavPath = NavigationPath()  } The above view is literally everything i have inside the HomeView's body, nothing more. Inside the main app struct I have this: @main struct Test_App: App {     @StateObject private var router = Router()     var body: some Scene {         WindowGroup {             HomeView()                 .environmentObject(router)         }     } } If I tap on any item from that list it navigates to the dummy detail view but after not a second it pops back the screen to the home view.... this didn't happen in the previous versions of xcode... Furthermore if I add a second section to the form like so: Section {                         VStack {                             Text("Home view")                             Button("navigate to test detail screen") {                                 router.homeNavPath.append(Item.dummyItems[0])                             }                         }                     } Now if I tap the second section's button it behaves like before (it's going to the detail screen and gets almost instantly popped back), but as an extra I also get this warning: Publishing changes from within view updates is not allowed, this will cause undefined behavior It doesn't matter if you replaced Form and Section with just a plain ScrollView or not, or if you replace the ForEach with a List, the behaviour is gonna be the same. Furthermore if I use NavigationSplitView and i have a NavigationStack in the detail callback with the same path of router.path i get these warnings now: Test[56762:693175] [UILog] Called -[UIContextMenuInteraction updateVisibleMenuWithBlock:] while no context menu is visible. This won't do anything. Update NavigationRequestObserver tried to update multiple times per frame. Update NavigationAuthority bound path tried to update multiple times per frame. Now for the "Update NavigationRequestObserver" warning I haven't found anything yet anywhere which is kinda scary in a way. I'm pretty sure it's some sort of a bug in this beta version, but if it's not, then the new navigation api has got some serious issues. I really hope it's gonna be ok and fixed asap. EDIT: I found out in the end that the reason why it's navigating to the detail screen, but it's popping back in not even a second after, is because inside the DummyViewHere() (the detail view basically) you must NOT have a NavigationStack, but just build the content that would go in the nav view. I added the navigation stack by mistake in the detail view, even though it was just one place where i did this mistake. Lack of attention... Still the other issues persist.
Post not yet marked as solved
2 Replies
Hello there, I also have a limited company based in Romania and I've searched the internet for some guidance and i found out this great great blog post which explains how to correctly fill out the US Tax Form w-8ben-e for a limited company based in Romania. This is the link: https:// www .cristiangutu.pro /***-completezi-un-formular-w-8ben-e/ (sorry but i had to space out the url or else i wouldn't have been allowed to post it here, at all...) If for some reasons the link gets outdated and won't work in the future I will explain here what's important: For "8. U.S. taxpayer identification number (TIN), if required" you don't fill in anything, you leave it blank. For "9b. Foreign TIN" you fill in your company's fiscal code not your national ID number (with or without the country code RO in front of the number). For 9c if you have it leave it blank, the same for 10. Now onto the fun part: Part III: Claim of Tax Treaty Benefits: For "14a and 14b" you check them both, leaving "14c (if you have it)" empty. For the dropdown option on 14b you select this: Type of limitation on benefits provisions: Company that meets the ownership and base erosion test. For "15 Special rate and Conditions" you fill it like this: The beneficial owner is claiming the provisions of Article and paragraph Article 7 - Business Profits of the treaty identified on line 14a above to claim a 0.00 % rate of withholding on (specify type of income): and here you only check the first option -> Income from the sale of applications. Then for the explanation under "Explain the additional conditions in the Article the beneficial owner meets to be eligible for the rate of withholding" you type in this: The company is resident in Romania and does not carry on business in the United States nor does it have a permanent establishment in the United States. (Romania-US Convention for the Avoidance of Double Taxation of January 1st 1974). Finally for "Part ***: Certification" you only check the first option and then sign your name, check anything else that you might have to check and submit the form.
Post not yet marked as solved
12 Replies
Hello there, I also have a limited company based in Romania and I've searched the internet for some guidance and i found out this great great blog post which explains how to correctly fill out the US Tax Form w-8ben-e for a limited company based in Romania. This is the link: https:// www .cristiangutu.pro /***-completezi-un-formular-w-8ben-e/ (sorry but i had to space out the url or else i wouldn't have been allowed to post it here, at all...) If for some reasons the link gets outdated and won't work in the future I will explain here what's important: For "8. U.S. taxpayer identification number (TIN), if required" you don't fill in anything, you leave it blank. For "9b. Foreign TIN" you fill in your company's fiscal code not your national ID number (with or without the country code RO in front of the number). For 9c if you have it leave it blank, the same for 10. Now onto the fun part: Part III: Claim of Tax Treaty Benefits: For "14a and 14b" you check them both, leaving "14c (if you have it)" empty. For the dropdown option on 14b you select this: Type of limitation on benefits provisions: Company that meets the ownership and base erosion test. For "15 Special rate and Conditions" you fill it like this: The beneficial owner is claiming the provisions of Article and paragraph Article 7 - Business Profits of the treaty identified on line 14a above to claim a 0.00 % rate of withholding on (specify type of income): and here you only check the first option -> Income from the sale of applications. Then for the explanation under "Explain the additional conditions in the Article the beneficial owner meets to be eligible for the rate of withholding" you type in this: The company is resident in Romania and does not carry on business in the United States nor does it have a permanent establishment in the United States. (Romania-US Convention for the Avoidance of Double Taxation of January 1st 1974). Finally for "Part ***: Certification" you only check the first option and then sign your name, check anything else that you might have to check and submit the form.