Questions tagged [foundation]

Foundation is a framework written in Objective-C that implements many useful classes and functions. For the responsive front-end framework Zurb Foundation, please use the tag [zurb-foundation].

Foundation is a framework written in Objective-C that implements many useful classes and functions. Foundation is used by almost any Objective-C application, as it provides memory management and other runtime features, without the need to use the Objective-C runtime API directly.


References

Related Topics

Separate Topics

This topic is often confused with:

941 questions
0
votes
1 answer

NSDictionary objectForKey time efficiency

This is kind of an extension of one of my older questions, but when you call the selector objectForKey: for the NSDictionary is that an order one operation like it should be? Returning either a value associated with that key or nothing if the key…
rolling_codes
  • 15,174
  • 22
  • 76
  • 112
0
votes
2 answers

How to add form parameters to a NSURLSessionUploadTask

I need to upload a file to a server and the request has to specify some form parameters. How can I do this with the NSURLSessionUploadTask? In other words, how can I send a multipart POST request. cheers
Jan
  • 7,444
  • 9
  • 50
  • 74
0
votes
1 answer

SharePoint 2010 Foundation Update List Where clause

I need to update List A from a form submitted in List B, where B.username = A.username. I am used to using SharePoint 2010 Enterprise and some of the advanced tools that go with that, but right now I am stuck on 2010 Foundation. I don't know if I'm…
0
votes
0 answers

Special characters conversion from service in iOS

I am getting some data from response which includes some special characters. The text is in Chinese format. Here I have shown the special characters. Please have a look and advise me how to convert this to Chinese format. It is possible in android…
SURESH SANKE
  • 1,653
  • 17
  • 34
0
votes
2 answers

When to use NSMutableDictionary instead of NSMapTable?

NSMapTable seems like a much more powerful and flexible cousin of NSMutableDictionary. It can be configured to work in NSMutableDictionary (to copy keys and keep strong reference of value) In what circumstances should I not use NSMapTable?
Boon
  • 40,656
  • 60
  • 209
  • 315
0
votes
1 answer

Xcode command line tool for calculator

I want to make command line calculator using XCode/OSX application/Command line tool/Foundation type. In XCode, go to Products/Scheme/Edit Scheme. In this, we can add or delete command line arguments. These command line arguments are stored in…
user3575678
  • 115
  • 1
  • 9
0
votes
2 answers

Is it ok to store any Core Foundation type in NSMutableDictionary by casting it to id?

Is there any risk in storing any Core Foundation type in NSMutableDictionary by simple casting it to id?
Boon
  • 40,656
  • 60
  • 209
  • 315
0
votes
1 answer

Validating data and looping through NSSet

I have a CoreData (SQLite) datamodel in xcode like so: Friends Table email name username belongsToGroups Groups Table title peopleInGroup So the belongsToGroups and peopleInGroups is a many-to-many relationship with each other, both…
cdub
  • 24,555
  • 57
  • 174
  • 303
0
votes
1 answer

I have a bug when parsing an array of dates

I have an array with 900+ string objects... When i format this strings into dates, there is 1 date that can't be formatted, giving me a null value... i've tested in another blank Xcode project and it was bugged too.. Can anyone pls check if this is…
brbgyn
  • 411
  • 1
  • 3
  • 12
0
votes
3 answers

How to get a % difference of two NSStrings

I'm thinking this may be impossible to do resonably, but I figured I would take a shot at it. So lets say I have two NSStrings. One is @"Singin' In The Rain" and the other is @"Singing In The Rain". These strings are very similar, but have a small…
user2844801
  • 1,394
  • 2
  • 12
  • 20
0
votes
1 answer

SharePoint - document library items to list

What is best way to do this? I want to read all document library items to list and create direct link those documents. Or is it easier read documents to webpart, example to Listbox/DataGrid? Example: Document library MyDocument.doc MyList Link to…
user3172297
  • 47
  • 2
  • 7
0
votes
1 answer

Erratic memory behavior of Objective-C on x86_64

I came across a weird issue when testing my opensource project MHTextSearch. At line 169 of MHTextIndex.m: uint64_t maxLength = [indexedString maximumLengthOfBytesUsingEncoding:encoding]; // some code for (...) { [indexedString…
matehat
  • 5,214
  • 2
  • 29
  • 40
0
votes
1 answer

Strange Issue arising while removing object from NSMutableArray

I am initializes NSMutableArray with 4 object.Then I am adding 2 more object in it after the first index. Then I am deleting that two new added objects. From theory it is clear that after all operation i will get the original array back that i have…
Mihin
  • 320
  • 1
  • 15
0
votes
2 answers

Understanding application flow of iOS 7 apps. What happens on launch?

I'm new to Objective-C and iOS programming. I've read through a few of Apple's "Getting Started" docs and I've downloaded a few sample applications to try and get familiar with what is going on in the app. What I'm confused about is what exactly…
jordan
  • 9,570
  • 9
  • 43
  • 78
0
votes
2 answers

Copy object at specific index of mutable array to the end of another array

I have a mutable array that has a range of numbers (that are changed dynamically later on if that helps), I grab a random number's index from that array and want to stick it in another array (also mutable). I'm not sure how to grab the object at a…
blindman457
  • 293
  • 1
  • 11