NSChat

Rules → spiff.io/nschat.rules —  Discussion for iOS and OS X ...
Oct 30, 2015 14:59
never mind... I found it...what a day this is going to be! :-{
Oct 30, 2015 14:59
how do I end this and leave the room? used to be a dropdown, but no more...
Oct 30, 2015 14:58
/leave
Oct 30, 2015 14:58
/quit
Oct 30, 2015 14:50
Morning everybody... is anybody having problems renaming objects in XCode 7?
Mar 2, 2015 16:57
what the hell... I'm just going to list them out... have a good day everybody... SD
Mar 2, 2015 16:51
so, what about using a dictionary to pass the multiple (6) arguments to the called method in the category? or should I just string them out in the calling sequence?
Mar 2, 2015 16:49
oh... sorry, have no idea
Mar 2, 2015 16:39
@Guilherme what's a "smart banner"? do you mean iAd banner?
Mar 2, 2015 16:37
here's the complete details: stackoverflow.com/questions/28802910/…
Mar 2, 2015 16:36
I don't know why there is no addressability... I thought categories had access to everything in the parent (for lack of the proper nomenclature)
Mar 2, 2015 16:35
hmmm... I have some labels on a Storyboard scene that I fill by doing some screen scraping... the category doesn't have addressability to it's VC, so when I call the code in the category, I need to pass the address of the labels so I can fill them. (Hope that makes sense).
Mar 2, 2015 16:32
@MichaelDautermann how u b? long time, no chat with! say, while I have your attention, to answer my own question above, is it good practice to put many objects in a dictionary and then pass that dictionary to a method in a category?
Mar 2, 2015 16:24
FWIW, I always use a connected outlet... as long as you have accessabiltiy to it
Mar 2, 2015 16:16
habit, rather than use a period (I'm OLD school) :D
Mar 2, 2015 16:15
Looks good to me...
Mar 2, 2015 16:12
@Rage nope... they are in the header and are imported in the category
Mar 2, 2015 16:11
heavily!
 
Oct 29, 2015 14:40
I figured it out... please make your comment the answer so I can award the bounty... and thanks for your help...
Oct 28, 2015 23:50
I'll catch up with you in the morning (U.S. Pacific Time)... I have tried everything I can think of, and am unable to get the data out of dataReturned. It looks like an array of elements within a single array... I've looked all over the web and found nothing like it... I got the data into the record... now how do I get it out?
Oct 28, 2015 22:33
How do I get each element out of dataReturned?
Oct 28, 2015 22:33
NOTE: the line NSLog should not end with [0,1], but rather [0];
Oct 28, 2015 22:32
aStaffPos1 = Kellie;
aStaffPos10 = "";
aStaffPos11 = "";
aStaffPos12 = "";
aStaffPos2 = Dakota;
aStaffPos3 = Lori;
aStaffPos4 = "";
Oct 28, 2015 22:32
and here is what is being returned in dataReturned:
Oct 28, 2015 22:30
OK...here is what I have for code (which apparently is not correct!)
// check for most recent flag
NSPredicate *predicate = [NSPredicate predicateWithFormat:@"aMostRecentFlag == %@", [NSNumber numberWithInteger:0]]; // find old records
// NSArray *dataReturned = [PreferenceData MR_findFirstWithPredicate:predicate inContext:defaultContext];
NSFetchRequest *fetchRequest = [PreferenceData MR_requestAllWithPredicate: predicate];
[fetchRequest setResultType: NSDictionaryResultType];
NSArray *dataReturned = [PreferenceData MR_executeFetchRequest:fetchRequest];
Oct 28, 2015 22:15
Hmmm... I can't access the data that is returned from the fetch... I'm going to use MR_Findall and as I said, hope all of the attributes are in the correct order...
Oct 28, 2015 22:09
Screw it! I'm going to change the fetch to return the array, and hope that CD returns it in the correct order... tired of messing with this!! :={
Oct 28, 2015 22:07
yea, but it's not... let me try to use an index on the returned PFArray and see if I get the right value... brb
Oct 28, 2015 22:03
This is what's now being returned after I fixed the predicate: a PFArray that looks like this:
aShopCloses = 2000;
aShopOpens = 900;
aStaffPos1 = Kellie;
aStaffPos10 = "";
aStaffPos11 = "";
aStaffPos12 = "";
aStaffPos2 = Dakota;
aStaffPos3 = Lori;

which is want I want, yes?
Oct 28, 2015 21:54
As a rule, does CD return the attributes for an entity in the order they are listed in xcdatamodel?
Oct 28, 2015 21:54
Not sure that would get me the correct object; that's why I use a flag which I set in the app, which is guaranteed to give me the record I need. Again, I can't figure out how to get the attributes by name because I'm concerned that they might not be in the order of the CD store.
Oct 28, 2015 21:54
I want the one (1) record that is the latest record; it contains all of the settings the user made. My problem is/was that I can't figure out how to get the data out of the array so it matches the order of the attributes in the entity... solve that and I'm one happy camper!
 
Aug 4, 2015 00:07
I really appreciate the constructive comments... talk to you later Madness... bye
Aug 4, 2015 00:07
Thank you both so much... I think you saved my bacon! re: Portland... been there once, very cloudy... thanks Marcel... I
Aug 4, 2015 00:05
@Madness not familiar with chat requests... where do I get more info on that?
Aug 4, 2015 00:05
@Mad
Aug 4, 2015 00:05
or better Q, are you guys going to be around for help if I need it? I would really appreciate it...
Aug 4, 2015 00:04
OKey-Dokey... I'm going to look at in depth tonight and tomorrow and start... is oscommerce a tag in SO?
Aug 4, 2015 00:03
I have to display her products, with prices and a add to cart button...
Aug 4, 2015 00:02
oh...lol...
Aug 4, 2015 00:02
"ah no" what?
Aug 4, 2015 00:01
OK... just looked at it... two questions: where do they get their financial support (ie do I have to host it on their site) and 2) without looking at it in depth, can I have multiple web pages, or does it incorporate into my current code?
Aug 3, 2015 23:59
ahhh... that sound like I could use it... give me a minute to check it out... brb
Aug 3, 2015 23:57
I can use whatever I want, preferrably for FREE since she is not going to pay for code, only my time!
Aug 3, 2015 23:56
yea it has missing pieces... like detailed documentation!
Aug 3, 2015 23:56
So how do I clean/fix this mess so it works like it's supposed to? I asked the support staff at QnE (Quick n Easy Web Buidler) but they don't help with code... nice huh?
Aug 3, 2015 23:54
No javascript... it's html, css and php... it's really a crappy program, crashes alot, but all I could find for a quick and dirty eCommerce site generator.
Aug 3, 2015 23:54
Session email is set...
Aug 3, 2015 23:54
So how do I fix this so it works properly? You want the HTML for the form, cause I gave you the HTML for the page...