Questions tagged [custom-object]
202 questions
1
vote
1 answer
Swift appending to an array with custom objects and sorting them
I am making a collection view that shows somebody their 'feed' which includes their compliments, likes, replies, and sent. I have an object named Feed which is made of an array of compliments, an array of likes, and array of replies, and an array of…

Levi K
- 573
- 1
- 4
- 23
1
vote
1 answer
C# Cast Enumerable.Iterator to known List
I have a method where I can only retrieve the object type at runtime. I tried to cast it to a list of known object, but I failed.
private string outputParamForListOrDict(IMethodReturn returnValue)
{
StringBuilder sb = new…

csamleong
- 769
- 1
- 11
- 24
1
vote
1 answer
UserDefaults Custom Object of Custom Objects
Part of my settings I want to save with UserDefaults.
I already found this solution here:
Save custom objects into NSUserDefaults
But I could not figure out how to save if I have custom objects in a custom object.
My classes look like this:
class…

PaFi
- 888
- 1
- 9
- 24
1
vote
1 answer
Storing and Retrieving Custom Object (ARC) Keeps growing memory
hoping someone might be able to shed some light on the issue.
I am retrieving an array of custom objects using NSCoding + NSUserDefaults, and every time I reload the view, the memory continues to grow.
Here is the code I use to retrieve the array…

McCadi
- 229
- 1
- 2
- 9
1
vote
1 answer
Access custom object in shared container in Swift
I'm making a custom keyboard, and I want to build an asset (specifically, a trie dictionary) in the container app and then access it when the keyboard extension launches via a shared container. To work up to that, I'm starting with this fairly…

asetniop
- 523
- 1
- 5
- 12
1
vote
1 answer
Using PowerShell to create a function that gets disk serial numbers on an array of computers
I'm currently trying to use PowerShell to create a function that would give me a list of computers and their diskdrive serial numbers. I need it to display in a hash table with 2 columns.
Here is my function so far. I thought that by creating…

J.Soule
- 13
- 2
1
vote
2 answers
how to parse json and fill it in model?
this is my json
[
{
"_id": "58b517e8dd7fe4a90fcadc44",
"isActive": false,
"balance": "$1,293.72",
"picture": "http://placehold.it/32x32",
"age": 38,
"eyeColor": "brown",
"name": "Finch Hayes",
"gender": "male",
…

abdul haziq
- 57
- 6
1
vote
0 answers
Extended (custom) arrayList of custom objects parcelable return size 0
It's one day work with no solution,
I would to passed data beetween activity, I implement Parcelable but from called activity I receive the ListFileMedia with a size=0.
When I mistake?
Class ListFileMedia (Extended of ArrayList)
public class…

mavors
- 21
- 1
1
vote
1 answer
Salesforce Apex SingleEmailMessage with Template to User not contact
Im trying to send an email in Apex with the SingleEmailMessage() function using an existing Template and connecting it with a custom object record.
mail = new…

owsata
- 1,105
- 1
- 11
- 24
1
vote
2 answers
How to use Retrofit2 + GSON -> Class with custom object?
I'm reading some of the another post inside stackoverflow, but I can't get it to work.
I have a data returned by the server, that has the next form:
SERVER RESPONSE
{
"userData": {
"username": "victor.javier",
"email":…

Víctor Martín
- 3,352
- 7
- 48
- 94
1
vote
1 answer
How to query a Custom Object that contains an array as a column in Quickblox
I am using Quickblox API for my application.I have created a Custom Object (which is a table in Quickblox terms) and having some columns. Quickblox allow to create a column of type Array, that can hold any one specific data type like array of…

Ajay Babu Singineedi
- 185
- 1
- 1
- 13
1
vote
1 answer
how to retrieve all the custom objects using Userid in quickblox ios
can anyone tell the way for retrieving all the custom objects created by the user using user id.Now when i am retrieving, i am getting all the records irrespective of who created.
Can anyone suggest me how to retrieve using userId.

Ajay Babu Singineedi
- 185
- 1
- 1
- 13
1
vote
1 answer
Accessing bound context in user controls code behind
Question is much like this question- just didn't pan out for me
So how do I access a Property on a WPF usercontrol bound via Parent's Xaml in, from the Controls Code behind?
PS: Other controls bound to Properties of the TowerBase model passed in are…

Pakk
- 1,299
- 2
- 18
- 36
1
vote
3 answers
How to post a custom user defined object to a url?
MyObject myobject= new MyObject();
myobject.name="Test";
myobject.address="test";
myobject.contactno=1234;
string url = "http://www.myurl.com/Key/1234?" + myobject;
WebRequest myRequest = WebRequest.Create(url);
WebResponse…

Vishal
- 12,133
- 17
- 82
- 128
1
vote
4 answers
js instance of custom object
I ran into a problem using instanceof in JavaScript:
var MyObject = function() {
var prop = {};
return prop;
}
var testObject = new MyObject();
console.log(testObject instanceof MyObject); // return false;
Instanceof returns Object…

Barudar
- 560
- 4
- 13