ios - Xcode 4: Creating a UIView xib, not properly connecting

I got into a similar state just today. It was very odd: I could attach any XIB (new or existing) to any already-existing ViewController class in the project, but I could not create a new ViewControll... Read More

xcode - GDB Vs LLDB debuggers

LLDB is part of the LLVM suite of tools that Apple is moving to, including Clang. There are tons of improved features, including improved performance. There's a quick intro for GDB users here: http:/... Read More

swift - Turning Firebase Analytics on on Xcode

I have found the answer on this alternative page of Google: https://firebase.google.com/docs/analytics/ios/start In Xcode, select Product > Scheme > Edit scheme... Select Run from the left menu.... Read More

ios - Could not insert new outlet connection: Could not find any information for the class named

Here are some things that can fix this (in increasing order of difficulty): Clean the project ( Product > Clean) Manually paste in @IBOutlet weak var viewName: UIView! // or @IBAction func viewTapp... Read More

iphone - How to set xcode version as default in my mac?

you could set the desired Xcode using this in the terminal: sudo xcode-select -switch <path/to/>Xcode.app also, for more info, click here... Read More

ios - delete lines between UITableViewCells in UITableView

Using Objective-C , we have: [self.tableView setSeparatorStyle:UITableViewCellSeparatorStyleNone]; for Swift 3 : self.tableView.separatorStyle = .none for Swift 2 : self.tableView.separatorStyle = UI... Read More

iphone - "Plain Style unsupported in a Navigation Item" warning with my customized Bar Button Item

I was able to remove these errors by manually editing the storyboard files and find the offending style="plain" entry on Bar Button items in the <navigationItem> element. Changed from: <barButtonItem... Read More

xcode - How to use genstrings across multiple directories?

One method would be: find ./ -name "*.m" -print0 | xargs -0 genstrings -o en.lproj xargs is a nice chunk of shell-foo. It will take strings on standard in and convert them into arguments for the next... Read More

How to find out how many lines of code there are in an Xcode project?

I see this floating around and use it myself: find . "(" -name "*.m" -or -name "*.mm" -or -name "*.cpp" -or -name "*.swift" ")" -print0 | xargs -0 wc -l... Read More