Graphic effects library for Core Graphics? [closed] - ios

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I've reached a point were I can't keep procrastinating the writing of the graphics part of an iPhone app.
What has kept me from digging into it so far has being that it feels hard to figure out how to realize my idea of having "glowing", "sparkling" effects on some lamps. I used to be good at such things back in the days of the Amiga scene. But today I'm clueless. Now I can see that there are so many iPhone apps with completely stunning graphic effects. So. I'm wondering if someone knows about available libraries for creating those? Open source preferably, but I'm willing to pay some for it if it comes to that.

The easiest approach may be to render all your effects as PNGs with transparency in a drawing/painting program and just position/build/animate them on the iPhone itself. This will work for glows, particles and similar effects.
CGImage is the fastest rendering source for image data and you can either layer them manually in a single view (by positioning and drawing yourself) or draw to separate UILayers and use the layer to animate.

Maybe SDL could be helpful.
EDIT: just for motivation
iPhone SDL Test
iPhone SDL Test 2
iPhone SDL Test 3

Related

In Swift 4, how do you create bright/shiny/glowy views? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
Im trying to create a view that glows very intensely and in the dark even, kind of like what this app here has accomplished (https://itunes.apple.com/us/app/mood-colors/id545822095?mt=8). I tried adding a sprite kit particle to the view and started messing with that but it really didn't take me anywhere and I couldn't get the results I wanted. Any help would be greatly appreciated. Also, incase you want to know, I am working with Swift 4 on a regular single view app and I am a bit of a beginner.
Thanks in advance.
This is only images showed with bright colors. If the images have very vibrant colors this could be achieved. It also looks like there are several shapes that the user can set a color to themself. But please bear in mind that phones using OLED (as iPhone X) can burn the image in and destroy the screen if something is shown very statically.
If you like to draw shapes (like a star) there is a solution That can be found here
Happy coding!

How to Style UITableView Cells to Look Like Message Bubbles? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I'm creating a message app in Swift to grasp the foundations of iOS app building and am trying to style the table view cells to look like this.
I've been following tutorials but I can't seem to piece it together. It's got to be pretty simple. Does anyone have a good tutorial that does this in Swift?
I don't have a tutorial but I can give you some suggestions.
An easy way to handle this is to create a stretchable image and install it as the background image for your cells.
A stretchable image has fixed corners/edges, and the system flood-fills the center with a solid color. You take an image like your speech bubble and pare it down to the smallest possible image (with a 1 point center) and then use the UIImage method resizableImageWithCapInsets: to turn it into a stretchable image.
You'd then install that stretchable image as the background image for your table view cells. If this is a chat app you might want several variants: one with the speaker's arrow pointing left, one with the speaker's arrow pointing right, and perhaps different colors.

iOS text-based adventure game / eBook: Should I use SpriteKit or UIKit? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
I want to create a text-based iOS Game, resp. interactive ebook. I will create chapters that get gradually unlocked after the player/reader has decided which path to take next. He/She cannot undo this decision. Music and little animations are involved as well.
From what I've learned so far, I think using Storyboards would make sense to stay organized with the different parts, but I am insecure whether to use Apple's own game framework SpriteKit or standard UIKit since little pixel art animations and music will be involved? Would it even make sense to mix them?
What would you use? Thanks a lot in advance!
it depends on but basically it should be totally fine to go with UIKit. The great thing about it is you can integrate parts as you wish and can mix it as well. So in case that you need some more fancy effects you can move over and embeeded an view based on Spritekit but you can handle simple animations and effects easily with CoreGraphics/ CoreAnimation which are also part of UIKit
https://developer.apple.com/library/IOS/referencelibrary/GettingStarted/GS_Graphics_iPhone/index.html
best regards
Schreda

how do i change only the eye color on an image (uiimage)? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
I have an iphone app with a picture of a face in the uiimage. I want to only change the eye color on the face by tapping on a button or tapping on a color wheel. Can you give me some help in what code I would need.
I would suggest taking a look at OpenCV. It works quite well on iOS devices, the main code comes with examples on how to build iOS applications and there is a lot of material on how to do eye detection and from there you should be able to change the colors.
Keep in mind this is not a simple task and you could accomplish with a easier thing. But you could learn a lot and there are tons of good resources around this topics.
If you want to do something faster, you might be able to just detect the touch on the UIView(enable user interaction) and present a color picker, after the color has been presented you could create a simple view on top of the image that has a circle with the color that was selected. It would be crappy, but might be a good idea to do a simple simple prototype.

Where can I find a map control for Delphi? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
I am trying to build an option in a application that let user see a map. This map must be editable, and tag enabled. It should also be possible to see sub regions in different colors, and highlight the one under the mouse.
TGlobe is good one, but hasn't updated since 2004, If you need more than showing a map, and build a GIS like application I suggest use one of these:
TatukGIS (very powerful GIS Components and writing as Native VCL).
CartoVCL.
MapObjects (the Leading GIS Company, but the components are ActiveX).
There used to be a component named TGlobe, which I've never used.
The website has not been up dated since 2009, and it is no longer available as of 2013.
TGlobe 5 is a VCL component for Delphi 5, 6, 7, 2005 plus CBuilder 5 and 6.
TGlobe displays a Globe of the Earth which can be rotated, panned and zoomed in realtime. The globe contains map data in the form of Point, Lines and Polygons.
TGlobe organises map data into Layers. These layers can be nested together to build up a hierachy of related layers.
TGlobe can switch between the 3D spherical view of the earth and Cartesian, Mercator or user defined projections.

Resources