Changing shape of UIView in Xcode 5? [closed] - ios

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 8 years ago.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
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
Improve this question
Is it possible to change the shape of the UIView from rectangular
to triangular in Xcode 5?

I imagine you mean interface builder? No. You can do it a few ways in code. Override drawInRect (preferred) OR create the view on photoshop (quick and dirty) and bring it as an image. Then set the background as clear and add the imageview to it.

Related

creating a simple vu meter [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I just want to have my subject talk into the phone and display the volume on the screen.
Any recommendations for an approach?
Thanks.
You can check SFGaugeView :
SFGaugeView
A custom UIView with a gauge control (tachometer like control).
This one "Detects swipe gesture and sets the needle/level appropriately.", but with a bit of work you will be able to disable that.
You could use LARSBar :
LARSBar
A UISlider subclass mimicking the awesome EQ slider found on Twitter's #music app.
If you need more precise help, tell us what you tried, what is working and what isn't.
Do you need help to get the level input in the mic ? Help to draw the view ? Be more precise.
Please see https://github.com/ChiefPilot/F3BarGauge
From their description:
This control is intended to replicate/simulate the level indicator on an audio mixing board. These indicators are usually segmented/stacked LEDs, with several colors to indicate thresholds. This control replicates that look, using Quartz drawing primitives, and auto-adjusts to horizontal or vertical orientation. Additionally, the colors, number of bars, peak hold, and other items are easily customized.
Apple also has some sample code that can be used to get you started: avTouch

How to make all pixels in an image transparent except for one color? [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 searched the web high and low and found some examples which lets you extract out one color and make it transparent for an image i.e. background color. This was done with methods like CGImageCreateWithMaskingColors. What I'm trying to do is the opposite though. I want to extract out all colors from an image except for one color. Is that possible, and how?

How to programmatically customize a polygonal frame view on iOS? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 9 years ago.
This question appears to be off-topic because it lacks sufficient information to diagnose the problem. Describe your problem in more detail or include a minimal example in the question itself.
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
Improve this question
Is there any possible to customize a view which it's frame is a polygon(such as a triangle) instead of a regular rectangle? (not just "draw" a polygon shape with CG)
Thanks.
No, all views in iOS have a rectangular frame.

Stroke Selection won't use selected color [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
I'm having this problem where stroke selection won't use selected color. So I'd select an area and go to Edit -> Stroke Selection then Gimp would automatically change my selected color to another color. I don't know how to fix this.
Finally figured it out! You need to change the color AFTER you open the Stroke Path (or Stroke Selection) dialog box. Whew! I was going crazy with this problem. I have no idea why so few people are encountering this bug.
user977151, use the option "Stroke with a paint tool", and if you wish, check the option "Emulate brush dynamics". It'll use your tool sets.

Animated Loading GIF [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
So, my background is in the color #DBDBDB. I need an animated loading image like this one for my site's background. Unfortunately since GIFs don't support partial transparency, I'm left with a white outline in my background. I've tried to take this image and edit it to use the same background color to no avail. Then I tried to make a loading animation of my own but that came out horrible. So I do not know what to do. Can anyone help me? I would like to use this image but instead of a white outline, I would like an outline in the color #DBDBDB or a background #DBDBDB
Or to be told how to do this in CS5.5
You can use the wonderful little service AjaxLoad to generate a loading animation for any combination of colors. Just pick #DBDBDB as the background color and use "Indicator Big" as your style.
Here's your image:

Resources