Questions tagged [custom-object]

202 questions
0
votes
1 answer

Javascript object changing automatically?

I have the following code: var doneFile=convertToMOSTEM(curFile.file,curFile.color,curFile.importance); console.log('doneFile:'); console.log(doneFile); debugger; filesOS.add(doneFile); debugger; convertToMOSTEM returns a custom object. The…
markasoftware
  • 12,292
  • 8
  • 41
  • 69
0
votes
1 answer

Iphone Contact list. Sort TableView view alphabetically

Im making a IPHONE Phonebook app that has an array of contacts(objects). I am trying to sort this array so it displays the lastName in alphabetical order But nothing seems to work. I'm not sure where i would put my code in the…
0
votes
3 answers

WCF returning a custom object with a collection of custom objects containing streams

I don't know if this could be done, but I have a WCF service that should return a custom object, the object has a collection of another custom object that contains a stream. when I try to return this object I…
user186972
0
votes
2 answers

How do I return the default record type for an object, for any given user?

I have a custom object into which I want to add a new item and assign ownership of it to a user, which has been input via user input. The record type does not default to the appropriate value, based on ownership, so I need to return the default…
Flippsie
  • 472
  • 1
  • 7
  • 19
0
votes
1 answer

Objective c Custom Object Description Issue

I have some trouble logging custom objects. An Example with a DateObject Class: Header @interface DateObject : NSObject { NSString *month; NSString *day; NSString *year; } @property (nonatomic, retain)NSString *month; @property…
pmk
  • 1,897
  • 2
  • 21
  • 34
0
votes
1 answer

Use built-in "Follow" action with a custom object type

How can I achieve such a thing? I have a custom object type - for example, a Club. I want users of my app to be able to Follow a Club, which has a manager that posts general club updates, etc. The two approaches I can come up with are: A - Change…
colllin
  • 9,442
  • 9
  • 49
  • 65
0
votes
1 answer

SUBMIT custom object as POST vars to url?

So I have converted the values of a "completed" HTML form, to a custom DATA object to be made available to various js.functions, which may or may not update the values of said DATA object parameters before the object MAY, or may NOT ultimately be…
WallabyKid
  • 503
  • 2
  • 5
  • 16
0
votes
1 answer

how to see Custom 2D shape on both side in three.js

I'm new to three.js and 3d programming in general,I used the three.js draw a Sector,I can the object in one direction ,but i can't see it in the opposite direction,it seems that the three.js examplehere have the same phenomenon,how can i see the…
0
votes
1 answer

How to query all of my custom objects from a certain classname?

I'm working with Titanium and developing for iOS and I've come across a small problem, when I want to make a query for custom objects from a certain classname I'm only able to get the last 10 objects, this is how I make the…
Uriel Arvizu
  • 1,876
  • 6
  • 37
  • 97
0
votes
1 answer

how to fill a TableView with a single field from a Custom Object?

So I'm trying to fill a TableView with the values from a single field in an array of Custom Objects, but my TableView isn't being filled with the array I'm getting. This is my code: function SearchWindow(){ var self = Ti.UI.createWindow({ …
Uriel Arvizu
  • 1,876
  • 6
  • 37
  • 97
0
votes
1 answer

sorting custom object array on two fields

I'm sorting an array of custom objects (ListData[]) on two fields. I want it to be sorted by theme, and them by name. I thought i made a nice comparator in the custom object class and that i could use Arrays.sort(ld) to make my code working and…
Jasper
  • 2,389
  • 4
  • 25
  • 40
0
votes
1 answer

building array of custom objects causes nullpointerexception

Im declaring from a big list of custom, multiple level, objects (here called venueCounter) a simple array of custom objects, with just the information needed for filling a list. I do this because its easier to sort my list and create sections in my…
Jasper
  • 2,389
  • 4
  • 25
  • 40
0
votes
1 answer

Custom Objects and Storyboards

Are Custom Objects (the little orange cubes) still supported when using storyboards? Details: I was making a sample iOS App using storyboards and I added a custom object mapping a class which only had a button and a method for that button and I…
Samantha Catania
  • 5,116
  • 5
  • 39
  • 69
0
votes
1 answer

Passing a Custom Object, an NSObject sub - Class, with a Storyboard Segue

SimpleTest Object: my .h (header) code: #import @interface SimpleTest : NSObject @property (strong, nonatomic) NSString *tested; @end my .m code: #import "SimpleTest.h" @implementation SimpleTest @synthesize…
-1
votes
2 answers

Saving and retrieving a struct which is not codable to Userdefaults in Swift

I want to save a struct which can not be modified to UserDefaults in my code. I went through a number of solutions but everyone is advising to use Codable/NSCoding in the struct. I can not edit the struct. Does anyone have an idea how we can achieve…
iOSManiac
  • 139
  • 1
  • 11
1 2 3
13
14