Post

Replies

Boosts

Views

Activity

Xcode copyright best practices
// // Name.swift // TargetName // // Created by Author on Date. // Copyright © 2023 bundle. All rights reserved. // Copyright from standart template looks like that. Is there any conventions about it? I mean - why you need to write exactly this text in every file? What is the minimum copyright information needed? For example maybe only Copyright © 2023 bundle. All rights reserved. enougth?
1
0
529
May ’23
Crash sectionHeaderTopPadding on iOS 14
Firebase logged crash Crashing on exception: -[UITableView setSectionHeaderTopPadding:]: unrecognized selector sent to instance 0x1589ca800 After checking code everywhere is call if #available(iOS 15.0, *) {    tableView.sectionHeaderTopPadding = 0.0 } Stack trace: Crashed: com.apple.main-thread 0 AppKit 0x3dda28 -[NSApplication _crashOnException:] + 372 1 AppKit 0x3dd70c -[NSApplication reportException:] + 588 2 AppKit 0x31f10 -[NSApplication run] + 792 3 AppKit 0x3878 NSApplicationMain + 1064 4 AppKit 0x2f2ad0 _NSApplicationMainWithInfoDictionary + 22 5 UIKitMacHelper 0x4e18 UINSApplicationMain + 1280 6 UIKitCore 0x2b1c UIApplicationMain + 164 7 TARGET 0x11358 main + 20 (AppDelegate.swift:20) 8 libdyld.dylib 0x18430 start + 4 Find out, that crash occures when using macbook with m1 processor.
3
0
1k
Oct ’21