-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I'm a complete newbie when it comes to iOS programming and much less Core Data. It's rather non-intuitive for me, as I really came into my own with programming with MATLAB, which I guess is more of a 'scripting' language.
At any rate, my problem is that I had no idea what I had to do to create a…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I have problems, when i install app from Xcode all works but if I build app and install it from iTunes I have an error with the database at launch.
This happens only than i have changes in the core data model and need to migrate to a new version.
At first launch at crashes with message:
Thread 0:
0…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
My app makes updates in background thread then saves context changes.
And in main context there is a table view that works with NSFetchedResultsController.
For some time updates work correctly, but then exception is thrown.
To check this I've added NSLog(@"%@", [self.controller fetchedObjects]); to…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hello
Currently I have an entity named "Events" in a CoreData app. "Events" has one string property named "eventName".
In the -(void)viewDidLoad I am trying to Fetch all the "Events" objects and load their "eventName" by alphabetical order into a UIPickerView.
The ultimate end goal is through…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hi guys, long time reader, first time poster.
(A link to this schema is located here)
http://www.weeshsoft.com/pix/DatabasePic.jpg
I'm trying to get all LanguageEntries from a database for a given category.categoryName and languageset.languageSetName e.g.
NSFetchRequest* fetchRequest = [[NSFetchRequest…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I overused hashSets but it was slow, then changed to Stacks, speed boost-up. Poly's reply uses Collections.emptyList() as immutable list, cutting out excess null-checkers. No Collections.emptyStack(). Combining the words stack and immutability, from the last experiences, gets "immutable stack" (probably…
>>> More
-
as seen on Super User
- Search for 'Super User'
My iTunes 9.0.2 hangs on launch in OS X 10.6.2. This doesn't happen all the time, only if I've been running for a while. Then it will recur until I restart. Similarly Safari 4.0.4 will hang in the flash player plugin when about to play a video. If I restart both these problems go away until later…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I need to write a function par :: String -> Bool to verify if a given string with parentheses is matching using stack module.
Ex:
par "(((()[()])))" = True
par "((]())" = False
Here's my stack module implementation:
module Stack (Stack,
push, pop, top,
empty, isEmpty)
…
>>> More
-
as seen on Server Fault
- Search for 'Server Fault'
Hey All,
I'm trying to get a TDM400P card with FXO module to connect to our PSTN line. The card is correctly detected by Linux:
[trixbox1.localdomain asterisk]# lspci
00:09.0 Communication controller:
Tiger Jet Network Inc. Tiger3XX
Modem/ISDN interface
I've run setup-pstn which…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
In pthread, After reaching yellow zone in stack, signal handler stop the recursive function by making it return
however, we can only continue to use extra area in yellow zone,
how to clear the rubbish before the yellow zone in the thread stack ?
(Copied from "answers"):
#include <pthread…
>>> More