Questions tagged [ios]

Questions about issues that are specifically related to Apple's iOS operating systems (whether directly or indirectly).

Filter by
Sorted by
Tagged with
3 votes
2 answers
114 views

Is every page a new view?

I just started building an iOS app and wanted to get some feedback regarding views. I've got specs for Activity Page Activity Recording Activity Create Activity Save Each of the specs show a ...
Ken Barlow's user avatar
3 votes
2 answers
459 views

If I implement a web-service, how do I respond to POST requests with JSON?

I have to make a rather complex system for my diploma work. Logically it will consist of the following components: Database Web-service Management with web interface Client iOS application that will ...
Vladimir Stazhilov's user avatar
3 votes
1 answer
2k views

When should I use static variables with primitive types?

Recently I came across the question NSString: Why use static over literal? and in the comments arrived a new question. In Objective-C there some "special" types that are just maps to C primitives. ...
Felipe Cypriano's user avatar
3 votes
1 answer
1k views

Risks in giving out distribution cert/private key/provisioning profile to freelancer

Are there any risks in giving out distribution certification/private key/provisioning profile to a freelancer? The freelancer needs to build the binary for me to submit (I am okay with this because I ...
user34401's user avatar
  • 751
3 votes
1 answer
235 views

Has anyone had a positive experience using Google Analytics in their native iOS app?

I'm having a hard time finding reviews on Google Analytics for native iOS apps and I was hoping to find some programmers on here that have any experience with it. If so, how well did it work? Thanks ...
BeachRunnerJoe's user avatar
3 votes
1 answer
112 views

Need technical advice about passing data through UINavigationController

First of all a small introduction, im relatively new to Swift and to programming in general, been doing it for the last year and loving every and each new thing of this vast world. My post is about ...
ARams's user avatar
  • 33
3 votes
1 answer
64 views

How can I track who invited who to install?

After a user invites their contacts from within my app, I want to send the first user a notification "so and so installed the app, you can now connect with them." So when a user invites someone, I ...
Dingredient's user avatar
3 votes
1 answer
567 views

Class depends on too many classes

I am developing an iOS app and I am moving to a VIPER-like architecture. It looks like this: View--ViewModel--Router--ViewModel--View The difference from the VIPER is that I have have one global ...
charlag's user avatar
  • 131
3 votes
2 answers
648 views

iOS Best practice for handling model objects

There are different levels I'm asking this question at. Case 1: Let's think about the typical drill-down design. Say a table view controller has an array of custom objects, and tapping a cell will ...
funct7's user avatar
  • 162
3 votes
0 answers
61 views

Layer below Service and NetworkingManager to handle received data

I'm in the early stages of building a cryptocurrency tracking app for iOS and looking for a scalable design. My question specifically relates to the element of the app which retrieves data from an API ...
user3746428's user avatar
3 votes
0 answers
303 views

Core Data: is performing NSFetches in transient property code bad? Why?

In Core Data, we can put transient properties in our entity objects (or categories on our entities). These transient properties can calculate transient data based on actual entity properties. Is ...
occulus's user avatar
  • 602
3 votes
0 answers
346 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. If ...
Jean Lbr's user avatar
  • 179
3 votes
0 answers
386 views

Are Calls to a WCF Service via JSONP Secure?

I am looking at developing a complete HTML5/JS mobile app that can be deployed to Android, iOS and Windows platforms. I am using DevExtreme tools to help me do that. I already have a WCF service that ...
Ron's user avatar
  • 143
2 votes
4 answers
3k views

Is there any way to get faster app reviews? [closed]

I am trying to build a business around an iPhone app. The app will be our main sales channel, and being able to adapt the sales channel faster than the 9-10 days delay cause by the app review times is ...
David's user avatar
  • 4,429
2 votes
4 answers
461 views

In mobile games that work across android and iOS is game logic written twice?

I was playing one of my favorite games from Supercell, and I imagine it’s a rather complicated game, and it stems across the two main mobile platforms. My question is, do the developers write the ...
MZawg's user avatar
  • 423
2 votes
7 answers
2k views

What difference with Android when iOS is not open?

My question may seem silly, but, I've read in many Android books that the better part of Android is Android is open, and iOS is closed. But, from a programmer viewpoint, who cares about this point? ...
hqt's user avatar
  • 125
2 votes
3 answers
348 views

iPad app architecture with very large files

I am working on an iPad app. It needs to contain some very large files. I could put them into the app, but they would push it well over 20MB, which means that it would not be downloadable over the ...
William Jockusch's user avatar
2 votes
3 answers
564 views

iOS App Signing and Certificates

In order to sign an application for the Apple App Store, we need to create a certificate by saving a certificate request file from keychain and then upload it to the Apple store. I was wondering, ...
Abcd Efg's user avatar
  • 123
2 votes
2 answers
668 views

Testable design in Swift

I've been searching for so long about how to design testable classes in Swift but every information site just describe basic stuff like how to test, how to assert, why is testing good... My current ...
Christopher Francisco's user avatar
2 votes
2 answers
2k views

Should I create specific classes for JSON Objects or only use the container(Array/Dictionary) for accessing Data?

I'm using Foursquare to get a List of Restaurants nearby inside an iOS app. The Result is stored in an Array which consists of Dictionaries and regarding how deep the Data is, each Dictionary contains ...
twickl's user avatar
  • 123
2 votes
3 answers
335 views

Best practice for feature flagging in mobile apps while avoiding incomplete functionality?

I'm wondering how best to handle the scenario of releasing a mobile app that includes an incomplete feature behind a feature flag in one version and then the completed feature behind the flag in a ...
H K's user avatar
  • 193
2 votes
4 answers
580 views

Difference between the two enums

I came across an enum definition :- typedef enum NSInteger { kBorderTypeNone = 0, kBorderTypeLeft = 1 << 0, kBorderTypeRight = 1 << 1, kBorderTypeTop = 1 << ...
TryinHard's user avatar
  • 273
2 votes
4 answers
1k views

What is the proper way to store an object with many attributes in Objective-C?

I have an object that I am downloading over HTTP, that has approximately 50 attributes. What is the proper way to store this information in Objective-C? Should I have an NSObject with a property for ...
Lenny K's user avatar
  • 123
2 votes
4 answers
1k views

Strategy for avoiding duplicate object ids for data shared across devices using iCloud

I have a data intensive iOS app that is not using CoreData nor does it support iCloud synching (yet). All of my objects are created with unique keys. I use a simple long long initialized with the ...
rmaddy's user avatar
  • 148
2 votes
2 answers
106 views

Apple subscription for customer

When developing an iOS application (freelance) for a customer, how do you handle the iOS Developer Subscription? On the one hand, I have no problem submitting the app using my own subscription. On ...
egil's user avatar
  • 485
2 votes
2 answers
5k views

Would knowing Python help with creating iPhone applications?

Here is what the apple site says: With Snow Leopard, Mac OS X makes it easy to use scripting languages as full application development tools. Snow Leopard ships with support for the ...
Josh's user avatar
  • 343
2 votes
5 answers
3k views

What are the reasons to create UIView subclass?

I've noticed that there are a lot of UIView subclasses in my legacy project. Mostly the only reason of such a subclass is to split bigger view into custom subviews and provide layout for its subviews ...
Denis Mikhaylov's user avatar
2 votes
2 answers
577 views

Which one is more efficient; a subclass of UITableViewController for multiple purposes or multiple sub classes each for a purpose?

Say I have two views (Table View for example) that I'd like them to do different stuff; each loads different data but behaviors are similar for most par except what happens when a cell tapped for ...
TheeBen's user avatar
  • 123
2 votes
1 answer
5k views

Can Kalman Filter make GPS data more accurate?

I'm trying to improve indoor gps accuracy in ios application. Do people apply such filters to gps data in different apps which track your position? I have 10-20 meters error indoors when using raw ...
Misho Metreveli's user avatar
2 votes
2 answers
2k views

PHP MVC as backend for iOS app

So, essentially, the question is, to develop a PHP back-end to an iOS application, would you implement an MVC architecture on the PHP side? Or no, since the client side (iOS) already has an MVC ...
fizzy drink's user avatar
2 votes
1 answer
2k views

Performance of Class methods vs singleton instance methods

In my app, I'm using both strategies: I have a Utils class, it only has class methods that I call for doing common global methods, like NSString validation, etc. I have an app-wide singleton class ...
Dhiraj Gupta's user avatar
2 votes
3 answers
302 views

Reliable secure data exchange between service written on .NET and an iOS client app

I have a service written on .NET working on a company server. It designed to do a very simple thing, to receive a request via WCF named pipes from another service working locally on the same server, ...
user3223738's user avatar
2 votes
2 answers
7k views

Can XCode work with TFS?

We have been using Team Foundation Server (TFS) for source code management of our solution which contains components for a number of platforms - asp.net, windows & android so far. We now wish to ...
GBH's user avatar
  • 391
2 votes
2 answers
2k views

Is there a download limit to ios apps?

With reference to iOS 7. I couldn't find any Apple documents with regards to this. Are we able to download any size of documents and manage them ourselves (within our app say < 100MB)? Example, we ...
resting's user avatar
  • 319
2 votes
1 answer
167 views

Correct Design Choice for Maintaining "static" View Across Multiple Controllers?

First, I am not sure if I'm asking this within the correct Stack Exchange community, so if this question belongs somewhere else, please let me know. It didn't seem appropriate for Stack Overflow. I ...
Gthoma2's user avatar
  • 123
2 votes
1 answer
2k views

Can Qt desktop programs be recompiled for Android/iOS as-is?

One of the advantages of open-source programs is that they can be ported easily to any platform simply by recompiling. Qt is also a cross-platform toolkit that can work on several platforms simply by ...
9a3eedi's user avatar
  • 2,099
2 votes
1 answer
1k views

Does my use of the strategy pattern violate the fundamental MVC pattern in iOS?

I'm about to use the 'strategy' pattern in my iOS app, but feel like my approach violates the somehow fundamental MVC pattern. My app is displaying visual "stories", and a Story consists (i.e. has @...
Goodsquirrel's user avatar
2 votes
2 answers
788 views

Weird UIView transforms in Retina iPhone

I'm having a problem I don't understand. I'm developing an OpenGL app for iOS. Because at some points I want to force the orientation of the view programatically, and Apple for whatever reason doesn't ...
ggambetta's user avatar
  • 1,214
2 votes
1 answer
348 views

Should I open Source my iOS application?

I developed an iOS application as a student and I am currently distributing it for free in the app store. I have received a few enquires about adding features to the app including one person who would ...
Kara's user avatar
  • 121
2 votes
2 answers
416 views

How do we set a link to a Paid version of app if we don't have the app in App Store ?

If we don't have the free and the paid apps on the Apple app store yet, how would we program in the free version to link to the paid version because the link is not there yet? Do we have to have a ...
nonopolarity's user avatar
  • 1,827
2 votes
2 answers
1k views

The model to sell apps on App Store is better with a paid only version?

Rob Napier, the author of iOS 5 Programming Pushing the Limits, mentioned there are several models of selling apps on the App Store: Write an app and sell it Publish a free and a full version Ad ...
nonopolarity's user avatar
  • 1,827
2 votes
1 answer
119 views

iOS Resources/Luminaries? [closed]

In the .NET world, I was able to find several industry figures or luminaries' blogs to read or to follow on twitter to learn about features and trends. Moving into the iOS realm, I'm kind of ...
Dave's user avatar
  • 129
2 votes
1 answer
2k views

Do I need to buy individual ios developer subscriptions for the members of my team, if I have a company subscription?

My guess is I have to, and if I do, I'll buy them while the company license is under review.
user22418's user avatar
2 votes
1 answer
54 views

Review: Technique for building a timeline to trigger events at points on that timeline

I am thinking through some techniques where by I have an application with a timeline. The timeline plays in real time and at points on that timeline I would like to trigger some actions. There are no ...
AJ Venturella's user avatar
2 votes
2 answers
7k views

Build a realtime chat app which stores messages in a MySQL database

I'm thinking of making a realtime chat app that would allow me to store user messages into a MySQL database. So far these are the two ideas I have. 1) Create and API which the message is sent to and ...
ThatOneQuestionn's user avatar
2 votes
1 answer
306 views

MVVM, example of use in iOS

I have a view controller with a mapview (Apple Map), on top of that there is a view with a button and a textfield. The view is compacted around the search button, when I touch it it expands revealing ...
AR89's user avatar
  • 133
2 votes
2 answers
100 views

Should I provide as less optional size app icons as possible?

When submitting an app (especially iOS and android), there are some different size of app icons need to add into the app. Among of them, some sizes are optional, is it a good practice that I just ...
ggrr's user avatar
  • 5,775
2 votes
1 answer
1k views

How to avoid repeating a condition in methods that use it differently?

Let's say I have an app that displays details for a person. Each person can have zero or more phone numbers and zero or more notes attached to it. Thus, I have a Core Data entity Person with one-to-...
phi's user avatar
  • 433
2 votes
1 answer
2k views

iOS bluetooth development: mimicking the SPP profile

I need to interface a custom device with bluetooth 2.1 (it has the RN-42 chip), with an iPhone and iPad. The device uses the Bluetooth SPP profile. From my research it appears that iOS supports ...
user27065's user avatar
2 votes
1 answer
66 views

Performance and data retrieving

I'm currently developing a mobile application in Objective C for iOS devices. While doing the application I reach the point where I have to retrieve data from a database and show it on a table (the ...
Hugo Assanti's user avatar

1 2 3
4
5
9