Tagged Questions
1
vote
0answers
13 views
Why does my collection view header 'flash' white when I insert an item into its section? Any way to prevent this?
I have a collection view with both a header and footer. When I insert an item into the collection view using insertItemsAtIndexPaths, the header 'flashes' white, almost as if its reloading. Is there ...
-2
votes
2answers
17 views
Unknown class in Interface Builder file [closed]
I know that if this problem occurs, solution is as below:
Do this, in order:
Product->Clean in Xcode
delete the app from the simulator or device
restart Xcode
(Build &) Run again
If this ...
0
votes
0answers
36 views
Some nib objects are not init in iOS6
So I've been having problems with this for a while and not really noticing it I think. However I tried to do something basic this morning and I can't see why it's doing this, so I though I'd ask about ...
0
votes
1answer
17 views
Loading a view from NIB, IBOutletCollection is nil even though other IBOutlet's are working fine.
I laid out a view in a NIB file, then added my UIView subclass as the file owner.
The subclass looks like this:
@property (nonatomic, weak) IBOutlet UILabel* categoryLabel;
@property (nonatomic, ...
0
votes
1answer
28 views
Why won't my IBOutlets show up in my list of Outlets in Interface Builder?
I basically have code that reflects the answer from Connect a UILabel in Interface Builder and XCode?.
In one view controller I have several UILabels whose text is set by some other methods I have ...
0
votes
2answers
42 views
UICustom Button scale wrong
in Interface Builder I build this view. The 1s are UIButtons
but on Iphone 6 Simulator, it looks like this
I set 6 of those Views next to each other in a horizontal scrollable UIScrollView.
...
0
votes
1answer
20 views
iOS: How to get a modal view to partially cover the parent view?
I am quite new in iOS development and I am facing an issue with the design of navigation. So my goal is simple: I have a view with a right navigation button which I want to open a modal view that ...
0
votes
1answer
25 views
Why is my set cell height in Interface Builder not actually becoming the height in the app/simulator?
I set it to 95px in the storyboard. (Under size inspector)
But it ends up looking like this in the simulator (all squished):
I don't know what else to show. I don't know what's causing it. No, I ...
1
vote
2answers
53 views
UIScrollView is cut off from UITabBarController
I have a UIScrollView that I place inside of a view (interface builder document .xib/.m/.h), however the lower portion of the UIScrollView is getting clipped and not showing the lower half of itself ...
0
votes
1answer
77 views
Using Interface Builder in Xcode 4.6.2
I have just updated my Xcode to the latest version and the IB is quite different from the version I used before. I've created some IBOutlets and whereas before I could drag from the Files Owner to the ...
1
vote
1answer
24 views
UIScrollView does not work after adding elements to it
I added a scrollview to my view and added the following code in my viewDidLoad-Method:
[scroller setScrollEnabled:YES];
[scroller setContentSize:CGSizeMake(320, 600)];
When i start the app with my ...
0
votes
3answers
37 views
Applying same UI changes to many elements
A problem I often face is how to apply same changes to many UI elements in the same view.
What I'm looking for is something that would work like this Python pseudocode:
def stylize(element):
# ...
0
votes
1answer
54 views
Dynamic uiview layout with auto layout
I'm working with autolayout and its been going very well so far but right now I am at lost as to the way to proceed to achieve the design I want.
I got a a small questionnaire with 2 sections. Each ...
0
votes
1answer
53 views
Iphone: How do I add a text view that the font size decreases to fit text view size when needed to
I am trying to make a UITextView, where the font size is adjusted to fit the size of text view. For example if you type a lot of text, and it is about to fill up the text view, the text will get ...
0
votes
1answer
54 views
Moving between Storyboard scenes - Segues and Unwind
I hope this makes sense and hopefully you can see in the picture the buttons in the top right of each scene to move to the others.
So far I can move from "Sine Wave" to "Saw Wave" with a modal segue, ...