davbryn

United Kingdom

n/a

Age: 32

iPhone developer C++ Programmer

Jan
31
comment Table view cell only masks correctly after scrolling off and then back on
The cells are recycled UIViews. Put a breakpoint on the in cellForRowAtIndex and you will see. If you want them to have dynamic content you have to supply a subclassed UITableViewCell that updates itself. This method is merely used to bring a new cell onto the view; it asks you for a cell when it needs to add one to the table (i.e it scrolls into view). Once you give it a cell it is your responsibility to update it - this is simply how the API works
Jan
31
answered Table view cell only masks correctly after scrolling off and then back on
Jan
16
answered Can AVCaptureSession use custom resolution
Dec
26
awarded Good Answer
Dec
10
comment Method to toggle camera inputs does not work in reverse
Are you definitely reading the device position you pass into [self cameraWithPosition]?
Nov
28
comment Get Values From Json Object Objective C
sigh yes: or else, that would be an answer on any objective-c tag...
Nov
28
comment Get Values From Json Object Objective C
This doesn't answer the question at all - too vague. You might as well have told the asker to 'learn objective-c'.
Nov
28
comment Get Values From Json Object Objective C
No, you should act maturely and question it rather than labelling it a 'nonsense' within two minutes of me posting it. I reviewed the code I posted and corrected it. Leave your rudeness at home please @gnasher729: this isn't the place for it
Nov
28
answered Get Values From Json Object Objective C
Nov
18
awarded Caucus
Nov
7
comment Counting Objects in NSDictionary
(To clarify, calling 'count' on your dictionary returns 1 and calling 'count' on your array returns 3 ) I'm glad it solved it for you, but we need to have useful answers on the site for future users. Returning 1 is not the answer to a question called "Counting Objects in NSDictionary"; this is the reason for my contribution (it isn't a personal dig aimed at anyone)
Nov
6
answered Initializing Global Variables in Obj C
Nov
6
comment Initializing Global Variables in Obj C
Your Globals.m should simply have the arrays declared at the top of the class, i.e NSArray *CompetencyOne = @{....};
Nov
6
answered iOS and Xcode : How to set the code signing for deployment?
Nov
6
answered String saved in IOS app, accessible from web browser. Best method?
Nov
6
answered Counting Objects in NSDictionary
Oct
27
comment Image is getting added automatically in UItableView Cell?
Put the second block I posted immediately after you fetch your cell (HomeCell *cell = ...) to clear the image. Then, where you create tv_image you apply the tag to it. If tv_image is not nil, you can skip the initWithFrame and tag etc since it will be using the recycled version
Oct
26
comment AVAsset Saving video in iOS with image overlay ruins video
Are you making sure you set a transform on your AVMutableVideoCompositionLayerInstruction? Setting this to either the clips prefferedTransform or creating a portrait transform might help
Oct
25
answered awakeFromNib calling every scroll
Oct
24
comment Rows in tableViewCell changes their places when scrolling
@Paulw11 you learn something new every day!
1 2 3 4 5