Posts by CCastro • 549 points
12 posts
-
1
votes1
answer148
views -
2
votes3
answers135
viewsA: Why 1 2 is 3 and why when I display 0x33 appears 51 and 022 appears 18?
First case, the sign of ^ php is part of the bit-by-bit operators. In this case the ^ is XOR (Exclusive OR), Bits that are active in $a or in $b, but not in both, are activated. So 1 ^ 2 = 0001 ^…
-
3
votes2
answers105
viewsA: How do I use dynamic information coming by ng-repeat {{}} and use it as the argument of an ng-click (button) function?
Do not need {{}} just remove this. example: <div class="card" ng-click="goToListaDeRespostas($index)" ng-repeat="item in lista | orderBy:'ordem'"> or <button ng-click =…
-
1
votes1
answer1027
viewsA: Doubt about the Ngfor
Your first select will be fed by your initial list and the second select will be fed by another (still empty) array. When the user selects the item in that first select, vc calls a function q will…
-
1
votes1
answer24
viewsA: Objectie-C - How do I get a response from an API when sending a message?
Through the following delegates: -(void)connection:(NSURLConnection *)connection didFailWithError:(NSError *)error{ NSLog(@"did fail"); } -(void)connection:(NSURLConnection *)connection…
-
2
votes1
answer90
viewsA: Swift - Activity index on Table view
Load the activity indicator in viewDidAppear() and not viewDidLoad()
-
1
votes2
answers230
viewsA: IOS - Prevent the keyboard from hiding Text Field?
Create delegate for textfields and Iboutlet for scroll and use the following code: SWIFT: func textFieldDidBeginEditing(textField : UITextField) { var pt : CGPoint var rc = textField.bounds rc =…
-
2
votes1
answer79
viewsA: Tableview, delete cell but not section
Apparently, these lines have no bearing on anything: NSArray *noSpotsHere = [NSArray arrayWithObjects:@"This section has no spots.", nil]; [thisSpotContainer insertObject:noSpotsHere atIndex:0];…
-
1
votes1
answer98
views -
1
votes1
answer81
viewsA: indexPath does not match the content in tableView
I believe the problem you’re having is because of: arInfos = [[Nsarray alloc] initWithArray:[[arMain objectAtIndex:indexPath.Row] You point the arInfos to an array and then add it to arInfosAll The…
-
6
votes2
answers269
viewsA: Form php takes different value than typed
Friend, the error is here. $name_student = isset( $_POST['name-student-form'] ); $email_student = isset( $_POST['email-student-form'] ); The function isset() only returns if the variable is set or…
-
11
votes3
answers4980
viewsA: What is the usefulness of the til operator in CSS?
There are 2 conditions of use of ~ Select all elements with an attribute containing a certain value: [attribute~=value] For example, [title~=flower], to select elements with the attribute title…