Zbarsdk query regarding barcode scanning - iphone

i have imported ZBarSDk in my project and trying to access it it's showing any class regarding in my view controller ,but if i am trying to do it in my logging view controller ,its not showing any classes

Related

Controller not getting loaded with custom tile

I have made a custom tile with sap ui5 using generic tiles.Now i'm using it as my custom tile in fiori launchpad.So,when the application loads , it loads the xml view for the tile but gives 404 error for the tile's controller.
The view instantiation resulted in js errorError: failed to load
'tile2/viewTile/controller/View1.controller.js' from https://sapui5.hana.ondemand.com/1.64.0/resources/tile2/viewTile/controller/View1.controller.js: 404
Though the xml view is getting loaded also the namespace and everything else is getting configured automatically
Name:
viewtile.view.View1
Prefix:
viewtile
Path:
/sap/fiori/viewtile/
Getting this
Actual result should be
Please check your configuration and paths.
The error message says:
“… failed to load … from https://sapui5.hana.ondemand.com/1.64.0/resources/tile2/viewTile/controller/View1.controller.js: 404”
You won’t find your own developed View1.controller.js on https://sapui5.hana.ondemand.com/1.64.0 .
A similar problem was discussed here: https://answers.sap.com/questions/98633/fiori-launchpad-custom-tile-controllerjs-path-issu.html
The answer was to remove the application name from the view and controller files when deploying to the Fiori Launchpad.

How to pass a variable to two different view from a controller in Laravel

I am working on developing a social networking site.
In my view folder there are two different folders:
1.layout:
Layout have app.blade file: This file contain an notification header like fb. example:
Notification example Image
2.user : User have home.blade file: it is contain home view.
Now when any user logs in it goes to home view first,Home view fecthing data from home controller Like this :
return view('home',compact('data','postblog');
But I also want to show a notification in notification section of app.blade file. So, My question is how can I send the data to that view too along with home view?
If you know any other way of doing this, please guide me.
app.blade.php can access your data directly. don't need extra options as mentioned above by Ray Cheng.
Or you can do that using view composer method For more : https://laravel.com/docs/5.4/views

create Property view rcp

Hi I am new to Eclipse rcp. I am developing a small application. In this application I want to show property view corressponding to the selected file.
I referred to this article : http://www.eclipse.org/articles/article.php?file=Article-Adapters/index.html
However, I am unable to find how to create property view and show it in my application perspective. Like shown here: http://www.eclipsepluginsite.com/properties-2.html
So, instead of eclipse application , it should be my application , my navigator view and my property view.
The Properties view has the id org.eclipse.ui.views.PropertySheet, there is a constant for this value IPageLayout.ID_PROP_SHEET.
So if you are using a Perspective factory for your RCP then you need to do an addView for IPageLayout.ID_PROP_SHEET to the main IPageLayout or an IFolderLayout.

add an Xcode project to an existing one

I want to combine two Xcode projects into one app. I have project-one which is working fine and project-two w/c is also working fine. project-one is more like of an ebook gatherer and project-two is the ebook reader. The two works fine separately. I drag and drop project-two into project-one and add project-two as dependency for project-one. I get no errors when building the app and It runs normally until I open a tab(the whole app is a tabbarcontroller).
I have a 'books' tab and when I tap this, I want to run project-two in this tab. I tried calling the nib from project-two to load when the 'books' tab is tapped but it gives me a warning 'Unknown class RootViewController in Interface Builder file.'. So how can I successfully link the two projects so I can load project-two in my 'books' tab?
Thanks!
Despite the "Unknown class MyClass in Interface Builder file." error printed at runtime, this issue has nothing to do with Interface Builder, but rather with the linker, which is not linking a class because no code uses it directly.
“Unknown class in Interface Builder file”

Difference between tabbar based application and tab bar view controller in iphone?

I am new to iphone development.what is the difference between tabbar based application and creating a tab bar using tabbar controller in a view based application.Which has the major advantages?Thanks.
The only difference is what code is auto-generated for you. You could recreate either project from a "Window-based application" project by adding the appropriate components.
If you're new to iPhone development, you can bootstrap your learning process by having Xcode generate the most detailed project that applies, so you don't have to do so much bookkeeping to start.