-com.apple.CoreData.SQLDebug 1-3
- print all SQL queries called by Core Data-com.apple.CoreData.Logging.stderr 1-3
- needed alongside with theSQLDebug
from iOS 10+ because of new logging system, more on that in changelog
-com.apple.CoreData.SyntaxtColoredLogging YES
- probably syntax colored logging (not tried)-com.apple.CoreData.SQLiteDebugSynchronous 1
- preference controls some aspects of the SQLite store. See the "Configuring a SQLite Store's Save Behavior" section of the Core Data Programming Guide for details-com.apple.CoreData.SQLiteIntegrityCheck 1
- the SQLite store does extra integrity checking-com.apple.CoreData.MigrationDebug 1
- Core Data will log information about exceptional cases as it migrates data-com.apple.CoreData.ConcurrencyDebug 1
- preference enables assertions to enforce Core Data's multi-threading policy. It is a number, where i
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Foundation | |
import PlaygroundSupport | |
PlaygroundPage.current.needsIndefiniteExecution = true | |
DispatchQueue.main.asyncAfter(deadline: .now() + .seconds(3)) { | |
print("YOLO") | |
PlaygroundPage.current.finishExecution() | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//: A UIKit based Playground for presenting user interface | |
import UIKit | |
import PlaygroundSupport | |
class MyViewController : UIViewController { | |
override func loadView() { | |
let view = UIView() | |
view.backgroundColor = .white |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class ViewController: UIViewController { | |
override func loadView() { | |
super.loadView() | |
let view = UIView() | |
view.backgroundColor = .systemBackground | |
let scrollView = UIScrollView() | |
scrollView.translatesAutoresizingMaskIntoConstraints = false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
struct FavoriteNumber { | |
var number: Int | |
var isFavorite: Bool | |
init(_ number: Int) { | |
self.number = number | |
isFavorite = false | |
} | |
} | |
struct ContentView : View { |
I hereby claim:
- I am alirp88 on github.
- I am alirp88 (https://keybase.io/alirp88) on keybase.
- I have a public key whose fingerprint is 98AB E053 15AD 4068 F37B 052C DAE6 72CA 1A9A 044A
To claim this, I am signing this object:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
osx_image: xcode8.3 | |
language: objective-c | |
xcode_workspace: TestProject.xcworkspace | |
xcode_scheme: TestProject | |
before_install: | |
- gem install cocoapods # Since Travis is not always on latest version | |
- pod install | |
script: |