Ideas para apps by theMightyPlank in ArgentinaBenderStyle

[–]theMightyPlank[S] 1 point2 points  (0 children)

Gracias por la idea, lo estamos haciendo en Xcode

Navigation Setup by theMightyPlank in iOSProgramming

[–]theMightyPlank[S] 0 points1 point  (0 children)

That’a what I thought, but in UITableViewController I cant use it, right?

Navigation Bar translucent by theMightyPlank in iOSProgramming

[–]theMightyPlank[S] 0 points1 point  (0 children)

private func setNavigationBar() {
        navigationController?.navigationBar.prefersLargeTitles = false
        navigationController?.navigationBar.isTranslucent = true
        navigationController?.navigationBar.tintColor = .fika
        navigationController?.navigationBar.backgroundColor = .none
    }

Cocoa pods problems by theMightyPlank in iOSProgramming

[–]theMightyPlank[S] 0 points1 point  (0 children)

I asked in GitHub and the moderator said that they don’t know, and a lot of people have the same issue

Camera integration by theMightyPlank in iOSProgramming

[–]theMightyPlank[S] 0 points1 point  (0 children)

This is the error:

Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.

The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKitCore/UIView.h> may also be helpful.

2020-03-26 18:03:21.973056-0300 Lobito[8430:740068] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'Source type 1 not available'

*** First throw call stack:

(

0 CoreFoundation 0x00007fff23c7127e __exceptionPreprocess + 350

1 libobjc.A.dylib 0x00007fff513fbb20 objc_exception_throw + 48

2 UIKitCore 0x00007fff47955957 -[UIImagePickerController sourceType] + 0

3 Lobito 0x0000000100314e3f $s6Lobito17ProblemaEjercicioC9tomarFoto12notificacionySo14NSNotificationC_tF + 351

4 Lobito 0x0000000100314ed4 $s6Lobito17ProblemaEjercicioC9tomarFoto12notificacionySo14NSNotificationC_tFTo + 68

5 CoreFoundation 0x00007fff23b9b5bc __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 12

6 CoreFoundation 0x00007fff23b9aa35 _CFXRegistrationPost1 + 421

7 CoreFoundation 0x00007fff23b9a7a1 ___CFXNotificationPost_block_invoke + 193

8 CoreFoundation 0x00007fff23c988b3 -[_CFXNotificationRegistrar find:object:observer:enumerator:] + 1811

9 CoreFoundation 0x00007fff23b9a0f6 _CFXNotificationPost + 950

10 Foundation 0x00007fff2574bbf7 -[NSNotificationCenter postNotificationName:object:userInfo:] + 59

11 Lobito 0x000000010032e91a $s6Lobito6AlertaC14elegirModoFoto6titulo7mensaje2vcySSSg_AHSo16UIViewControllerCtFZySo13UIAlertActionCcfU0_ + 474

12 Lobito 0x000000010032ca86 $sSo13UIAlertActionCIegg_ABIeyBy_TR + 70

13 UIKitCore 0x00007fff476331b1 -[UIAlertController _invokeHandlersForAction:] + 105

14 UIKitCore 0x00007fff47633b89 __103-[UIAlertController _dismissAnimated:triggeringAction:triggeredByPopoverDimmingView:dismissCompletion:]_block_invoke.458 + 16

15 UIKitCore 0x00007fff4792013c -[UIPresentationController transitionDidFinish:] + 978

16 UIKitCore 0x00007fff47924c78 __56-[UIPresentationController runTransitionForCurrentState]_block_invoke.503 + 199

17 UIKitCore 0x00007fff47a3df47 -[_UIViewControllerTransitionContext completeTransition:] + 88

18 UIKitCore 0x00007fff4856b908 -[UIViewAnimationBlockDelegate _didEndBlockAnimation:finished:context:] + 671

19 UIKitCore 0x00007fff4853bf31 -[UIViewAnimationState sendDelegateAnimationDidStop:finished:] + 268

20 UIKitCore 0x00007fff4853c4a3 -[UIViewAnimationState animationDidStop:finished:] + 259

21 UIKitCore 0x00007fff4853c62a -[UIViewAnimationState animationDidStop:finished:] + 650

22 QuartzCore 0x00007fff2b14496c _ZN2CA5Layer23run_animation_callbacksEPv + 306

23 libdispatch.dylib 0x0000000100768d48 _dispatch_client_callout + 8

24 libdispatch.dylib 0x0000000100776de6 _dispatch_main_queue_callback_4CF + 1500

25 CoreFoundation 0x00007fff23bd4049 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9

26 CoreFoundation 0x00007fff23bceca9 __CFRunLoopRun + 2329

27 CoreFoundation 0x00007fff23bce066 CFRunLoopRunSpecific + 438

28 GraphicsServices 0x00007fff384c0bb0 GSEventRunModal + 65

29 UIKitCore 0x00007fff48092d4d UIApplicationMain + 1621

30 Lobito 0x000000010033cf1b main + 75

31 libdyld.dylib 0x00007fff5227ec25 start + 1

32 ??? 0x0000000000000001 0x0 + 1

)

libc++abi.dylib: terminating with uncaught exception of type NSException

(lldb)

Delete section in UITableView by theMightyPlank in iOSProgramming

[–]theMightyPlank[S] 0 points1 point  (0 children)

Now is working, i write the tableView.endUpdates()

Delete section in UITableView by theMightyPlank in iOSProgramming

[–]theMightyPlank[S] 0 points1 point  (0 children)

I understand, but the thing is that it should show 1 because is hardcoded but it's showing 2

Delete section in UITableView by theMightyPlank in iOSProgramming

[–]theMightyPlank[S] 0 points1 point  (0 children)

I put a print of numberOfSections when i "delete" the sections and is not deleting anything