Skip to main content

Questions tagged [objective-c]

This tag should be used only on questions that are about Objective-C features or depend on code in the language. The tags [cocoa] and [cocoa-touch] should be used to ask about Apple's frameworks or classes. Use the related tags [ios] and [osx] for issues specific to those platforms.

3 votes
1 answer
294 views

I have a C++ project which needs a few periodic timers. I have created a timer class for this project using Grand Central Dispatch. I tried using boost::asio, but ...
Virag Doshi's user avatar
2 votes
2 answers
297 views

I've written and used this code in my apps whenever needed to convert any Western Arabic numerals into Eastern Arabic (or better say, Persian/Farsi) numerals in any Persian text. It works fine as ...
Neeku's user avatar
  • 121
1 vote
3 answers
169 views

I often get into the dilemma of how to use string constants, this is the way I use now: ...
Nullable's user avatar
  • 133
5 votes
1 answer
1k views

Quick disclaimer. I've programmed Java for years but this is the first Objective C I've ever written. I've written some code which almost unfortunately works but frankly hurts my eyes with the number ...
John Williamson's user avatar
2 votes
2 answers
699 views

I trying to convert this C code for calculating distance from RSSI to Swift code. I try to do it by myself, but considering I'm beginner, I need help in how to do it. Here is C code: ...
Win Fan's user avatar
  • 23
2 votes
1 answer
89 views

I am working on a product-related app where the data model for a product attribute feels too heavy. But I can't split it into several small data models because they are all about goods. At present, ...
Nullable's user avatar
  • 133
5 votes
2 answers
654 views

I was messing around with GPU compute shaders the other day and created a Mandelbrot shader. Unfortunately, Metal doesn't support double-precision in compute shaders, so beyond a certain zoom level, I ...
user1118321's user avatar
-2 votes
1 answer
209 views

I am trying to learn Objective C and want to make sure I am following the proper practices/convention. I would very much appreciate advice on what to change/improve I also have some questions: when ...
Mumphus's user avatar
  • 113
4 votes
2 answers
1k views

I am converting an old Objective-C class into Swift. My actual question is at the very end after all of the code. Here is a cut-down version of the Objective-C class: DateInfo.h: ...
rmaddy's user avatar
  • 195
5 votes
1 answer
511 views

I have been developing a cross-platform game based on open C libraries (mainly glfw) with a direct focus on Windows development. The beginning of my programming career taught me familiarity in ...
dylanweber's user avatar
2 votes
1 answer
88 views

The User story is as follows: Users are allowed to get "verified", so other users know they have passed a background check. After tapping "get verified" button, or the "verification badge" ...
AnonProgrammer's user avatar
5 votes
1 answer
867 views

I'm using react native to build an iOS app, but have little to no experience in obj C or iOS development. The app I'm building has a bunch of content files that aren't user specific, will be ...
Ben's user avatar
  • 51
1 vote
2 answers
774 views

Multiple AFNetworking calls In a view controller. The code is very wield. I think , to negotiate with the server , and combine those into one url, instead of many urls. ...
dengApro's user avatar
  • 421
1 vote
1 answer
303 views

This is Objective-C and about Networking Request. Just set the AFNetWorking Manager and get method name from the method lists below (it is all Post request). The way we take now is quite weird. If ...
dengApro's user avatar
  • 421
0 votes
2 answers
594 views

I am deprecating iOS 9 on a project. One of the differences in the framework is that the openURL method has changed. iOS 9 - (BOOL)openURL:(NSURL *)url; iOS 10 ...
gprasant's user avatar
  • 101

15 30 50 per page
1
2 3 4 5
25