How to render a 'Glass Jar' image in IOS app using SwiftUI? - ios

Newbie question. Please delete if this is not right forum. I am helping my 11 years old son enhance his simple text based IOS App. He wants to add a Glass Jar to his App. The goal is to use it to add ideas written on virtual post-it, into the Glass Jar. He wants to do the visual implementation. I have listed the steps we are looking for guidance.
Requesting help with the following questions.
Is it better to use an image of a glass jar or create it as custom graphics? An example image is attached.
If custom graphics, any pointers?
If an image, how to add the effect that ideas are accumulating in the jar.

Related

iOS Resizable GUIs with JUCE

I'm using the JUCE framework to make my first few iOS apps, mostly just proofs of concepts for my Github account for job recruiters.
I've got my first app compiled and working on iOS, but I'm having tons of issues with the GUI.
I can't seem to find the right resolutions to fill the screen. I'm testing with an iPhone 7 Plus, and I figured I could just type in the resolution of that screen to the Projucer, but it doesn't work correctly.
Then I realize I'd probably just want one that fills the screen automatically, but dont know which function calls to use or where its located in the Projucer (haven't found it yet).
Also, I'm entirely new to GUI developing as of December, so I'm still learning all of this. I would greatly appreciate keeping it simple. Thank you to anyone who is able to help.
Try this in MainComponent.cpp
Rectangle<int> area = Desktop::getInstance().getDisplays().getMainDisplay().totalArea;
centreWithSize (area.getWidth(), area.getHeight());

Can I use the default image editor available in my iOS app?

I want to implement an image editing functionality similar to the native one provided by Apple in iPhones. Is it available to use inside the app? If not then is there any similar library available?
Yes, you can do this. You can't just pull up the built-in editing controls, though. You'll need to apply filters and effects using CoreImage.
This tutorial has a step by step process on how to apply filters like sepia and black and white.

Image morphing by integrating OpenCV2.framework in iOS

I am new to iOS and I am planning to work on my first app in which I have to morph one image into another smoothly. I have downloaded OpenCv2.framework and I am planning to integrate into my code. I have gone through some links showing the mathematical calculations required in this but I couldn't get it. Can anyone please suggest me some way or some sample tutorial demonstrating that how can we integrate and use OpenCv2.framework to morph one image into another in ios? Thanks.

iOS iTunes Album Cover type (or similar) Image Display

Is there any tutorials that show how to make a Image display similar to the Album Art diaply in iTunes? Or anything similar. I followed code posted here, but I just cannot seem to get it working in the new XCode. Opening his project works fine, but using it in my own, the UIImageView renders the images beyond it's borders, making them appear over each other.
Any help would be appreciated.
I assume you're talking about CoverFlow?
I wrote a free, very easy to use CoverFlow library. It's modelled on the way that UITableView works, so if you can use that, you can use this. You can get it from here:
https://github.com/nicklockwood/iCarousel

Add styles to dynamically downloaded images in iOS app

My question is: Since I have an app that downloads images from TMDB (the movie database) and I can't edit them in Photoshop before adding them to my application I was wondering if there was a way to add effects. Like a nice drop shadow and a 1 pix border to my images dynamically as they are downloaded or referenced from within application? (during development)
I can't seem to find a way to do this. I'm probably looking in the wrong place though.
Any help?
You can easily do all that using Quartz.

Resources