tabbar table view navigation xcode 4 - xcode

I've used the following tutorial: http://www.youtube.com/watch?v=LBnPfAtswgw to make an application with Tabbar and TableView Navigation.
I am using Xcode 4 and I am pretty sure I've done everything right but everytime I click on the tab item which has the TableView, it crashes and I get:
"#synthesize booksArray; Thread 1: Stopped at breakpoint 4"
There is no further specifics, no other mistakes and when I "run for build" it says "no issue".
Could someone help me?

You have a breakpoint set- it's a bookmark looking thing on the left side of your editing pain. Drag it away and it will be destroyed.

Related

How do you make a button automatically press without user interaction in Swift Cocoa

This sounds like a weird question, but I am using Swift 2.0 and Xcode to create a cocoa app, and I have a popover linked to an invisible button. I wan't to activate it so it pops up after the user has been on the page for a little while. I have a timer set, but I can't figure out the code to get the button to actually activate at that time, so that the popover will show. I am using a button so I can have an access spot for the popover to show at.
Right now, if you click the (invisible) button, everything shows perfectly. However, I need the click to activate programmatically. I would really appreciate any help!
Thanks!

Thread 1: breakpoint 7.3 Xcode 7 swift

After I open a certain page of my app, it crashes on the simulator, and shows an error "Thread 1: breakpoint 7.3" in Xcode. When I open this page, it won't even call the viewDidLoad() method... My best guess is that the problem arises from the storyboard because I was trying to implement a search bar before I screwed things over and all the code was working fine. Any suggestions would be helpful
You must have set the breakpoint by mistake.
Breakpoints are useful for debugging. But if you dont require it, you can do one of the follwing
1) you can hit Cmd + Y and rerun project, this will deactivate your breakpoints but won't delete it.
2) Or you can go to project navigator, and click breakpoint navigator and delete all breakpoints
3) You can also see the blue mark on the left side of your code (main editor), that is a breakpoint itself, you can click (two finger click) on the blue breakpoint and delete it.

UnlockFocus called too many times console message when showing a popover by storybard segue

I have a 'Bevel' style button in OSX app. When pressing it, it opens a popover by a segue. No coding yet, just storyboarding. I have not written any lines of code according to it yet, no code behind.
When pressing the button first time the following message appears in XCode console:
unlockFocus called too many times. Called on
The popover itself appears in the right way.
Later clicking the button I don't get this message.
What can be the problem? Very strange.
Thanks
Try to call
NSGraphicsContext.saveGraphicsState()
before the popup opens.

Xcode is giving me some Thread 1 error, and iOS Simulator is crashing

Whenever I try to run my project (in Xcode 4.6.3), it launces the iPhone Sim., the 'screen' on it goes black, and Xcode displays this same exact thing every time
If anything else such as code of the XIB's I'm using**, I would be more than happy to provide those. Thanks!!
**XIB's I'm using ---- whenever I try to link a button to a view controller (in a .storyboard file) it won't link. I two finger click (right click) and drag, usually, the view controller I want to link will be highlighted in blue, and then I am able to just tap it in the Sim., and it will do a quick animation to the next VC. But it the VC I'm trying to link it doesn't even get highlighted. Once again, I'm running Xcode 4.6.3. Thanks again!!
The picture in your comment says that it crashes when trying to set a key (admissionsButton) for your ViewController object that doesn't exist. This could happen if you deleted a property in code but the IB link still remained. If you open up IB and go to your view controller, expand the utilities window (the right sidebar) and then go to the far right option that shows connections. If there is something there that says admissionsButton, try deleting it.
In order to give you more help than that, I would need to see a more detailed log of where the crash happens.
That message could be for anything during the execution of your code. I would use breakpoints from the moment of launch and step through it using the debugger window.

Showing FlipviewController crash in XCode 4 debugger

My app has 2 views that are shown as flipview when a button is pressed. They are working just fine on any testdevice.
But in XCode, one of them is causing a crash (bad_exec) to the return of the main method when he is displayed. The crash happens outside of any of my functions.
Ok, bad_exec means, I have anything that is trashing/deallocating or corrupting the memory.
But why does it just happen in the iPhone 4.2 simulator under xcode 4?
No Zombies do fire, nor do I overwrite/deallocate anything when he the view is displayed.
Any idea whats going on?
Added stack.
Full resolution here: http://www.codebaker.de/OddCrash.png
Changed to stack only
Copy Paste the stacktrace, look at the selection on the laft, it's a shortened stack trace, you can select and copy it:
You can find the stacktrace here, click on the field right to Thread 1 on the bar which divides the editor and the lower pane:

Resources