I have a table view project with multiple controllers and another one that is a image gallery project and have a Three20 project added to it. I found it in internet.
So i want when a table view cell is tapped a image gallery opens. Both projects work fine when i test em separated . I tried dragging gallery project and adding it to my main project ,but and then adding a headers to my project ,but the only thing i got are errors. Any ideas
It's hard to tell you anything, because you didn't mention detailed information of your works. At least, we must know that if you are using XCode 4, what kind of errors you have got! and so on...
Moreover, do you know how to link static library into XCode project. That's the way it should work!
Related
We have a standalone video playback app, in which we have Chromecast working fine. Now we are trying to convert this app as a framework and add it in the parent app.
While building framework, reference error pops up. If I comment out the code in RNGoogleCast.m, where these classes [see attached image] are referenced then the framework builds successfully and works fine with parent app. With commented code, I don't see the chromecast button while playing video.
In Build Setting of Framework, other linker flags set to -ObjC. If I remove it or keep the same value as an app, then frameworks build successfully but don't work with the parent app.
Please let me know if you need more information from the app or framework.
Can someone help me to get rid of these errors and get the chromecast button enabled while playing video?
Also, raised issue here: https://github.com/react-native-google-cast/react-native-google-cast/issues/126
Linker errors come when you're trying to use certain classes and the linker doesn't know where they come from. Chances are, you imported the correct header files, but you have not added linked frameworks/libraries that contain the GCK* classes.
To fix this issue, you should go to your project settings, then build phases. Open the dropdown menu "Link Binary With Libraries", and from here you can click the plus to add the framework/library. In your case, I believe it's GoogleCast.framework. With Cast, there are a few extra steps listed here: https://developers.google.com/cast/docs/ios_sender
I've created an app using Shoutem Builder, but the builder isn't able to do everything I need it to. I've created a local copy with shoutem clone so I can edit the screens myself; however, I'm unable to locate exactly where I would find the file(s) to add the code to the dozen or so blank 'About' screens I have in my app.
I've thoroughly searched the documentation, and while it's got information on editing a screen created using the CLI, I'm unable to find any thing related to how to locate and edit individual screens created in the builder. Would these screens need to be deleted using the builder and created one-by-one using the CLI in order to be edited locally?
AppName/extensions/shoutem.about/app/screens/AboutScreen.js, as seen here.
Each screen you add re-uses the same code from the About extension. It'd be rather wasteful to create a dozen of the same files.
If you need each of the different screens to have a different layout, you can consider making custom layouts for the About extension and then use each of those for each of the separate screens on the Builder. You can find out how to make custom layouts here.
I have been using Titanium for years now using Classic (even before Titanium was using eclipse or commonjs was a thing).
I am making the switch to try an app in Alloy and so far it isn't too difficult to grasp.
One thing I cannot figure out is I am not able to rename the very first view (and controller/model files) to anything other than index
I want my first view named login since my first screen will be a login screen.
I renamed the XML, TSS and JS file all to login.* and I get an error say no file called index was found.
I've searched and cannot find anything that answers this.
You can not change the name of the first view. The index controller will be fired first, you can open from there the login screen.
Ok, so I am an extremely novice programmer. I know next to nothing (which is why I am asking you guys.) So, I built a tab bar application in xcode to run on my iPhone. (I used this turorial: http://fuelyourcoding.com/creating-a-tab-bar-application-using-storyboards-in-xcode-4-2/) Everything from that point of view works great, the tabs all go to the correct pages and I know how to add more pages if I want to. The problem that I am coming across is that I want a good amount of the tabs to be web views. The problem that I am facing is that I can get the first view controller to work (thanks to this tutorial: http://conecode.com/news/2011/05/ios-tutorial-creating-a-web-view-uiwebview/) but I have no idea how to get another one to do the same thing. I have googled and what I get is just a bunch of code that I have no idea where to put. Any help?
In Xcode, I am just trying to get an image to show up in my app. I tried taking an image I had previously used in the app and put that into a uiimageview and still, when I build, nothing shows up. I have tried deleting the image file from the app and putting it back in there, I have tried to clean the app and then build. Nothing I am doing works. I just want to be able to put an image in the view and have it show up!
Most propably you're just have a typo in the name of the image - in imageNamed: - it happens sometimes) And it's case-sensitive - so double check the name.
It's possible that the image is not added as a bundle resource. To do this, you should go to your target settings, and then to Build Phases and later check if this image appears in the Copy bundle resources section. If not, add it by pressing the + button at the end of the list.
I don't know why but in the latest Xcode if you add an image, delete it and then add a new one with the same name, this is not added to the Bundle resources.
Please check if your images are added to the target which you are trying to build.
Sometimes, it happens when you have two targets lets say one for DEVELOPMENT and one for TESTING and images are added only at one target.
Please re-check if that is the case.