Objective-c is a highly dynamic message-based object-oriented language, superset of C, that is a primarily used for programming Apple's Mac OS X and iOS platforms.
3
votes
2answers
337 views
What is the most appropriate testing method in this scenario?
I'm writing some Objective-C apps (for OS X/iOS) and I'm currently implementing a service to be shared across them. The service is intended to be fairly self-contained.
For the current functionality ...
1
vote
1answer
174 views
Create an Objective-C category to route methods depending on a specified type
For one project, I needed to find a solution to avoid code like this:
if ([self.desiredColor isEqualToString:@"Red"])
[self constructRedMenu];
else if ([self.desiredColor ...
0
votes
1answer
85 views
Delegate method privately called from delegate itself?
One has established design patterns so ingrained in their brain, that when sometimes somebody does something unexpected, it is a revelation.
My colleague in an iOS project did call the delegate ...
1
vote
0answers
100 views
What are the bad points of using Core Data for iOS like an ORM
I just starting to use Core Data for my iOS app and I am thinking about how use Core Data for my needs.
What are the features of my app:
The user look for products proposed from a catalog.
The user ...
1
vote
0answers
109 views
Designing object oriented programming
Basically, I want to make api calls using an SDK I am writing.
I have the following classes:
Car
CarData (stores input values needed to create a car like model, make, etc)
Basically to create a ...
1
vote
0answers
91 views
Objective-C Lesson in Class Design
I have the following classes:
Teacher
Student
Class (like a school class)
They all extend from KObject that has the following code:
- initWithKey
- send
- processKey
Teacher, Student ...
0
votes
0answers
53 views
Approach to managing multiple services like Evernote, Google drive, dropbox in iOS
I'm trying to think up a scenario when I'd have three different forms of NSData (or whatever) to be sent to three different services like Evernote, Google drive, Dropbox. Granted, each of those has ...
0
votes
0answers
57 views
Manage the persistence of entities on iOS in several places: CoreData on the device, iCloud and on a REST API
For the needs of a project, I would persist the datas contained in Core Data in several places depending on the state of the user.
If the user is logged to my API -> Persist the datas on my API.
...
0
votes
0answers
60 views
Difference between class clusters and abstract factory in cocoa
I have read that Obj-C class clusters are an implementation of the abstract factory.
Can anyone explain if there are any differences between the 2 as design patterns. I read somewhere that there are ...
0
votes
0answers
66 views
How do I get fluid gesture motion in third party maps app on iOS?
There are a couple of apps on the App Store that use external map sources, for various reasons, to display map data. Some even have multiple sources for bike traffic and so on.
However some of them ...